[SOLVED] Grub Entry to boot via UUID

I'm trying to get my system booting by UUID but I am having issues with the grub entry as it won't boot. The following is the non uuid one that works:
# (2) Arch Linux
title Arch Linux sda5
root (hd0,4)
kernel /boot/vmlinuz-linux root=/dev/sda5 ro
initrd /boot/initramfs-linux.img
And below are the two that I have tried for uuid:
title Arch Linux by UUID (sda5)
uuid 857136db-0356-46bd-9fff-0126b575218b
kernel /boot/vmlinuz-linux root=UUID=857136db-0356-46bd-9fff-0126b575218b
initrd /boot/initramfs-linux.img
and
title Arch Linux by UUID (sda5)
uuid 857136db-0356-46bd-9fff-0126b575218b
kernel /boot/vmlinuz-linux root=/dev/disk/by-uuid/857136db-0356-46bd-9fff-0126b575218b
initrd /boot/initramfs-linux.img
Can someone point out which bit is wrong?
Thanks
Last edited by morphjk (2011-10-11 04:08:53)

Try:
title Arch Linux by UUID (sda5)
kernel /boot/vmlinuz-linux root=/dev/disk/by-uuid/857136db-0356-46bd-9fff-0126b575218b
initrd /boot/initramfs-linux.img
You may need the root   (hd0,4) line as well.  I think that is required to tell Grub where to find it's intermediate files.  It would go in front of the kernel line.
Edit:  I assume, of course, that your UUID is correct   You might check that.
Last edited by ewaller (2011-10-11 03:16:48)

Similar Messages

  • [SOLVED] Grub Problems Can boot Arch w/ grub edits only

    I had 3 Linux OS's installed on this computer, Arch and 2 versions of Ubuntu on one hard drive.
    The MBR belonged to Ubuntu, using grub2. I decided to get rid of the older Ubuntu (sda8 and 9) and add it's HDD space to my Arch home (sda12). Used the current Gparted live to modify the partitions and all went well, but of course, the numbers changed getting rid of 2 partitions.
    No boot upon restart so I decided to get Arch's grub back to the MBR with the new partition numbering scheme.
    Using a live CD, I used the grub shell, find /boot/grub/stage1.....etc, etc. and after a bit of fumbling, grub indicated success in the shell. When I was through though, a reboot was not successful, although the current stable grub was now written to the MBR.  I edited the lines using grub edit option, and got Arch to boot, and figured out the correct partition numbers. Next I edited the menu.lst to reflect the new sda numbers.
    Now rebooting results in a long delay when grub should be on the screen, and the numbers on the Arch entries reflect the old numbers still!! I double checked thinking I forgot to save the edits to the menu.lst file, but they are correct. I can boot Arch, but have to edit the lines each time.
    The current partitions are as follows. I edited the terminal output to show details.
    [jeff@Arch2009p2 ~]$ sudo fdisk -l
    Password:
    Disk /dev/sda: 750.2 GB, 750156374016 bytes
    255 heads, 63 sectors/track, 91201 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x000383e7
    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 91201 732572001 5 Extended
    /dev/sda5 1 255 2048224+ 82 Linux swap / Solaris
    /dev/sda6 (ubuntu /) 256 1471 9767488+ 83 Linux
    /dev/sda7 (ubuntu /home) 1472 22321 167477593+ 83 Linux
    /dev/sda8 (arch boot) 22322 22325 32098+ 83 Linux
    /dev/sda9 (arch /) 22326 23627 10458283+ 83 Linux
    /dev/sda10 (arch /home) 23628 91201 542788123+ 83 Linux
    I have a few questions regarding a separate boot partition for Arch.
    Should the grub> root (hd0.0) command be directed to the root or boot partition.
    My handy printed emergency guide says: Set grubs root device to the partition containing the boot directory.
    OK.....Writing it out now, it seems clear, so I'll try reinstalling grub from a live CD.
    Why does grub have incorrect partition numbers even though the menu.lst is correct?
    There are only 2 OS's on this box now, and one contains grub2.
    Is current grub able to interact with grub 2 if I screwed something up on the install?
    Last edited by jeff story (2010-05-24 20:05:06)

    OK
    I managed to fix the problem of grub not reading/using the menu.lst file. Not sure WTF it was reading and where that file was located!
    The problem seems to have been the most insignificant detail.
    When using the grub terminal, I did not execute the quit command when I was through. I just closed the terminal and rebooted.
    After repeating the following code via live CD a few times:
    $ sudo grub
    grub> find /grub/stage1
    grub> root (hd0,7)
    grub> setup (hd0)
    Grub still didn't read the current menu.lst.
    This morning I got things to work correctly and grub to read the current menu.lst by adding a quit command and returning to the linux shell prior to rebooting.
    I used the following commands:
    $ sudo grub
    grub> find /grub/stage1
    grub> root (hd0,7)
    grub> setup (hd0)
    grub> quit

  • [solved] - Grub - can't boot

    Hi everyone !
    I've read some stuff on the wiki on read many topic on the forum, but I can't solve my problem...
    Now, i'm on a Live Cd (mint) for fixed it.
    Disk
    I've got a 4 disk.
    My arch one
    -sda1 rfs 20 gb /
    -sda4 xfs 120gb /home
    -sda5 fat 6gb /partage - for quick partage with my windows, I've to try to found another R&W file system
    -sda6 swap 4gb
    My SSD win
    -sdb2 ext2 100mb boot - Yes, i know 100mb is too much
    -sdb1 ntfs - win ssd
    My win' home
    -sdbc
    My hard drive back up
    -sdd
    This the fdisk :
    Disk /dev/sda: 160.0 GB, 160040803840 bytes
    255 heads, 63 sectors/track, 19457 cylinders, total 312579695 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x17df17de
    Device Boot Start End Blocks Id System
    /dev/sda1 63 43552214 21776076 83 Linux
    /dev/sda3 293060720 312579694 9759487+ 5 Extended
    /dev/sda4 43552215 293060719 124754252+ 83 Linux
    /dev/sda5 * 293060783 304772104 5855661 83 Linux
    /dev/sda6 304772168 312579694 3903763+ 83 Linux
    Partition table entries are not in disk order
    Disk /dev/sdb: 128.0 GB, 128035676160 bytes
    255 heads, 63 sectors/track, 15566 cylinders, total 250069680 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x24880018
    Device Boot Start End Blocks Id System
    /dev/sdb1 * 206848 250068991 124931072 7 HPFS/NTFS/exFAT
    /dev/sdb2 * 63 206847 103392+ 83 Linux
    Partition table entries are not in disk order
    Disk /dev/sdd: 320.1 GB, 320071851520 bytes
    255 heads, 63 sectors/track, 38913 cylinders, total 625140335 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0xd1c3b656
    Device Boot Start End Blocks Id System
    /dev/sdd1 2048 625137663 312567808 7 HPFS/NTFS/exFAT
    /dev/sdd4 * 0 0 0 0 Empty
    Disk /dev/sdc: 640.1 GB, 640135028736 bytes
    255 heads, 63 sectors/track, 77825 cylinders, total 1250263728 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x72599e54
    Device Boot Start End Blocks Id System
    /dev/sdc1 2048 1250260991 625129472 7 HPFS/NTFS/exFAT
    /dev/sdc2 1250260992 1250263039 1024 7 HPFS/NTFS/exFAT
    /dev/sdc4 * 0 0 0 0 Empty
    Disk /dev/sde: 4009 MB, 4009754624 bytes
    64 heads, 32 sectors/track, 3824 cylinders, total 7831552 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x2d2040cf
    Device Boot Start End Blocks Id System
    /dev/sde1 * 0 1812479 906240 17 Hidden HPFS/NTFS
    Disk /dev/sde1: 927 MB, 927989760 bytes
    64 heads, 32 sectors/track, 885 cylinders, total 1812480 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x2d2040cf
    Device Boot Start End Blocks Id System
    /dev/sde1p1 * 0 1812479 906240 17 Hidden HPFS/NTFS
    So, I have a grub install on sdb2 and my arch install on sda1.
    My menu.lst is :
    The win chain is workin.
    # Config file for GRUB - The GNU GRand Unified Bootloader
    # /boot/grub/menu.lst
    # DEVICE NAME CONVERSIONS
    # Linux Grub
    # /dev/fd0 (fd0)
    # /dev/sda (hd0)
    # /dev/sdb2 (hd1,1)
    # /dev/sda3 (hd0,2)
    # FRAMEBUFFER RESOLUTION SETTINGS
    # +-------------------------------------------------+
    # | 640x480 800x600 1024x768 1280x1024
    # ----+--------------------------------------------
    # 256 | 0x301=769 0x303=771 0x305=773 0x307=775
    # 32K | 0x310=784 0x313=787 0x316=790 0x319=793
    # 64K | 0x311=785 0x314=788 0x317=791 0x31A=794
    # 16M | 0x312=786 0x315=789 0x318=792 0x31B=795
    # +-------------------------------------------------+
    # for more details and different resolutions see
    # https://wiki.archlinux.org/index.php/GRUB#Framebuffer_resolution
    # general configuration:
    timeout 10
    default 0
    color light-blue/black light-cyan/blue
    # boot sections follow
    # each is implicitly numbered from 0 in the order of appearance below
    # TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line.
    # (0) Arch Linux
    title Arch Linux
    root (hd0,1)
    kernel /vmlinuz-linux root=/dev/sda1 ro
    initrd /initramfs-linux.img
    # (1) Arch Linux
    title Arch Linux Fallback
    root (hd0,1)
    kernel /vmlinuz-linux root=/dev/sda1 ro
    initrd /initramfs-linux-fallback.img
    # (2) Windows
    title Windows
    rootnoverify (hd0,0)
    makeactive
    chainloader +1
    What I'm doing wrong ?
    I apologie for my english and trulley thanks you for any help.
    Last edited by Thom (2012-07-16 23:11:26)

    I make this choice for testing some fun file system for / and still have a fast boot.
    uuid sound a good idea :
    mint@mint ~ $ sudo ls -lF /dev/disk/by-uuid/
    total 0
    lrwxrwxrwx 1 root root 10 Jul 15 20:51 3A7437317436EEEF -> ../../sdb1
    lrwxrwxrwx 1 root root 10 Jul 15 2012 4bcd96bd-ee8f-4411-ba5c-a1d42e5bc44f -> ../../sda6
    lrwxrwxrwx 1 root root 10 Jul 15 20:53 6111e8b1-ba2d-427c-8d54-7a7b022aecbf -> ../../sda1
    lrwxrwxrwx 1 root root 10 Jul 15 20:53 ADA6-3C08 -> ../../sda5
    lrwxrwxrwx 1 root root 10 Jul 15 2012 C8745CE5745CD830 -> ../../sdd1
    lrwxrwxrwx 1 root root 10 Jul 15 20:53 d808df0a-49ac-4618-a934-0d2fe0470291 -> ../../sda4
    lrwxrwxrwx 1 root root 10 Jul 15 20:51 e9e0a468-7114-48da-9b6d-bacf1ceef13d -> ../../sdb2
    lrwxrwxrwx 1 root root 10 Jul 15 20:53 F22C0F1D2C0EDC8B -> ../../sdc1
    give me a new menu.lst (just for the first arch line)
    # (0) Arch Linux
    title Arch Linux
    root (hd0,1)
    kernel /vmlinuz-linux root=/dev/disk/by-uuid/6111e8b1-ba2d-427c-8d54-7a7b022aecbf ro
    initrd /initramfs-linux.img
    The first root (hd0,1) is for the "boot" ?
    the second root = dev/... is for the "/" ?

  • [solved] grub install fails /boot/grub is not readable

    virtualbox install
    single partition install (well, I have two partitions, #2 is / and #1 is the BIOS partition as defined in the install docs)
    when I get to the stage of installing grub, I use :
    grub-install --target=i386-pc --recheck /dev/sda
    which fails with
    Path '/boot/grub' is not readable by GRUB on boot. Installation is impossible. Aborting"
    it is ext4
    fstab looks correct. It shows one entry for
    /dev/sda1 / ext4
    I am not using UUID although when I did the result was the same.
    when run with debug, the problem is
    /usr/bin/grub-probe -t fs /boot/grub
    results in path no readable.
    when I run the grub-probe inside the chroot, I get error: unknown filesystem
    haven't had this before. This is the first time I've tried a GPT install.
    It is virtualbox 4.2.18
    I
    Last edited by timrichardson (2013-10-15 10:10:50)

    Ah, my mistake was an incorrect partition table back when I partitioned the disk. I did not make a partition table for GPT partitions.

  • (solved) Grub won't boot Vista

    Hi!
    Just installed Arch Linux and it is great. But after installing Arch I'm not able to boot Windowas Vista. I googled it and added Windows to /boot/grub/menu.lst. Now there is an entry for Vista, unfortunately the bootprozess fails.
    Vista is sda1 and I'm able to mount the partition. So it shouldn't be damaged.
    Grub says:
    Booting `Microsoft Vista'
    root (hd0)
    Filesystem type unkown, using whole disk savedefault
    Error 15: File not found
    Press any key to continue
    After running fdisk:
    Platte /dev/sda: 160.0 GByte, 160041885696 Byte
    255 Köpfe, 63 Sektoren/Spuren, 19457 Zylinder
    Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes
    Disk identifier: 0x28caa9e7
       Gerät  boot.     Anfang        Ende     Blöcke   Id  System
    /dev/sda1   *           1       11675    93773824    7  HPFS/NTFS
    /dev/sda2           11676       18941    58364145   83  Linux
    /dev/sda3           18942       19457     4144770   82  Linux Swap / Solaris
    # Config file for GRUB - The GNU GRand Unified Bootloader
    # /boot/grub/menu.lst
    # DEVICE NAME CONVERSIONS
    #  Linux           Grub
    #  /dev/fd0        (fd0)
    #  /dev/sda        (hd0)
    #  /dev/sdb2       (hd1,1)
    #  /dev/sda3       (hd0,2)
    #  FRAMEBUFFER RESOLUTION SETTINGS
    #     +-------------------------------------------------+
    #          | 640x480    800x600    1024x768   1280x1024
    #      ----+--------------------------------------------
    #      256 | 0x301=769  0x303=771  0x305=773   0x307=775
    #      32K | 0x310=784  0x313=787  0x316=790   0x319=793
    #      64K | 0x311=785  0x314=788  0x317=791   0x31A=794
    #      16M | 0x312=786  0x315=789  0x318=792   0x31B=795
    #     +-------------------------------------------------+
    #  for more details and different resolutions see
    #  http://wiki.archlinux.org/index.php/GRU … Resolution
    # general configuration:
    timeout   10
    default   0
    color light-blue/black light-cyan/blue
    # boot sections follow
    # each is implicitly numbered from 0 in the order of appearance below
    # (1) Windows
    hiddenmenu
    default 0
    timeout 1
    # (0) Arch Linux
    title Arch Linux
    root (hd0,1)
    kernel /boot/vmlinuz26 resume=/dev/disk/by-uuid/05aee231-ac3d-4a06-8b9e-d51242502eba root=/dev/disk/by-uuid/c38463d4-b802-419a-8255-771cbf290be6 ro
    initrd /boot/kernel26.img
    # (1) Arch Linux Fallback
    title Arch Linux Fallback
    root (hd0,1)
    kernel /boot/vmlinuz26 resume=/dev/disk/by-uuid/05aee231-ac3d-4a06-8b9e-d51242502eba root=/dev/disk/by-uuid/c38463d4-b802-419a-8255-771cbf290be6 ro
    initrd /boot/kernel26-fallback.img
    title Microsoft Vista
    root (hd0)
    savedefault
    chainloader +1
    makeactive
    Greetings and thanks in advance!
    hendrikalexander
    Last edited by hendrikalexander (2009-11-30 19:24:34)

    Remove the savedefault and see if you can boot into Vista
    I don't know if this makes a diffrenence but in the wiki makeactive comes before chainloader+1
    title Microsoft Vista
    rootnoverify (hd0,0)
    makeactive
    chainloader +1
    Last edited by M177ER (2009-11-30 19:16:09)

  • Grub entry to boot next bootable device

    Hi everyone,
    It's not really a newbie question, but I didn't found a better place to post.
    I would like to add an entry to my grub menu.lst that will just search for the next bootable device (CDROM, USB or Floppy) and boot it.
    So I would always boot on my hdd, and when I hit this option, boot for exemple my usb debian live if it is plugged, or a bootable cd.
    Is it possible?
    Last edited by k2000 (2010-10-24 16:30:40)

    Try:
    title Arch Linux by UUID (sda5)
    kernel /boot/vmlinuz-linux root=/dev/disk/by-uuid/857136db-0356-46bd-9fff-0126b575218b
    initrd /boot/initramfs-linux.img
    You may need the root   (hd0,4) line as well.  I think that is required to tell Grub where to find it's intermediate files.  It would go in front of the kernel line.
    Edit:  I assume, of course, that your UUID is correct   You might check that.
    Last edited by ewaller (2011-10-11 03:16:48)

  • [SOLVED] Grub won't boot into Arch...

    So, this all started when I got this wacky idea of trying Debian on a separate drive.
    Installs great, boots up and get a blank screen with blinky cursor..not in the mood to mess with it since I can't find
    a reasonable answer for what is wrong with it sooo I boot back into Arch but now I get Error device not found with a "Grub Rescue>" prompt.
    Not sure what to do now. I installed grub to the drive I was installing Debian on but it seemed to screw with my precious Arch too
    I looked around the forums for help but couldn't find anything.
    Also, it goes from post directly to the Grub Rescue prompt
    Last edited by PumpkinJack (2011-08-26 07:59:37)

    edit:
    ok here it is:
    # Config file for GRUB - The GNU GRand Unified Bootloader
    # /boot/grub/menu.lst
    # DEVICE NAME CONVERSIONS
    # Linux Grub
    # /dev/fd0 (fd0)
    # /dev/sda (hd0)
    # /dev/sdb2 (hd1,1)
    # /dev/sda3 (hd0,2)
    # FRAMEBUFFER RESOLUTION SETTINGS
    # +-------------------------------------------------+
    # | 640x480 800x600 1024x768 1280x1024
    # ----+--------------------------------------------
    # 256 | 0x301=769 0x303=771 0x305=773 0x307=775
    # 32K | 0x310=784 0x313=787 0x316=790 0x319=793
    # 64K | 0x311=785 0x314=788 0x317=791 0x31A=794
    # 16M | 0x312=786 0x315=789 0x318=792 0x31B=795
    # +-------------------------------------------------+
    # for more details and different resolutions see
    # https://wiki.archlinux.org/index.php/GRUB#Framebuffer_resolution
    # general configuration:
    timeout 5
    default 0
    color light-blue/black light-cyan/blue
    # boot sections follow
    # each is implicitly numbered from 0 in the order of appearance below
    # TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line.
    # (0) Arch Linux
    title Arch Linux
    root (hd0,0)
    kernel /vmlinuz-linux root=/dev/disk/by-uuid/6ab6f3ca-2c64-4264-97aa-10819e4561ed ro
    initrd /initramfs-linux.img
    # (1) Arch Linux
    title Arch Linux Fallback
    root (hd0,0)
    kernel /vmlinuz-linux root=/dev/disk/by-uuid/6ab6f3ca-2c64-4264-97aa-10819e4561ed ro
    initrd /initramfs-linux-fallback.img
    # (2) Windows
    #title Windows
    #rootnoverify (hd0,0)
    #makeactive
    #chainloader +1
    Last edited by PumpkinJack (2011-08-26 02:42:08)

  • [SOLVED] Grub refuses to boot Arch on a dual boot

    Hi,
    After hours of trying things out and searching the web for answers, I finally gave up and joined this helpforum.
    I found several similar topics, but none seemed to work.
    So here's the deal.
    My HDD looks like this
    sda1 (/boot)
    sda2 (Windows7, bootflag)
    sda3 (/swap)
    sda5 (/)
    sda6 (NTFS ExtraData)
    So i'm trying to dual boot windows7 and arch.
    my menu.lst looks like this:
    # (0) Arch Linux
    title  Arch Linux
    root   (hd0,4)
    kernel /vmlinuz-linux root=/dev/sda5 ro
    initrd /initramfs-linux.img
    # (1) Arch Linux
    title  Arch Linux Fallback
    root   (hd0,4)
    kernel /vmlinuz-linux root=/dev/sda5 ro
    initrd /initramfs-linux-fallback.img
    # (2) Windows
    title Windows 7
    rootnoverify (hd0,1)
    makeactive
    chainloader +1
    Windows boots fine, but when I try to boot Arch I get this
    Booting 'Arch Linux'
    title  Arch Linux
    root   (hd0,4)
    kernel /vmlinuz-linux root=/dev/sda5 ro
    error 15: File not found
    Thanks,
    Chris
    Last edited by preute (2011-12-12 18:51:16)

    I think that the lines
    root (hd0,4)
    are wrong. They are for GRUB's root (which is /boot), not /. So I think it should be
    root (hd0,0)
    instead.

  • [Solved] Grub Menu at boot How to remove?

    There is a pesky dialog box that starts when the computer starts. It is open for 4 seconds then moves on. It says something about choosing a grub and gives two options. It automatically defaults to the first option after 4 seconds. Does anyone know how to eliminate this and have it automatically default to the first option without the 4 seconds?
    Last edited by blankwall (2013-06-13 03:56:51)

    Mr.Elendig wrote:
    WonderWoofy wrote:Remember with grub, you have to regenerate that sily config file everytime you make a change to the configuration file.
    not if you just edit /boot/grub/grug.cfg instead.
    This is true, but the OP has made it sound as though he is following the wiki, which instructs you to use the recommended /etc/default/grub. 
    @OP, grub is not necessarily the right way to go about things.  If you really like and know lilo, use that instead.  I think the ability to choose your software as you please is one of the really defining aspects of Arch Linux.

  • [Solved] Grub error when booting...

    Today I decided to try out Archlinux everything worked fine until the reboot.. Grub doesn't seem to work as intended, grub just kept posting:
    GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB
    nothing but "GRUB" came up.
    My menu.lst:
    default 0
    timeout 3
    color light-blue/black light-cyan/blue
    title Arch Linux
    root (hd0,0)
    kernel /vmlinuz26 root=/dev/sda3 ro vga=773
    initrd /kernel26.img
    Title Arch Linux Fallback
    root (hd0,0)
    kernel /vmlinuz root=/dev/sda3 ro vga=773
    initrd /kernel26-fallback.img
    version: 0.8beta2
    I haven't found any threads about it, if there's any i'm sorry for bringing up a new one.
    any suggests?
    Last edited by Neko-san (2007-03-12 19:16:41)

    SleepingGiant08 wrote:see this http://www.gentoo.org/doc/en/grub-error-guide.xml
    scroll down to Error 7...
    oohh.. there it is, I guess I didn't look enough thanks tho :)
    vacant wrote:
    GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB
    Maybe you should start a poll "Vote for the most useless linux error message" ;)
    True, not that good error message ^^
    This is how I did it:
    boot: arch root=/dev/sda3
    grub
    root (hd0,0)
    setup (hd0)
    quit
    reboot
    Last edited by Neko-san (2007-03-12 20:33:30)

  • [solved] grub won't boot unless live cd is inserted

    Hey everyone,
    I'm trying to get Arch working on my home computer, however I'm having troubles getting grub to boot. After following the beginner's guide and running through the usual steps, I restarted my computer to boot into my dual-booted Arch/Windows computer. However, every time I try to boot, it fails, reboots, and tries again. Here's what I see on my screen moments before it reboots:
    Loading Operating System..
    Boot from CD/DVD :
    GRUB loading..
    After that, it reboots. However, if I insert a live CD of arch and select "Boot existing OS", I get
    Booting..
    GRUB Loading..
    Welcome to GRUB!
    and then it goes straight to grub. Does anyone know how I could best start to debug this issue, so that I don't need the live cd just to boot into grub every time?
    Thanks!
    Last edited by bacongobbler (2014-01-04 10:49:51)

    jasonwryan wrote:
    bacongobbler wrote:I have my CD set as first to boot, but that hasn't been the issue before. I've had both Ubuntu and Debian installed in this configuration and grub would boot in both cases, but not the case with arch.
    And what happens if you change it?
    It was a hard drive boot priority issue. It had nothing to do with the CD having first boot priority or not. I have two drives, and it was attempting to boot from /dev/sdb first, which was the incorrect drive. Switching boot priority between the two drives fixed this. I'll update the topic.
    Last edited by bacongobbler (2014-01-04 10:48:34)

  • [SOLVED] Grub entry for Arch console-mode

    Is there any way to add a grub menuentry to start arch without x?
    Last edited by Quatro (2014-08-21 00:14:42)

    By menuentry i assume you mean one other than the default for arch.
    There is, I believe this may help you. https://wiki.archlinux.org/index.php/GR … b-mkconfig
    Currently on phone so its too hard to give exact instructions atm. Internets out -.-

  • [SOLVED]Grub fails to open dm-crypt+LUKS volume on boot(Waiting 10s..)

    I know there are quite a few solved posts like these but it's usually because of "mkinitcpio -p linux" not being regenerated.
    My problem is after boot Grub says:
    running hook [udev]
    running hook [encrypt]
    Waiting 10 seconds for device /dev/disk/by-uuid/d1d0825c-25d1-4cbe-811f-725d9ef8d034>...
    ERROR: device 'UUID=d1d0825c-25d1-4cbe-811f-725d9ef8d034' not found. Skipping fsck.
    ERROR: Unable to find root device 'UUID=d1d0825c-25d1-4cbe-811f-725d9ef8d034'.
    Here are all the files that I think would be needed for this:
    /etc/fstab
    # /etc/fstab: static file system information
    # <file system> <dir> <type> <options> <dump> <pass>
    #/dev/mapper/cryptroot / ext4 rw,realtime,data=ordered 0 1
    UUID=d1d0825c-25d1-4cbe-811f-725d9ef8d034 / ext4 rw,relatime,data=ordered 0 1
    #/dev/sda5 /boot ext4 rw,relatime,data=ordered 0 2
    UUID=d04b37b1-4dfb-451c-b582-b9d95ca8fe22 /boot ext4 rw,relatime,data=ordered 0 2
    lsblk
    NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
    sda 8:0 0 298.1G 0 disk
    ├─sda1 8:1 0 100M 0 part
    ├─sda2 8:2 0 97.6G 0 part
    ├─sda3 8:3 0 1K 0 part
    ├─sda5 8:5 0 300M 0 part
    ├─sda6 8:6 0 50G 0 part
    │ └─cryptroot 254:1 0 50G 0 crypt /
    ├─sda7 8:7 0 1G 0 part
    └─sda8 8:8 0 149.1G 0 part
    sdb 8:16 1 29.3G 0 disk
    ├─sdb1 8:17 1 558M 0 part
    └─sdb2 8:18 1 31M 0 part
    sdc 8:32 1 15G 0 disk
    └─sdc1 8:33 1 15G 0 part /mnt/usb
    sr0 11:0 1 1024M 0 rom
    loop0 7:0 0 240.9M 1 loop
    loop1 7:1 0 1.5G 1 loop
    └─arch_root-image 254:0 0 1.5G 0 dm /etc/resolv.conf
    loop2 7:2 0 1.5G 0 loop
    └─arch_root-image 254:0 0 1.5G 0 dm /etc/resolv.conf
    blkid
    /dev/sda1: LABEL="System Reserved" UUID="3A481C2D481BE703" TYPE="ntfs" PARTUUID="850a6169-01"
    /dev/sda2: UUID="EE3443C234438D11" TYPE="ntfs" PARTUUID="850a6169-02"
    /dev/sda5: UUID="d04b37b1-4dfb-451c-b582-b9d95ca8fe22" TYPE="ext4" PARTUUID="850a6169-05"
    /dev/sda6: UUID="691c218e-658f-47ff-8296-6b266b2c06c9" TYPE="crypto_LUKS" PARTUUID="850a6169-06"
    /dev/sdb1: UUID="2014-07-03-18-41-56-00" LABEL="ARCH_201407" TYPE="iso9660" PTUUID="6039e1c4" PTTYPE="dos" PARTUUID="6039e1c4-01"
    /dev/sdb2: SEC_TYPE="msdos" LABEL="ARCHISO_EFI" UUID="3B47-A69A" TYPE="vfat" PARTUUID="6039e1c4-02"
    /dev/loop0: TYPE="squashfs"
    /dev/loop1: UUID="5857fcdc-02d9-4d16-aeb5-00d786995ffc" TYPE="ext4"
    /dev/loop2: UUID="5857fcdc-02d9-4d16-aeb5-00d786995ffc" TYPE="ext4"
    /dev/mapper/arch_root-image: UUID="5857fcdc-02d9-4d16-aeb5-00d786995ffc" TYPE="ext4"
    /dev/mapper/cryptroot: UUID="d1d0825c-25d1-4cbe-811f-725d9ef8d034" TYPE="ext4"
    /dev/sdc1: UUID="86D3-3C7E" TYPE="vfat" PARTUUID="c3072e18-01"
    /dev/sda7: PARTUUID="850a6169-07"
    /dev/sda8: PARTUUID="850a6169-08"
    /etc/default/grub
    GRUB_DEFAULT=0
    GRUB_TIMEOUT=5
    GRUB_DISTRIBUTOR="Arch"
    GRUB_CMDLINE_LINUX_DEFAULT="quiet"
    GRUB_CMDLINE_LINUX="cryptdevice=/dev/sda6:cryptroot"
    # Preload both GPT and MBR modules so that they are not missed
    GRUB_PRELOAD_MODULES="part_gpt part_msdos"
    # Uncomment to enable Hidden Menu, and optionally hide the timeout count
    #GRUB_HIDDEN_TIMEOUT=5
    #GRUB_HIDDEN_TIMEOUT_QUIET=true
    # Uncomment to use basic console
    GRUB_TERMINAL_INPUT=console
    # Uncomment to disable graphical terminal
    #GRUB_TERMINAL_OUTPUT=console
    # The resolution used on graphical terminal
    # note that you can use only modes which your graphic card supports via VBE
    # you can see them in real GRUB with the command `vbeinfo'
    GRUB_GFXMODE=auto
    # Uncomment to allow the kernel use the same resolution used by grub
    GRUB_GFXPAYLOAD_LINUX=keep
    # Uncomment if you want GRUB to pass to the Linux kernel the old parameter
    # format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
    #GRUB_DISABLE_LINUX_UUID=true
    # Uncomment to disable generation of recovery mode menu entries
    GRUB_DISABLE_RECOVERY=true
    # Uncomment and set to the desired menu colors. Used by normal and wallpaper
    # modes only. Entries specified as foreground/background.
    #GRUB_COLOR_NORMAL="light-blue/black"
    #GRUB_COLOR_HIGHLIGHT="light-cyan/blue"
    # Uncomment one of them for the gfx desired, a image background or a gfxtheme
    #GRUB_BACKGROUND="/path/to/wallpaper"
    #GRUB_THEME="/path/to/gfxtheme"
    # Uncomment to get a beep at GRUB start
    #GRUB_INIT_TUNE="480 440 1"
    #GRUB_SAVEDEFAULT="true"
    /boot/grub/grub.cfg
    # DO NOT EDIT THIS FILE
    # It is automatically generated by grub-mkconfig using templates
    # from /etc/grub.d and settings from /etc/default/grub
    ### BEGIN /etc/grub.d/00_header ###
    insmod part_gpt
    insmod part_msdos
    if [ -s $prefix/grubenv ]; then
    load_env
    fi
    if [ "${next_entry}" ] ; then
    set default="${next_entry}"
    set next_entry=
    save_env next_entry
    set boot_once=true
    else
    set default="0"
    fi
    if [ x"${feature_menuentry_id}" = xy ]; then
    menuentry_id_option="--id"
    else
    menuentry_id_option=""
    fi
    export menuentry_id_option
    if [ "${prev_saved_entry}" ]; then
    set saved_entry="${prev_saved_entry}"
    save_env saved_entry
    set prev_saved_entry=
    save_env prev_saved_entry
    set boot_once=true
    fi
    function savedefault {
    if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
    fi
    function load_video {
    if [ x$feature_all_video_module = xy ]; then
    insmod all_video
    else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
    fi
    if loadfont unicode ; then
    set gfxmode=auto
    load_video
    insmod gfxterm
    set locale_dir=$prefix/locale
    set lang=en_US
    insmod gettext
    fi
    terminal_input console
    terminal_output gfxterm
    if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=5
    # Fallback normal timeout code in case the timeout_style feature is
    # unavailable.
    else
    set timeout=5
    fi
    ### END /etc/grub.d/00_header ###
    ### BEGIN /etc/grub.d/10_linux ###
    menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-d1d0825c-25d1-4cbe-811f-725d9ef8d034' {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_msdos
    insmod cryptodisk luks gcry_rijndael gcry_rijndael gcry_sha1
    insmod ext2
    set root='cryptouuid/691c218e658f47ff82966b266b2c06c9'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint='cryptouuid/691c218e658f47ff82966b266b2c06c9' d1d0825c-25d1-4cbe-811f-725d9ef8d034
    else
    search --no-floppy --fs-uuid --set=root d1d0825c-25d1-4cbe-811f-725d9ef8d034
    fi
    echo 'Loading Linux linux ...'
    linux /boot/vmlinuz-linux root=UUID=d1d0825c-25d1-4cbe-811f-725d9ef8d034 rw cryptdevice=/dev/sda6:cryptroot quiet
    echo 'Loading initial ramdisk ...'
    initrd /boot/initramfs-linux.img
    submenu 'Advanced options for Arch Linux' $menuentry_id_option 'gnulinux-advanced-d1d0825c-25d1-4cbe-811f-725d9ef8d034' {
    menuentry 'Arch Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-d1d0825c-25d1-4cbe-811f-725d9ef8d034' {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_msdos
    insmod cryptodisk luks gcry_rijndael gcry_rijndael gcry_sha1
    insmod ext2
    set root='cryptouuid/691c218e658f47ff82966b266b2c06c9'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint='cryptouuid/691c218e658f47ff82966b266b2c06c9' d1d0825c-25d1-4cbe-811f-725d9ef8d034
    else
    search --no-floppy --fs-uuid --set=root d1d0825c-25d1-4cbe-811f-725d9ef8d034
    fi
    echo 'Loading Linux linux ...'
    linux /boot/vmlinuz-linux root=UUID=d1d0825c-25d1-4cbe-811f-725d9ef8d034 rw cryptdevice=/dev/sda6:cryptroot quiet
    echo 'Loading initial ramdisk ...'
    initrd /boot/initramfs-linux.img
    menuentry 'Arch Linux, with Linux linux (fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-fallback-d1d0825c-25d1-4cbe-811f-725d9ef8d034' {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_msdos
    insmod cryptodisk luks gcry_rijndael gcry_rijndael gcry_sha1
    insmod ext2
    set root='cryptouuid/691c218e658f47ff82966b266b2c06c9'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint='cryptouuid/691c218e658f47ff82966b266b2c06c9' d1d0825c-25d1-4cbe-811f-725d9ef8d034
    else
    search --no-floppy --fs-uuid --set=root d1d0825c-25d1-4cbe-811f-725d9ef8d034
    fi
    echo 'Loading Linux linux ...'
    linux /boot/vmlinuz-linux root=UUID=d1d0825c-25d1-4cbe-811f-725d9ef8d034 rw cryptdevice=/dev/sda6:cryptroot quiet
    echo 'Loading initial ramdisk ...'
    initrd /boot/initramfs-linux-fallback.img
    ### END /etc/grub.d/10_linux ###
    ### BEGIN /etc/grub.d/20_linux_xen ###
    ### END /etc/grub.d/20_linux_xen ###
    ### BEGIN /etc/grub.d/30_os-prober ###
    ### END /etc/grub.d/30_os-prober ###
    ### BEGIN /etc/grub.d/40_custom ###
    # This file provides an easy way to add custom menu entries. Simply type the
    # menu entries you want to add after this comment. Be careful not to change
    # the 'exec tail' line above.
    ### END /etc/grub.d/40_custom ###
    ### BEGIN /etc/grub.d/41_custom ###
    if [ -f ${config_directory}/custom.cfg ]; then
    source ${config_directory}/custom.cfg
    elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
    source $prefix/custom.cfg;
    fi
    ### END /etc/grub.d/41_custom ###
    ### BEGIN /etc/grub.d/60_memtest86+ ###
    ### END /etc/grub.d/60_memtest86+ ###
    Things I tried:
    Replace this line in grub.cfg with
    linux /boot/vmlinuz-linux root=UUID=d1d0825c-25d1-4cbe-811f-725d9ef8d034 rw cryptdevice=UUID=d1d0825c-25d1-4cbe-811f-725d9ef8d034:cryptroot quiet
    Do mkinitcpio -p linux but the hook ecrypt is there, so I assume it's a grub issue.
    In
    /etc/default/grub
    replace GRUB_CMDLINE_LINUX="cryptdevice=/dev/sda6:cryptroot" with actual UUID, etc.
    Grub config was made with
    grub-mkconfig -o /boot/grub/grub.cfg
    Grub was installed with
    grub-install --target=i386-pc --recheck /dev/sda
    Last edited by shape (2014-07-21 15:23:05)

    Welcome to the forum :-)
    Please remember to mark the thread as solved https://bbs.archlinux.org/viewtopic.php?id=130309
    When posting configs, code or command output, please use [ code ] tags, not [ quote ] tags https://bbs.archlinux.org/help.php#bbcode
    like this
    It makes the code more readable and - in case of longer listings - more convenient to scroll through.

  • [Solved] Grub errors 18 and 22 when booting from SSD

    Hello community,
    recently I purchased an SSD drive and am now having trouble doing an Arch install on it. Before that a 2TB HDD was in use. After building in the SSD I partitioned it (msdos partition table) creating partitions for swap, / and /home. Then I copied the files from the old /home partition on the freshly created one and installed Arch on the new / partition. Here's the partition setup:
    $ LANG=C sudo fdisk -l
    Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
    255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x0003a234
    Device Boot Start End Blocks Id System
    /dev/sda1 2048 3907028991 1953513472 5 Extended
    /dev/sda5 16065 4192964 2088450 82 Linux swap / Solaris
    /dev/sda6 4196352 65720319 30761984 83 Linux # old /
    /dev/sda7 65722368 577720319 255998976 83 Linux # old /home
    /dev/sda8 577722368 3907028991 1664653312 83 Linux
    Disk /dev/sdb: 128.0 GB, 128035676160 bytes
    255 heads, 63 sectors/track, 15566 cylinders, total 250069680 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x000a9841
    Device Boot Start End Blocks Id System
    /dev/sdb1 51863552 241582079 94859264 83 Linux # new /home
    /dev/sdb2 241582080 250068991 4243456 82 Linux swap / Solaris
    /dev/sdb3 2048 51863551 25930752 83 Linux # new /
    Partition table entries are not in disk order
    The problem is: booting from the SSD fails as follows: On the first try to select some Grub entry I get an error 22 "No such partition.". On any further try I get error 18 "Selected cylinder exceeds maximum supported by bios".
    What works is  to boot up the new system from the Grub residing on the HDD. So the problem is just the new Grub install in the SSD's MBR. Also it's not a thing of Grub's configuration, since copying the working menu.lst from the HDD install and reinstalling grub via grub-install /dev/sdb gives the correct Grub entries but selecting them results in the same errors.
    So currently I'm booting from the HDD and selecting the boot entry for the freshly installed SSD system there, which works fine. But of course I'd like the SSD to be able to boot without "help" on the part of the HDD.
    I tried to activate AHCI in the Bios but it didn't make any difference. The SSD is a Crucial M4 128GB.
    Thanks for any hints,
    PhotonX
    Last edited by PhotonX (2012-07-26 06:04:53)

    I created a /boot partition now:
    $ LANG=C sudo fdisk -l
    Disk /dev/sdb: 128.0 GB, 128035676160 bytes
    255 heads, 63 sectors/track, 15566 cylinders, total 250069680 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x000a9841
    Device Boot Start End Blocks Id System
    /dev/sdb1 51863552 241582079 94859264 83 Linux # /home
    /dev/sdb2 241582080 249831423 4124672 82 Linux swap / Solaris
    /dev/sdb3 2048 51863551 25930752 83 Linux # /
    /dev/sdb4 * 249831424 250068991 118784 83 Linux # /boot
    Partition table entries are not in disk order
    Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
    255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x0003a234
    Device Boot Start End Blocks Id System
    /dev/sda1 2048 3907028991 1953513472 5 Extended
    /dev/sda5 16065 4192964 2088450 82 Linux swap / Solaris
    /dev/sda6 4196352 65720319 30761984 83 Linux
    /dev/sda7 65722368 577720319 255998976 83 Linux
    /dev/sda8 577722368 3907028991 1664653312 83 Linux
    Then installed Grub on this partition: "grub-install /dev/sdb4". Then placed the SSD on the first position in the Bios, booted but got the same errors in Grub. So it doesn't matter where exactly Grub is installed, if it's somewhere on the SSD, it fails...
    edit: Concerning using UUIDs: I couldn't find any howto regarding Grub (legacy) configuration with UUID's. Could you point me to some example config?
    edit2: I now put the SSD on the first place in the boot list and started PartedMagic. But fdisk still recognizes the SSD as sdb and the HDD as sda. I think, the sdX identifier can be changed only by plugging the SSD in the first SATA port and the HDD in the second (while now it is the other way around).
    edit3: I tried to install Grub from the HDD installation on the SSD (executed "grub-install /dev/sdb4" from the HDD system) and found out that, though I created a /boot partition on the SSD, the Grub files installed directly on /dev/sdb are used. So I tried to install Grub from the HDD system onto /dev/sdb (executed "grub-install /dev/sdb" from the HDD system) and got error 22 even before Grub's boot list was shown. But maybe it's really a bad idea to install Grub on another drive than the system it belongs to is located.
    Last edited by PhotonX (2012-05-18 21:54:56)

  • [SOLVED] Grub error 18 - cannot boot to Windows

    Earlier today I tried to install Arch 64bit (I had 32bit earlier) with kdemod to test new KDE4.2. However, after installation I could not boot neither Arch nor Windows. Grub appeared, but every single option gave me an error. I can't remember anymore which error it was, but It doesn't matter anymore. I thought I had made a really stupid and basic mistake while installing, I just didn't know what.
    I wanted to test KDE4.2 so much so I installed Kubuntu (yeah, this topic is not related to Arch Linux, I hope that somebody can help me though, move this topic to somewhere else if it doesn't belong here ). Installation was fine, booting to Kubuntu was fine (and upgrading to KDE4.2 was fine), but booting to Windows was not. It gave me a following error:
    Error 18: Selected cylinder exceeds maximum supported by BIOS
    I googled a bit and found this: http://wiki.linuxquestions.org/wiki/GRUB#Error_18 I reinstalled Kubuntu using /dev/sdb1 as /boot and /dev/sdb2 as / (/dev/sdb3 is windows and /dev/sdb4 is my game partition, ntfs). Before this I had /dev/sdb1 as / and /dev/sdb2 as swap (now I have no swap at all, my 4GB RAM should be enough). The only difference was that at first grub gave me error 15 (I fixed it with Kubuntu LiveCD). After that - no difference.
    I need Windows for playing. That's why it's very important that I can use it. [SOLVED] In addition, I should say that /dev/sda is a separated hard drive which is encrypted with Truecrypt. (I said this because I think that Kubuntu tried to install grub on (hd0)...) When I tried to mount this hard drive with Kubuntu, it couldn't do it. I wanted to test mounting on Windows to check if it is just Kubuntu's problem. If not, I'm fucked because this hard drive contains VERY VERY VERY IMPORTANT files. [/SOLVED]
    I really need help, please. If somebody can help me, (s)he is my hero.
    Last edited by Exitium (2009-01-29 14:42:32)

    Oops, I forgot:
    menu.lst:
    (Yup, a lot of comments, Ubuntu style)
    # menu.lst - See: grub(8), info grub, update-grub(8)
    # grub-install(8), grub-floppy(8),
    # grub-md5-crypt, /usr/share/doc/grub
    # and /usr/share/doc/grub-doc/.
    ## default num
    # Set the default entry to the entry number NUM. Numbering starts from 0, and
    # the entry number 0 is the default if the command is not used.
    # You can specify 'saved' instead of a number. In this case, the default entry
    # is the entry saved with the command 'savedefault'.
    # WARNING: If you are using dmraid do not use 'savedefault' or your
    # array will desync and will not let you boot your system.
    default 0
    ## timeout sec
    # Set a timeout, in SEC seconds, before automatically booting the default entry
    # (normally the first entry defined).
    timeout 10
    ## hiddenmenu
    # Hides the menu by default (press ESC to see the menu)
    #hiddenmenu
    # Pretty colours
    #color cyan/blue white/blue
    ## password ['--md5'] passwd
    # If used in the first section of a menu file, disable all interactive editing
    # control (menu entry editor and command-line) and entries protected by the
    # command 'lock'
    # e.g. password topsecret
    # password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
    # password topsecret
    # examples
    # title Windows 95/98/NT/2000
    # root (hd0,0)
    # makeactive
    # chainloader +1
    # title Linux
    # root (hd0,1)
    # kernel /vmlinuz root=/dev/hda2 ro
    # Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
    ### BEGIN AUTOMAGIC KERNELS LIST
    ## lines between the AUTOMAGIC KERNELS LIST markers will be modified
    ## by the debian update-grub script except for the default options below
    ## DO NOT UNCOMMENT THEM, Just edit them to your needs
    ## ## Start Default Options ##
    ## default kernel options
    ## default kernel options for automagic boot options
    ## If you want special options for specific kernels use kopt_x_y_z
    ## where x.y.z is kernel version. Minor versions can be omitted.
    ## e.g. kopt=root=/dev/hda1 ro
    ## kopt_2_6_8=root=/dev/hdc1 ro
    ## kopt_2_6_8_2_686=root=/dev/hdc2 ro
    # kopt=root=UUID=e85e83e5-0f7c-419e-8cad-1fe5d9128e8f ro
    ## default grub root device
    ## e.g. groot=(hd0,0)
    # groot=504fab5b-7bb6-4b20-af58-83677386de37
    ## should update-grub create alternative automagic boot options
    ## e.g. alternative=true
    ## alternative=false
    # alternative=true
    ## should update-grub lock alternative automagic boot options
    ## e.g. lockalternative=true
    ## lockalternative=false
    # lockalternative=false
    ## additional options to use with the default boot option, but not with the
    ## alternatives
    ## e.g. defoptions=vga=791 resume=/dev/hda5
    # defoptions=quiet splash
    ## should update-grub lock old automagic boot options
    ## e.g. lockold=false
    ## lockold=true
    # lockold=false
    ## Xen hypervisor options to use with the default Xen boot option
    # xenhopt=
    ## Xen Linux kernel options to use with the default Xen boot option
    # xenkopt=console=tty0
    ## altoption boot targets option
    ## multiple altoptions lines are allowed
    ## e.g. altoptions=(extra menu suffix) extra boot options
    ## altoptions=(recovery) single
    # altoptions=(recovery mode) single
    ## controls how many kernels should be put into the menu.lst
    ## only counts the first occurence of a kernel, not the
    ## alternative kernel options
    ## e.g. howmany=all
    ## howmany=7
    # howmany=all
    ## should update-grub create memtest86 boot option
    ## e.g. memtest86=true
    ## memtest86=false
    # memtest86=true
    ## should update-grub adjust the value of the default booted system
    ## can be true or false
    # updatedefaultentry=false
    ## should update-grub add savedefault to the default options
    ## can be true or false
    # savedefault=false
    ## ## End Default Options ##
    title Ubuntu 8.10, kernel 2.6.27-11-generic
    uuid 504fab5b-7bb6-4b20-af58-83677386de37
    kernel /vmlinuz-2.6.27-11-generic root=UUID=e85e83e5-0f7c-419e-8cad-1fe5d9128e8f ro quiet splash
    initrd /initrd.img-2.6.27-11-generic
    quiet
    title Ubuntu 8.10, kernel 2.6.27-11-generic (recovery mode)
    uuid 504fab5b-7bb6-4b20-af58-83677386de37
    kernel /vmlinuz-2.6.27-11-generic root=UUID=e85e83e5-0f7c-419e-8cad-1fe5d9128e8f ro single
    initrd /initrd.img-2.6.27-11-generic
    title Ubuntu 8.10, memtest86+
    uuid 504fab5b-7bb6-4b20-af58-83677386de37
    kernel /memtest86+.bin
    quiet
    title Wintoosa
    root (hd1,2)
    savedefault
    makeactive
    map (hd0) (hd1)
    map (hd1) (hd0)
    chainloader +1
    fdisk -l
    (Note: These results are mainly in Finnish. It could be hard to you to read it... But whatever... I'll translate these only if necessary)
    Levy /dev/sda: 640.1 Gt, 640135028736 tavua
    255 päätä, 63 sektoria/ura, 77825 sylinteriä
    Yksiköt = 16065 * 512 = 8225280 -tavuiset sylinterit
    Levyn tunniste: 0xcc5d88e2
    Laite Käynn Alku Loppu Lohkot Id Järjestelmä
    /dev/sda1 * 244091 485122 1936074870+ b8 BSDI sivutus
    Osion 1 loppu ei ole sylinterin rajalla.
    /dev/sda2 176430 394864 1754572509+ 43 Tuntematon
    Osion 2 loppu ei ole sylinterin rajalla.
    /dev/sda3 177329 413105 1893868925 29 Tuntematon
    Osion 3 loppu ei ole sylinterin rajalla.
    /dev/sda4 57435 309703 2026342066 5c Priam Edisk
    Osion 4 loppu ei ole sylinterin rajalla.
    Osiotaulumerkinnät eivät ole levyjärjestyksessä
    Levy /dev/sdb: 500.1 Gt, 500107862016 tavua
    255 päätä, 63 sektoria/ura, 60801 sylinteriä
    Yksiköt = 16065 * 512 = 8225280 -tavuiset sylinterit
    Levyn tunniste: 0x0007a52a
    Laite Käynn Alku Loppu Lohkot Id Järjestelmä
    /dev/sdb1 1 128 1028128+ 83 Linux
    /dev/sdb2 129 13185 104880352+ 83 Linux
    /dev/sdb3 13186 26239 104856255 7 HPFS/NTFS
    /dev/sdb4 26240 60801 277619265 7 HPFS/NTFS
    Last edited by Exitium (2009-01-28 21:05:33)

Maybe you are looking for

  • HTML tag problem in jsf page

    Hello every body .I am newer in jsf.I have used the following segment in my jsf page .Now I want to read value from intl properties file in place of "*********************".How i will do it?plz help me Thanks in advance. <t:panelGrid id="guestUserIst

  • Replication from 5.2 to 11g failing in Test Env, but works in my Sandbox

    I am receiving this error over & over again in error log: [09/Feb/2012:08:39:59 -0600] - INFORMATION - NSMMReplicationPlugin - conn=-1 op=-1 msgId=-1 - Failed to connect to replication consumer 11gserver.example.com:1636 [09/Feb/2012:08:39:59 -0600]

  • Revaluation of PO

    Dear All, My client  want to revaluate production orders at actual prices, but we have only one costing version for plan and actual. Exactly I don't know how to revaluate production orders. As we have only one version, I want to change the activity r

  • How to add music files or vidoes to my iphone

    now i connected my phone to laptop.. the phone is geeting charged..and how to move videos or music files to my phone thro iphone?

  • Probleme mit Hilfe Update

    Hallo Leute, neuerdings wenn ich ein Hilfedokument (egal in welchem Adobe Programm) öffne bekomme ich den Hinweis, daß ein Update zur Verfügung steht. adobe Community help installierte Version 3.2.2.660 Updateversion 3.5.0 Wenn ich auf Update drücke