installer crashes on bad grub device
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubiquity (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: ubiquity
How to reproduce:
System description:
Computer
USB cable
IDE-to-USB adaptor
8 GB "internal" hard drive, plugged in to the computer by USB externally
Prodecure:
Start Xubuntu Live CD
Install as per normal, except don't install onto your local hard drive, but install onto the external USB drive.
When the window comes up that displays all install information, it defaults grub to install onto (hd0). Change this to "sd0" or perhaps "(sd0)". I don't remember what I set it to, but it didn't work and it took until the install was 94% done before complaining.
Expected result:
If you enter a bad device to install grub to, it should detect it immediately and say you're doing something stupid instead of blindly trusting the user.
Ideally, you should have a drop down list of devices it is possible to install grub to. How is a newbie supposed to know to type in "/dev/sda" when "(hd0)" is displayed?
This is the text on the error window:
We're sorry; the installer crashed. Please file a new bug report at https:/ /launchpad. net/distros/ ubuntu/ +source/ ubiquity/ +filebug (do not attach your details to any existing bug) and a developer will attend to the problem as soon as possible. To help the developers understand what went wrong, include the following detail in your bug report, and attach the files /var/log/syslog and /var/log/partman:
Traceback (most recent call last): ubiquity" , line 166, in ? ubiquity" , line 161, in main sys.argv[ 1]) ubiquity" , line 57, in install ubiquity/ ubiquity/ frontend/ gtkui.py" , line 305, in run process_ step() ubiquity/ ubiquity/ frontend/ gtkui.py" , line 856, in process_step progress_ loop() ubiquity/ ubiquity/ frontend/ gtkui.py" , line 628, in progress_loop ubiquity/ install. py", line 1404, in ? ubiquity/ install. py", line 385, in run configure_ bootloader( ) ubiquity/ install. py", line 1163, in configure_ bootloader
File "/usr/bin/
main()
File "/usr/bin/
install(
File "/usr/bin/
ret = wizard.run()
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
raise RuntimeError, ("Install failed with exit code %s\n%s" %
RuntimeError: Install failed with exit code 1
Traceback (most recent call last):
File "/usr/share/
install.run()
File "/usr/share/
self.
File "/usr/share/
raise InstallStepError(
InstallStepError: GrubInstaller failed with code 1