copy installer boot options to grub config on install

Bug #559415 reported by MarkJ
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
grub-installer (Ubuntu)
Invalid
Wishlist
Unassigned

Bug Description

Binary package hint: grub

The live CD for ubuntu 10.04 beta2 won't boot for me. But if I set a kernel parameter to acpi=off, then the live CD works fine for me (this is not the bug I am reporting, please read the whole thing). Then after I install from the live CD, and it goes to boot for the first time, grub no longer has a 10 second timeout so I can't add acpi=off again. I have to reboot with the live CD as a rescue CD, edit /boot/grub/grub.cfg, add "set timeout=10" at the bottom of it. Then I reboot with the newly installed 10.04 beta2, and during the 10 second timeout, add acpi=off to the boot parameter, and then I can get into 10.04 beta2 just fine. I had this problem in 10.04 beta1 as well.

The problem is that 10.04 beta2 won't boot for me on the first boot after installing (because I need to add acpi=off again). If I have added acpi=off in order to get the installer/live cd to come up, there is a 99% I will need it to get the freshly installed system to come up too.
Here are some potential solutions:
1. If any extra kernel boot parameters are added during the boot of the installer/live cd, then those kernel boot parameters should be automatically added to the default grub entry of the freshly installed system.
2. If any extra kernel boot parameters are added during the boot of the installer/live cd, then the default grub timeout should be 10 and not 0 on the freshly installed system.
3. Always make the default grub timeout 10.

I like option 1 the most and option 3 the least, because that would conflict with fast boot times which is a goal in 10.04.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: grub (not installed)
ProcVersionSignature: Ubuntu 2.6.32-19.28-generic 2.6.32.10+drm33.1
Uname: Linux 2.6.32-19-generic i686
Architecture: i386
Date: Fri Apr 9 10:48:23 2010
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta i386 (20100406.1)
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: grub

Revision history for this message
Steve Langasek (vorlon) wrote :

Reassigning to grub-installer, which is where option 1) would have to be implemented.

For information on how to interrupt the boot in order to add kernel boot options without a default timeout, see <https://help.ubuntu.com/community/Grub2>.

affects: grub (Ubuntu) → grub-installer (Ubuntu)
Changed in grub-installer (Ubuntu):
importance: Undecided → Wishlist
summary: - 10.04 beta2 won't boot
+ copy installer boot options to grub config on install
Jordan (jordanu)
Changed in grub-installer (Ubuntu):
status: New → Confirmed
Revision history for this message
Jordan (jordanu) wrote :

I can confirm that installer boot options are not copied to the installed system's grub config. I've run "DEBCONF_DEBUG=developer ubiquity --debug" and I'm attaching /var/log/syslog, /var/log/partman, and /var/log/installer/debug.

/proc/cmdline is "BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/casper/initrd.lz quiet splash TEST_BEFORE_DASHES -- TEST_AFTER_DASHES acpi=off"

Revision history for this message
Jordan (jordanu) wrote :
Revision history for this message
Jordan (jordanu) wrote :
Revision history for this message
Jordan (jordanu) wrote :

This is a regression introduced between 9.04, where options from /proc/cmdline following "--" were used in the installed system, and 9.10 were they were not.

Revision history for this message
dino99 (9d9) wrote :

Closing that outdated report as EOL has been reached long time ago

Changed in grub-installer (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.