#542898 grub-pc: install finds kernel command line properly, but doesn't write it to /etc/default/grub

Package:
grub-pc
Source:
grub2
Description:
GRand Unified Bootloader, version 2 (PC/BIOS version)
Submitter:
Corey Hickey
Date:
2012-12-30 09:39:03 UTC
Severity:
normal
#542898#5
Date:
2009-08-22 04:21:29 UTC
From:
To:
Hello,

I like the transition from grub-legacy to grub2 so far, except for one
detail that I have been unable to troubleshoot yet. When I install the
grub-pc package, I get prompted:

"The following Linux command line was extracted from the `kopt'
parameter in GRUB Legacy's menu.lst. Please verify that it is correct,
and modify it if necessary."

The command line shown was correctly parsed from menu.lst, so I leave
it alone. The installation scripts then go on to generate
/etc/default/grub and /boot/grub/grub.cfg, but the kernel command line
seems to get ignored. In /etc/default/grub, a line is generated:

GRUB_CMDLINE_LINUX_DEFAULT="quiet"

That "quiet" option then gets propagated on to /boot/grub/grub.cfg. If
I change the GRUB_CMDLINE_LINUX_DEFAULT option manually and run
update-grub2, that works ok.

I thought it would be good to report this in case it happens to other
people. My grub-legacy menu.lst should be attached. I can reproduce the
problem right now by running:

# apt-get --purge remove grub-pc
# rm /boot/grub/core.img
# apt-get install grub-pc

Thanks,
Corey

#542898#10
Date:
2012-12-29 17:08:27 UTC
From:
To:
Hello Corey,
                 Do you have the file that is produced missing the line?
You say both files below are missing the line. When you do the work around
does it write this missing line to the files below?

/etc/default/grub
/boot/grub/grub.cfg

A bit more information might help

#542898#15
Date:
2012-12-29 23:24:43 UTC
From:
To:
including Corey email address
#542898#20
Date:
2012-12-30 09:29:33 UTC
From:
To:
Thanks for looking into that. I'm not sure the bug is still relevant
after so much time has passed, but I'll see if I can reproduce it and
provide sample files when I have a chance (should be some time early
this week).