F6 "Other Options" menu puts kernel options in wrong place

Bug #295949 reported by David
4
Affects Status Importance Assigned to Milestone
gfxboot-theme-ubuntu (Ubuntu)
Fix Released
Medium
Colin Watson

Bug Description

The live-CD based installer (Ubuntu 8.10) does not preserve the kernel options it is booted with to the installation it creates.

This means that if you boot the live-CD based installer with the kernel options "noapic nolapic acpi=off" then the installation of Ubuntu it creates does not have these options in the grub config file.

My friend needed to add these options because that is the only way she could get the installer to boot. By not preserving them, this means that the Ubuntu installation it created for her wouldn't boot!

This should be a relatively easy fix, since the Ubuntu installer can inspect /proc/cmdline when it creates the grub menu.lst file, and preserve any options such as these. This would of saved me a lot of time explaining how grub works and how to configure it to her, and would certainly have given her a better impression of Ubuntu.

Revision history for this message
xteejx (xteejx-deactivatedaccount) wrote :

Thank you for taking the time to make Ubuntu better. Since what you submitted is not really a bug, or a problem, but rather an idea to improve Ubuntu, you are invited to post your idea in Ubuntu Brainstorm at https://brainstorm.ubuntu.com/ where it can be discussed, voted by the community and reviewed by developers. Thanks for taking the time to share your opinion!

Revision history for this message
David (djs203) wrote :

Hmmm?!?? :s

The installer created an unbootable system. That's a bug IMHO.

Not only is it a bug, it is also a problem. The live-CD based installer has lots of helpful screens about which options you should choose if your system doesn't boot. Grub doesn't. This creates a problem for someone who can't remember "noapic nolapic acpi=off" in a character perfect manner.

Could this please be reviewed by somebody else?

Revision history for this message
xteejx (xteejx-deactivatedaccount) wrote :

Hi,
Sorry I didn't fully understand the first description. After re-reading it and the bit above it seems that it is a problem in ubiquity. Could you please attach /var/log/syslog and /var/log/partman to this bug, following the directions in http://wiki.ubuntu.com/DebuggingUbiquity/AttachingLogs? Thanks in advance.

Revision history for this message
David (djs203) wrote :

Umm. As I said, this isn't my computer but a friend's. What are you looking for in those files? Isn't this an easy bug to nail: some bit of code somewhere needs to look at /proc/cmdline and Do The Right Thing. If that piece of code is missing then how are those files going to help? :s

Revision history for this message
xteejx (xteejx-deactivatedaccount) wrote :

Hi,
The syslog file shows a complete log of the user interaction with ubiquity (the LiveCD installer), therefore if any settings are not being saved by ubiquity we will see in the logs (hopefully) where it has gone wrong and should be able to determine from there how to proceed. The partman log shows if there was any problem with partitioning, as it is a friends machine we cannot rule out any possibilities.
Thank you.

Revision history for this message
Colin Watson (cjwatson) wrote :

I apologise that your bug report was dealt with by somebody apparently not very familiar with the installer. We do not in fact need any of the information that Teej asked for in order to fix this bug: the partman log would contain no useful information whatsoever, and the only thing that syslog would tell me would be the contents of /proc/cmdline. Fortunately, I can experiment with this for myself and make a good guess at the problem.

This is actually supposed to be supported already, provided that you put the boot options that are supposed to be preserved *after* the "--" that's at the end of the command line on the live CD. This allows us to distinguish boot options that are supposed to be passed only to the installer from ones that are expected to be preserved, and generally this scheme works well. Unfortunately, gfxboot-theme-ubuntu, which implements our CD boot menu, doesn't add its preset options (acpi=off etc.) to the end of the boot command line, but instead adds them to near the start. Fixing this would fix this bug.

Changed in ubiquity:
importance: Undecided → Medium
status: Incomplete → Triaged
Colin Watson (cjwatson)
Changed in gfxboot-theme-ubuntu:
assignee: nobody → cjwatson
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gfxboot-theme-ubuntu - 0.7.2

---------------
gfxboot-theme-ubuntu (0.7.2) jaunty; urgency=low

  * Add options from the F6 "Other Options" menu after the per-menu-entry
    options rather than before (LP: #295949).

 -- Colin Watson <email address hidden> Tue, 10 Mar 2009 02:15:30 +0000

Changed in gfxboot-theme-ubuntu:
status: Fix Committed → Fix Released
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.