For 11.04, grub may not support the probe command. The disk image installs were introduced in 11.10.
So instead you can run:
Code:
search -s -f -n /ubuntu/disks/root.disk
echo $root
Depending on the response, you will be using the following mapping:
Code:
RESPONSE MAPPING
hd0,1 OR hd0,msdos1 OR '/dev/sda',msdos1 == /dev/sda1
hd0,2 OR hd0,msdos2 OR '/dev/sda',msdos2 == /dev/sda2
etc.
hd1,1 OR hd1,msdos1 OR '/dev/sdb',msdos1 == /dev/sdb1
etc.
Then continue (NOTE the bit that has root=/dev/sda1; CHANGE that to the actual root you determined above):
Code:
loopback (loop0) /ubuntu/disks/root.disk
set root=(loop0)
linux /vmlinuz root=/dev/sda1 loop=/ubuntu/disks/root.disk ro quiet splash
initrd /initrd.img
boot
Bookmarks