Grub menu.lst for USB drive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



I have a base install that I have placed on a USB thumb drive.

I need to get grub to boot it by uuid or label so I can boot it from any PC

I can get it to boot using a kernel line like this:

# (0) Arch Linux
title Arch Linux (x86_64)
root (hd0,0)
kernel /vmlinuz26 root=/dev/sdd1 rootdelay=15 ro
initrd /kernel26.img

This don't work

# (0) Arch Linux
title Arch Linux (x86_64)
root (hd0,0)
kernel /vmlinuz26 root=UUID=6342a6b5-25cf-4d01-a318-68309d12ab5b rootdelay=15 ro
initrd /kernel26.img

This don't work

# (0) Arch Linux
title Arch Linux (x86_64)
root (hd0,0)
kernel /vmlinuz26 root=/dev/disk/by-uuid/6342a6b5-25cf-4d01-a318-68309d12ab5b rootdelay=15 ro
initrd /kernel26.img

Any one know how to get this to work?


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux