Grub and ubuntu

Karl Larsen k5di at
Sun Mar 16 14:32:28 UTC 2008

Tony Arnold wrote:
> Karl,
> Karl Larsen wrote:
>>     I just discovered a bad situation. Go back a few weeks when I used 
>> dd to copy my ubuntu from /dev/hda2 to /dev/hda8 and I changed the root 
>> calls in menu.lst so grub will boot the copied version on /dev/hda8. It 
>> seemed to work.
>>     But noticed when I used df that it said it was using /dev/hda2. I 
>> wondered why df was wrong.
>>     I learned yesterday that the grub call below was booting /dev/hda2 
>> instead of /dev/hda8 as it is expected to.
>> title           Ubuntu 7.10, kernel 2.6.22-14-generic
>> root            (hd0,7)
>> kernel          /boot/vmlinuz-2.6.22-14-generic 
>> root=UUID=a9c1cb61-ddfd-44f6-88b
>> 0-6dc976daf9ca ro quiet splash
>> initrd          /boot/initrd.img-2.6.22-14-generic
>> For some reason this was booting /dev/hda2 which is a mystery to me.
> Did you fix up /etc/fstab to mount / from hda8 as well?
> Regards,
> Tony.
    I do not know how to do that. Here is my /etc/fstab:

# /etc/fstab: static file system information.
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
# /dev/hda8
UUID=a9c1cb61-ddfd-44f6-88b0-6dc976daf9ca /               ext3    
# /dev/hda1
UUID=7915f630-518c-425b-9fea-0ef07e50d0f9 none            swap    sw
# /dev/sda2
UUID=7d8c37ed-b2ec-4008-a137-f24c6659c5ab none            swap    sw
/dev/hdb        /media/cdrom0   udf,iso9660 user,noauto,exec 0       0
LABEL=f7-home       /f7home          ext3     defaults       1    2
/dev/hda9           /home            ext3     defaults       1    2

    I don't know how to change this:

UUID=a9c1cb61-ddfd-44f6-88b0-6dc976daf9ca /

Do you?


	Karl F. Larsen, AKA K5DI
	Linux User
   PGP 4208 4D6E 595F 22B9 FF1C  ECB6 4A3C 2C54 FE23 53A7

More information about the ubuntu-users mailing list