Bug#586380: update-grub generates root=/dev/hda1
Colin Watson
cjwatson at debian.org
Fri Jun 18 23:55:43 UTC 2010
reassign 583271 grub-common
reassign 586380 grub-common
forcemerge 583271 585177 586380
thanks
On Sat, Jun 19, 2010 at 01:37:51AM +0200, Kurt Roeckx wrote:
> 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.
This is basically the same as #583271 and #585177. Merging - I do
intend to fix this for squeeze one way or another, although it will
probably involve a grotty packaging-level hack of some kind.
> 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
This is really more to do with your previous bug, but this does rather
suggest that you originally upgraded from GRUB Legacy and have run
grub-install at some point since then rather than running
upgrade-from-grub-legacy, which would put you squarely in the middle of
#586143.
--
Colin Watson [cjwatson at debian.org]
More information about the Pkg-grub-devel
mailing list