Skip to content

Instantly share code, notes, and snippets.

@bwann
Created April 26, 2016 19:15
Show Gist options
  • Select an option

  • Save bwann/ff75b97cdec1d55521babd1b0c0aff3b to your computer and use it in GitHub Desktop.

Select an option

Save bwann/ff75b97cdec1d55521babd1b0c0aff3b to your computer and use it in GitHub Desktop.

Revisions

  1. bwann created this gist Apr 26, 2016.
    38 changes: 38 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,38 @@
    18:34:35,606 INFO program: Running... grub-install --just-copy
    18:34:35,813 DEBUG program: Return code: 0
    18:34:35,816 INFO program: Running... grub --batch --no-floppy --device-map=/boot/grub/device.map
    18:34:36,295 INFO program:
    18:34:36,297 INFO program:
    18:34:36,297 INFO program: GNU GRUB version 0.97 (640K lower / 3072K upper memory)
    18:34:36,298 INFO program:
    18:34:36,299 INFO program: [ Minimal BASH-like line editing is supported. For the first word, TAB
    18:34:36,299 INFO program: lists possible command completions. Anywhere else TAB lists the possible
    18:34:36,300 INFO program: completions of a device/filename.]
    18:34:36,300 INFO program: grub> root (hd0,0)
    18:34:36,301 INFO program: Filesystem type is ext2fs, partition type 0x83
    18:34:36,302 INFO program: grub> install --stage2=/boot/grub/stage2 /grub/stage1 d (hd0) /grub/stage2 p (hd0,0)/grub/grub.conf
    18:34:36,302 INFO program: grub>
    18:34:36,303 DEBUG program: Return code: 0


    [anaconda root@localhost grub]# cat grub.conf
    # grub.conf generated by anaconda
    # Note that you do not have to rerun grub after making changes to this file.
    # NOTICE: You have a /boot partition. This means that all kernel and
    # initrd paths are relative to /boot, eg.
    # root (hd0)
    # kernel /vmlinuz-version ro root=/dev/sda1
    # initrd /initrd-[generic-]version.img
    boot=/dev/sda
    default=0
    timeout=5
    serial --unit=1 --speed=115200
    terminal --timeout=5 serial console
    title phildtest (2.6.32-573.22.1.el6.x86_64)
    root (hd0,0)
    kernel /vmlinuz-2.6.32-573.22.1.el6.x86_64 ro root=UUID=4c3843c3-8d99-44b4-8e3f-772bc4152761 selinux=0 biosdevname=0 net.ifnames=0 console=ttyS1,115200n8
    initrd /initramfs-2.6.32-573.22.1.el6.x86_64.img
    title phildtest-2.6.32-573.22.1.el6.x86_64 (2.6.32-573.22.1.el6.x86_64)
    root (hd0,0)
    kernel /vmlinuz-2.6.32-573.22.1.el6.x86_64 ro root=UUID=4c3843c3-8d99-44b4-8e3f-772bc4152761 selinux=0 biosdevname=0 net.ifnames=0 console=ttyS1,115200n8
    initrd /initramfs-2.6.32-573.22.1.el6.x86_64.img