Grub error on update
Karl Larsen
k5di at zianet.com
Sun Jun 29 17:47:50 UTC 2008
Frank McCormick wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Sun, 29 Jun 2008 10:57:46 -0600
> Karl Larsen <k5di at zianet.com> wrote:
>
>
>>>>
>>>>
>> OK Frank here is the problem.
>>
>>
>> title Ubuntu Gutsy, kernel 2.6.22-15-generic
>> root (hd0,2)
>> kernel /boot/vmlinuz-2.6.22-15-generic root=/dev/sda3 ro
>> initrd /boot/initrd.img-2.6.22-15-generic
>> quiet
>>
>>
>> The top is your boot and it has no root=UUID= and this confuses the
>> system sending you a new kernel. I have not updated my Gutsy but will
>> today and expect zero problems.
>>
>
>
> Yeah...we know. How do I fix it ?
>
> Cheers
> - --
> Frank
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
>
> iD8DBQFIZ8aPO/2kt/1jPOIRAiPWAKD1MYGTJdETGi/W4za4weXJjHuH5QCfeHii
> BND3iizk7HnTK0Sy1D9o1HQ=
> =FO2M
> -----END PGP SIGNATURE-----
>
>
Here is how you get a uuid id:
When you know which partitions you want to get a UUID word for you
just do this:
sudo vol_id /dev/hda2 and it will print out this:
karl at karl-desktop:~$ sudo vol_id /dev/hda2
[sudo] password for karl:
ID_FS_USAGE=other
ID_FS_TYPE=swap
ID_FS_VERSION=2
ID_FS_UUID=4d7c4159-d00c-4069-bfb6-f9a6e153c723
ID_FS_UUID_ENC=4d7c4159-d00c-4069-bfb6-f9a6e153c723
ID_FS_LABEL=
ID_FS_LABEL_ENC=
ID_FS_LABEL_SAFE=
karl at karl-desktop:~$
For some reason it prints out the word twice.
So do this and change both the root in menu.lst and also the listing in
/etc/fstab. This should do it.
Karl
--
Karl F. Larsen, AKA K5DI
Linux User
#450462 http://counter.li.org.
PGP 4208 4D6E 595F 22B9 FF1C ECB6 4A3C 2C54 FE23 53A7
More information about the ubuntu-users
mailing list