[Bug 933433] Re: Kubuntu manual install crashed during bootloader configuration with Python stacktrace
Andrew McDonnell
bugs at andrewmcdonnell.net
Thu Feb 16 12:40:32 UTC 2012
I just had a look inside syslog, and you learn something new every day
it seems:
It would appear that installing grub onto an XFS logical partition is disallowed, and this is the underlying cause of the Python stack trace?
I believe bug is still valid however; the installer should catch the failure and not crash with the integer error message.
Feb 16 22:33:51 ubuntu grub-installer: info: Installing grub on '/dev/sda5'
Feb 16 22:33:51 ubuntu grub-installer: info: grub-install supports --no-floppy
Feb 16 22:33:51 ubuntu grub-installer: info: Running chroot /target grub-install --no-floppy --force "/dev/sda5"
Feb 16 22:33:53 ubuntu grub-installer: /usr/sbin/grub-setup: error: hd0,5 appears to contain a xfs filesystem which isn't known to reserve space for DOS-style boot. Installing GRUB there could result in FILESYSTEM DESTRUCTION if valuable data is overwritten by grub-setup (--skip-fs-probe disables this check, use at your own risk).
Feb 16 22:33:53 ubuntu grub-installer: error: Running 'grub-install --no-floppy --force "/dev/sda5"' failed.
Feb 16 22:36:08 ubuntu python: log-output -t ubiquity umount /target/cdrom
Feb 16 22:36:08 ubuntu finish-install: Disabling CD in sources.list
Feb 16 22:36:09 ubuntu python: Exception during installation:
Feb 16 22:36:09 ubuntu python: Traceback (most recent call last):
Feb 16 22:36:09 ubuntu python: File "/usr/share/ubiquity/install.py", line 2566, in <module>
Feb 16 22:36:09 ubuntu python: install.run()
Feb 16 22:36:09 ubuntu python: File "/usr/share/ubiquity/install.py", line 418, in run
Feb 16 22:36:09 ubuntu python: self.configure_bootloader()
Feb 16 22:36:09 ubuntu python: File "/usr/share/ubiquity/install.py", line 1681, in configure_bootloader
Feb 16 22:36:09 ubuntu python: self.db.input('critical', bootdev)
Feb 16 22:36:09 ubuntu python: File "/usr/lib/python2.6/dist-packages/debconf.py", line 65, in <lambda>
Feb 16 22:36:09 ubuntu python: lambda *args, **kw: self.command(command, *args, **kw))
Feb 16 22:36:09 ubuntu python: File "/usr/lib/python2.6/dist-packages/debconf.py", line 86, in command
Feb 16 22:36:09 ubuntu python: status = int(status)
Feb 16 22:36:09 ubuntu python: ValueError: invalid literal for int() with base 10: ''
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/933433
Title:
Kubuntu manual install crashed during bootloader configuration with
Python stacktrace
Status in “ubiquity” package in Ubuntu:
New
Bug description:
Reported error was "ValueError: invalid literal for int() with base
10: '' " - a very old Ubiquity bug 42774 has same message but stack
trace was completely different at a different point.
Cause:
1. Start Kubuntu CD, select 'Install' from the CD menu
2. Do a manual partition. Drive has NTFS XP at sda2 with a rescue NTFS at sda1 and 40GB free space
3. Added 12G XFS partition at sda5 and swap at sda6
4. Set to install bootloader to sda5
5. Installer progressed and copied files then died with the following stack trace on the 'Configuring Bootloader' screen
Traceback (most recent call last):
File "/usr/lib/ubiquity/bin/ubiquity", line 524, in <module>
main(oem_config)
File "/usr/lib/ubiquity/bin/ubiquity", line 511, in main
install(query=options.query)
File "/usr/lib/ubiquity/bin/ubiquity", line 242, in install
ret = wizard.run()
File "/usr/lib/ubiquity/ubiquity/frontend/kde_ui.py", line 460, in run
self.progress_loop()
File "/usr/lib/ubiquity/ubiquity/frontend/kde_ui.py", line 863, in progress_loop
(ret, realtb))
RuntimeError: Install failed with exit code 1
Traceback (most recent call last):
File "/usr/share/ubiquity/install.py", line 2566, in <module>
install.run()
File "/usr/share/ubiquity/install.py", line 418, in run
self.configure_bootloader()
File "/usr/share/ubiquity/install.py", line 1681, in configure_bootloader
self.db.input('critical', bootdev)
File "/usr/lib/python2.6/dist-packages/debconf.py", line 65, in <lambda>
lambda *args, **kw: self.command(command, *args, **kw))
File "/usr/lib/python2.6/dist-packages/debconf.py", line 86, in command
status = int(status)
ValueError: invalid literal for int() with base 10: ''
Digression: I should have made /boot at sda3 primary partition which would have allowed me to copy the first 512 bytes of sda3 to a bin file to chain from the XP bootloader.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/933433/+subscriptions
More information about the foundations-bugs
mailing list