Bug#547406: grub-pc: Linux command line not extracted from /etc/default/grub

Felix Zielcke fzielcke at z-51.de
Sat Sep 19 13:36:08 UTC 2009


Am Samstag, den 19.09.2009, 15:17 +0200 schrieb Harald Braumann:
> On upgrade, I'm presented with the following dialog:
> 
> ---8<---------------------------------------------------------------------------
> Configuring grub-pc
> -------------------
> 
> The following Linux command line was extracted from /etc/default/grub
> or the `kopt' parameter in GRUB Legacy's 
> menu.lst.  Please verify that it is correct, and modify it if
> necessary.
> 
> Linux command line: 
> 
> 
> The following string will be used as Linux parameters for the default
> menu entry but not for the recovery mode.
> 
> Linux default command line: 
> 
> ---8<---------------------------------------------------------------------------
> 
> But the parameter `Linux [default] command line' is not prefilled with
> the
> value from /etc/default/grub. In fact, I couldn't find any code in 
> grub-pc.postinst that would extract that value.

Because it's not there. It's in grub-pc.config or if you look in the
source package debian/config.in now.

> Here's my /etc/default/grub file:
> 
> ---8<---------------------------------------------------------------------------
> # If you change this file, run 'update-grub' afterwards to update
> # /boot/grub/grub.cfg.
> 
> GRUB_DEFAULT=0
> GRUB_TIMEOUT=5
> GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
> #GRUB_CMDLINE_LINUX_DEFAULT="quiet"

That's commented out so it's clear.

> GRUB_CMDLINE_LINUX='resume=swap:/dev/mapper/vgsys-lvswap
> no_console_suspend hpet=force acpi_sleep=s4_nohwsig' 

I just put that in my default/grub and ran `dpkg-reconfigure grub-pc'.
Worked fine.
So I don't have any clue where the problem is for you.

-- 
Felix Zielcke
Proud Debian Maintainer






More information about the Pkg-grub-devel mailing list