Re: Sid: Grub2 faling to boot: Unknown device UUID
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Friday 24 July 2009, Curt Howland was heard to say:
> But when it tries to load, I get the error that "device (shows UUID
> from /boot/grub/grub.cfg) not found"
Micha Feigin <michf@post.tau.ac.il> wrote:
> I also had problems with uuid and just disabled it (you need to give
> the appropriate device file though instead, such as root=/dev/sda1).
> Not sure how I disabled it (not next to my linux box at the moment)
> but try looking for a uuid option under /etc/default/grub2
> or /etc/grub2 or something similar
Ok, another in the continuing saga.
Sure enough, /etc/default/grub does have the entry:
=========
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter
# to Linux
#GRUB_DISABLE_LINUX_UUID=true
=========
Removing it and running update-grub does indeed remove the UUID from
the Linux boot command line in /boot/grub/grub.cfg:
=========
menuentry "Debian GNU/Linux, Linux 2.6.30-1-686" {
set root=(hd0,1)
search --no-floppy --fs-uuid --set
8946a06a-195e-4e5d-ba10-5ebc16dbf84b
linux /boot/vmlinuz-2.6.30-1-686 root=/dev/hda1 ro quiet
initrd /boot/initrd.img-2.6.30-1-686
=========
However, I still get the error when trying to boot that device
8946a06a-195e-4e5d-ba10-5ebc16dbf84b is not found.
So I press "e" to edit, and remove the entire "search" line. When I do
that, the system boots just fine.
The result of all this is that the UUID in the "search" line is what
is now giving the error.
So now to get the UUID out of the "search" line.
Any suggestions?
Curt-
- --
The Magistrate, enrobed in taxes, condemns the thief in stolen rags.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iQEVAwUBSmo/8C9Y35yItIgBAQJ34Qf/c7vol1qD0jEjCXxyfQSWjG45Hbz/fz6N
ayqTbCpcdqgrbMTUWJvTtGUhClcI3ZJBh4gxwcPZD0IBiuw9QwvqfZZ5kZPb3bi6
Uv/vyOWZsiAMKLgxTY6MwkPKqeCf1j6BbS/a7+uoZcaerOelc6pFHJIP+c8Ajznc
JXUJcwLA1mO9iFZ20FOOot04ghwwMDxK5ok4EsSAMgcjYHYDQPP8LlOKjdsJjd49
VdkwVKdk7mvZsNefTJETb6D7wFwUEonz5pkYcNn+6fZVAH4Bp9eiwHomWo3Nb6eA
WDbM0F1JUOvMyqt9AIJ4yoqOzkyWzsR7POc+x9pBUNDICrV9vUtdbg==
=0CP7
-----END PGP SIGNATURE-----
Reply to: