Attached is a debdiff that supports grub boot for UUID for Intrepid.

It supports booting by UUID for the following partition types:

Partition    Tested 
ext2            Y
ext3            Y
fat/vfat        Y
jfs                Y
reiserfs       Y
xfs              Y
ocfs            N
ddf_raid      N
hfs              N
luks            N

The tests were performed by creating several partitions on a 4Gb USB
Mass Storage Device of the above types and copying /boot into each
partition and then booting from the relevant partition.  Partitions 1-4
and logical partitions 5+ were tested on USB and physical hard disks.

A typical grub menu.lst using the uuid command is as follows:

title           uuid ext3
uuid            98ab0550-7e12-4da7-ad6d-3d7dc9b32ab0
kernel          /boot/vmlinuz-2.6.24-19-generic 
root=UUID=98ab0550-7e12-4da7-ad6d-3d7dc9b32ab0 ro quiet splash
initrd          /boot/initrd.img-2.6.24-19-generic

title           uuid vfat
uuid            4868-85B1
kernel          /boot/vmlinuz-2.6.24-19-generic root=UUID=4868-85B1 ro quiet 
splash
initrd          /boot/initrd.img-2.6.24-19-generic

One extra feature is just using the uuid command without specifying a
UUID will cause grub to find and print out all know (and supported)
UUID's that it can boot from, in the form:

(hdX,Y)    filesystem    uuid

e.g.:

(hd0,0)   ext3   98ab0550-7e12-4da7-ad6d-3d7dc9b32ab0
(hd1,0)   vfat    4868-85B1
(hd1,1)   xfs      6f2ebb0f-f6d1-4e7b-9292-942c0c3d021b

Note: The UUIDs must match those as reported by `ls /dev/disk/by-uuid` -
some filesystem UUID's are derived from volume labels and the UUID
matching is case sensitive.


** Attachment added: "Intrepid Grub 0.97 UUID debdiff"
   http://launchpadlibrarian.net/15685494/grub-0.97.uuid.debdiff

** Changed in: grub (Ubuntu)
   Importance: Undecided => Wishlist
       Target: None => intrepid-alpha-1

-- 
Grub: Add detection of bootable disk partitions by UUID
https://bugs.launchpad.net/bugs/244141
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to