Bug#586380: update-grub generates root=/dev/hda1
Kurt Roeckx
kurt at roeckx.be
Fri Jun 18 23:37:51 UTC 2010
Package: grub-pc
Version: 1.98+20100614-2
Severity: serious
I had to boot from a rescue CD with an older kernel and chrooted
into my /, which is /dev/hda1 for that kernel. I ran update-grub
and isntall-grub.
I then rebooted and it passed "root=/dev/hda1" to the kernel. But
the new kernel calls this /dev/sda1. So it failed to boot.
Fixing this manually allowed me to boot.
Running update-grub with the latest kernel gives me a:
root=UUID=a80983a5-e4ca-4dc2-80c7-c0f5d1a1364e
So I can only come to the conclusing it's doing that with recent
kernels, which it shouldn't be doing. It should always use the
UUID.
Something also seems to be generating a /boot/grub/menu.lst
yesterday, not sure why since I don't grub1 instaled anymore.
And that's full of entried with root=/dev/hda1, which won't work
of course.
ls shows:
-rw-r--r-- 1 root root 9228 2010-06-17 23:49:07.000000000 +0200 /boot/grub/menu.lst
dpkg.log has:
2010-06-17 23:48:42 status half-configured grub-pc 1.98+20100614-2
2010-06-17 23:49:19 status installed grub-pc 1.98+20100614-2
I ran update-grub after this, and the file didn't get changed.
Kurt
More information about the Pkg-grub-devel
mailing list