Bug#535239: grub-pc in some cases doesn't migrate kopt
Felix Zielcke
fzielcke at z-51.de
Mon Aug 3 06:37:15 UTC 2009
Am Montag, den 03.08.2009, 03:29 +0300 schrieb Dmitri Gribenko:
>
> I have just upgraded grub on two computers and on one of them I was
> hit by this
> bug. You can see that my debconf string grub-pc/linux_cmdline is
> empty. I
> think that it is caused by my kopt string and the characters it
> contains:
>
> $ grep '^# kopt=' /boot/grub/menu.lst
> # kopt=root=/dev/sda1 ro
> netconsole=1111 at 192.168.1.4/eth0,8888 at 192.168.1.3/00:15:f2:65:2d:39
> nmi_watchdog=0
>
> $ sed -ne "s/^# kopt=//p" /boot/grub/menu.lst | tr -s " " "\n" | grep
> -vx "\(ro\|root=[^ ]*\)"
> netconsole=1111 at 192.168.1.4/eth0,8888 at 192.168.1.3/00:15:f2:65:2d:39
> nmi_watchdog=0
>
> It could be something related to shell quoting.
I just tried it out with a menu.lst only containing your kopt line.
The debconf showed both parameters fine.
Unfortunately I don't have any clue why it failed for you and worked for
me.
--
Felix Zielcke
Proud Debian Maintainer
More information about the Pkg-grub-devel
mailing list