Installer Crashes REPEATEDLY "Unable to install GRUB in (hd0)"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubiquity (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
This has happened six times so far, even when I completely wipe and repartition the disk for Win98 (FAT32) and try yet again to reinstall Dapper. It is a long time to wait every time for it to fail. It looks like a lot of users have this problem - not to mention all those with less patience who flick ubuntu and look for something that works.
We're sorry; the installer crashed. Please file a bug report at https:/
File "/usr/bin/
install(
File "/usr/bin/
ret = wizard.run()
File "/usr/lib/
self.
File "/usr/lib/
raise RuntimeError, ("Install failed with exit code %s; see "
RuntimeError: Install failed with exit code 1; see /var/log/
ubuntu@
Ubiquity 1.0.12
Sun, 17 Sep 2006 12:23:32 INFO switched to page stepLanguage
ubiquity: Starting up '['/usr/
ubiquity: Watching for question patterns ^languagechoose
Sun, 17 Sep 2006 12:23:49 INFO Step_before = stepLanguage
Sun, 17 Sep 2006 12:23:57 INFO switched to page stepLocation
Sun, 17 Sep 2006 12:23:57 INFO Step_after = stepLocation
ubiquity: Starting up '['/usr/
ubiquity: Watching for question patterns ^time/zone$
(time-admin:6443): GnomeUI-WARNING **: While connecting to session manager:
Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed.
ALSA lib confmisc.
ALSA lib conf.c:
ALSA lib confmisc.
ALSA lib conf.c:
ALSA lib confmisc.
ALSA lib conf.c:
ALSA lib conf.c:
ALSA lib pcm.c:2102:
Sun, 17 Sep 2006 12:25:16 INFO Step_before = stepLocation
Sun, 17 Sep 2006 12:25:16 INFO switched to page stepKeyboardConf
Sun, 17 Sep 2006 12:25:16 INFO Step_after = stepKeyboardConf
ubiquity: kbd-chooser prepare
ubiquity: Starting up '['/bin/sh', '-c', '. /usr/share/
ubiquity: Watching for question patterns ^kbd-chooser/
ubiquity: apply_keyboard: us
ubiquity: apply_keyboard: layout us, model pc104
ubiquity: Display map: {u'Swedish': u'se-latin1', u'Icelandic': u'is-latin1', u'Estonian': u'et', u'Romanian': u'ro', u'Italian': u'it', u'Latin American': u'la-latin1', u'Dutch': u'nl', u'Brazilian (EUA layout)': u'br-latin1', u'Belgian': u'be2-latin1', u'Danish': u'dk-latin1', u'Bulgarian': u'bg', u'Turkish (F layout)': u'trfu', u'Hungarian': u'hu', u'Macedonian': u'mk', u'Lithuanian': u'lt', u'French': u'fr-latin9', u'Norwegian': u'no-latin1', u'Slovakian': u'sk-qwerty', u'Russian': u'ru', u'Dvorak': u'dvorak', u'Slovene': u'slovene', u'Finnish': u'fi-latin1', u'British English': u'uk', u'Spanish': u'es', u'Greek': u'gr', u'Canadian French': u'cf', u'Latvian': u'lv-latin4', u'American English': u'us', u'Croatian': u'croat', u'Portuguese': u'pt-latin1', u'Czech': u'cz-lat2', u'Ukrainian': u'ua', u'Japanese': u'jp106', u'Belarusian': u'by', u'Turkish (Q layout)': u'trqu', u'German': u'de-latin1-
ubiquity: Untranslated choices: [u'by', u'bg', u'croat', u'cz-lat2', u'sg-latin1', u'de-latin1-
ubiquity: Choices: [u'Belarusian', u'Bulgarian', u'Croatian', u'Czech', u'Swiss German', u'German', u'Danish', u'American English', u'British English', u'Dvorak', u'Estonian', u'Spanish', u'Latin American', u'Finnish', u'French', u'Belgian', u'Canadian French', u'Swiss French', u'Greek', u'Hebrew', u'Hungarian', u'Icelandic', u'Italian', u'Lithuanian', u'Latvian', u'Japanese', u'Macedonian', u'Norwegian', u'Dutch', u'Polish', u'Portuguese', u'Brazilian (ABNT2 layout)', u'Brazilian (EUA layout)', u'Romanian', u'Russian', u'Slovakian', u'Slovene', u'Serbian (Cyrillic)', u'Swedish', u'Turkish (F layout)', u'Turkish (Q layout)', u'Ukrainian']
ubiquity: console-
Sun, 17 Sep 2006 12:25:30 INFO Step_before = stepKeyboardConf
Sun, 17 Sep 2006 12:25:30 INFO switched to page stepUserInfo
Sun, 17 Sep 2006 12:25:30 INFO Step_after = stepUserInfo
ubiquity: Starting up '['/usr/
ubiquity: Watching for question patterns ^passwd/
ON STATE: 1
ON STATE: 2
ON STATE: 3
ON STATE: 4
ON STATE: 5
ON STATE: 6
ON STATE: 7
ON STATE: 8
Sun, 17 Sep 2006 12:25:58 INFO Step_before = stepUserInfo
Sun, 17 Sep 2006 12:25:58 INFO switched to page stepPartDisk
Sun, 17 Sep 2006 12:25:58 INFO Step_after = stepPartDisk
ubiquity: Starting up '/bin/partman' for ubiquity.
ubiquity: Watching for question patterns ^partman-
unsupported
kernelmodules_
kernelmodules_ext3
kernelmodules_jfs
kernelmodules_
kernelmodules_xfs
umount_target
parted
dump
update_partitions
filesystems_
auto_mountpoints
autouse_swap
backup
Sun, 17 Sep 2006 12:26:30 INFO switched to page stepPartAuto
/lib/partman/
/lib/partman/
/lib/partman/
/lib/partman/
/lib/partman/
/lib/partman/
/lib/partman/
/lib/partman/
/lib/partman/
/lib/partman/
/lib/partman/
/lib/partman/
/lib/partman/
/lib/partman/
/lib/partman/
/lib/partman/
/lib/partman/
/lib/partman/
Sun, 17 Sep 2006 12:27:04 INFO switched to page stepReady
ubiquity: Starting up '['/usr/
ubiquity: Watching for question patterns ^ubiquity/summary$
swapon: /dev/hda5: Device or resource busy
swapon: /dev/hda5: Device or resource busy
swapon: /dev/hda5: Device or resource busy
swapon: /dev/hda5: Device or resource busy
umount /target/
swapoff /dev/hda5
chroot: cannot run command `apt-get': No such file or directory
Sun, 17 Sep 2006 12:28:38 INFO progress_loop()
ubiquity: Starting up '['/usr/
ubiquity: Watching for question patterns ^.*/apt-
/usr/lib/
warnings.
cat: /var/lib/
cat: /var/lib/
cat: /var/lib/
cat: /var/lib/
ubiquity: Starting up '['sh', '-c', '/usr/lib/
Reading package lists...
Building dependency tree...
Skipping locales, it is already installed and upgrade is not set.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
E: Couldn't find package localization-config
Reading package lists...
Building dependency tree...
Skipping console-tools, it is already installed and upgrade is not set.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
ubiquity: Starting up '['/usr/
/usr/lib/
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Fetched 659kB in 7s (83.1kB/s)
Reading package lists...
Get:1 http://
Hit http://
Get:2 http://
Get:3 http://
Fetched 257kB in 3s (77.9kB/s)
Reading package lists...
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Fetched 103kB in 2s (49.4kB/s)
Reading package lists...
Get:1 http://
Hit http://
Get:2 http://
Get:3 http://
Fetched 46.3kB in 1s (31.9kB/s)
Reading package lists...
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Fetched 84.5kB in 4s (17.0kB/s)
Reading package lists...
Get:1 http://
Hit http://
Hit http://
Hit http://
Fetched 1B in 1s (1B/s)
Reading package lists...
Get:1 http://
Hit http://
Get:2 http://
Get:3 http://
Fetched 13.1kB in 2s (4675B/s)
Reading package lists...
Sun, 17 Sep 2006 12:47:21 INFO keeping language packs for: en
ubiquity: Starting up '['/usr/
ubiquity: Starting up '['/usr/
ubiquity: Starting up '['/usr/
ubiquity: Starting up '['/usr/
ubiquity: Starting up '['/bin/
find: WARNING: Hard link count is wrong for /lib/modules/
Reading package lists...
Building dependency tree...
Skipping discover1, it is already installed and upgrade is not set.
0 upgraded, 0 newly installed, 0 to remove and 307 not upgraded.
Reading package lists...
Building dependency tree...
Skipping udev, it is already installed and upgrade is not set.
0 upgraded, 0 newly installed, 0 to remove and 307 not upgraded.
Reading package lists...
Building dependency tree...
Skipping usbutils, it is already installed and upgrade is not set.
0 upgraded, 0 newly installed, 0 to remove and 307 not upgraded.
Sun, 17 Sep 2006 12:50:23 INFO chroot /target mount -t proc proc /proc
Sun, 17 Sep 2006 12:50:23 INFO chroot /target mount -t sysfs sysfs /sys
WARNING: Module /lib/modules/
WARNING: Module /lib/modules/
WARNING: Module /lib/modules/
WARNING: Module /lib/modules/
WARNING: Module /lib/modules/
WARNING: Module /lib/modules/
WARNING: Module /lib/modules/
WARNING: Module /lib/modules/
WARNING: Module /lib/modules/
WARNING: Module /lib/modules/
Not touching initrd symlinks since we are being reinstalled (2.6.15-23.39)
Not updating image symbolic links since we are being updated (2.6.15-23.39)
Sun, 17 Sep 2006 12:54:28 INFO chroot /target dpkg-reconfigure -fnoninteractive linux-image-
fcdsl2/lib.o: file not recognized: File format not recognized
fcdslsl/driver.o: file not recognized: File format not recognized
fcdslslusb/
WARNING: Module /lib/modules/
WARNING: Module /lib/modules/
WARNING: Module /lib/modules/
WARNING: Module /lib/modules/
WARNING: Module /lib/modules/
WARNING: Module /lib/modules/
WARNING: Module /lib/modules/
WARNING: Module /lib/modules/
WARNING: Module /lib/modules/
WARNING: Module /lib/modules/
Sun, 17 Sep 2006 12:54:48 INFO chroot /target dpkg-reconfigure -fnoninteractive linux-restricte
Sun, 17 Sep 2006 12:54:49 INFO chroot /target umount /proc
Sun, 17 Sep 2006 12:54:49 INFO chroot /target umount /sys
ubiquity: Starting up '['/usr/
Sun, 17 Sep 2006 12:54:52 INFO mount --bind /proc /target/proc
Sun, 17 Sep 2006 12:54:52 INFO mount --bind /dev /target/dev
ubiquity: Starting up '['/usr/
Reading package lists...
Building dependency tree...
Skipping grub, it is already installed and upgrade is not set.
0 upgraded, 0 newly installed, 0 to remove and 307 not upgraded.
Sun, 17 Sep 2006 12:56:05 INFO switched to page stepPartDisk
ubiquity: ['/usr/
Sun, 17 Sep 2006 12:56:07 INFO umount -f /target/proc
Sun, 17 Sep 2006 12:56:07 INFO umount -f /target/dev
ubiquity: ['/usr/
Exception in GTK frontend (invoking crash handler):
Traceback (most recent call last):
File "/usr/bin/
install(
File "/usr/bin/
ret = wizard.run()
File "/usr/lib/
self.
File "/usr/lib/
raise RuntimeError, ("Install failed with exit code %s; see "
RuntimeError: Install failed with exit code 1; see /var/log/
/var/log/syslog
Sep 17 12:49:41 ubuntu hw-detect: Trying to load module 'triflex'
Sep 17 12:49:41 ubuntu hw-detect: insmod /lib/modules/
Sep 17 12:49:42 ubuntu hw-detect: Detected module 'trm290' for 'IDE chipset support'
Sep 17 12:49:42 ubuntu hw-detect: Trying to load module 'trm290'
Sep 17 12:49:42 ubuntu hw-detect: insmod /lib/modules/
Sep 17 12:49:43 ubuntu hw-detect: Detected module 'via82cxxx' for 'IDE chipset support'
Sep 17 12:49:43 ubuntu hw-detect: Trying to load module 'via82cxxx'
Sep 17 12:49:43 ubuntu hw-detect: insmod /lib/modules/
Sep 17 12:49:44 ubuntu hw-detect: Detected module 'ide-floppy' for 'Linux IDE floppy'
Sep 17 12:49:44 ubuntu hw-detect: Trying to load module 'ide-floppy'
Sep 17 12:49:45 ubuntu hw-detect: insmod /lib/modules/
Sep 17 12:49:45 ubuntu kernel: [ 1971.137837] ide-floppy driver 0.99.newide
Sep 17 12:49:46 ubuntu hw-detect: Detected discover version 1, installing discover1.
Sep 17 12:49:50 ubuntu hw-detect: Detected udev support, installing udev.
Sep 17 12:49:51 ubuntu hw-detect: Detected hotplug support, installing usbutils.Sep 17 12:49:52 ubuntu hw-detect: Missing modules 'ide-core (Linux IDE support), ide-mod (Linux IDE driver), ide-probe-mod (Linux IDE probe driver), ide-detect (Linux IDE detection)
Sep 17 12:50:23 ubuntu logger: register-modules
Sep 17 12:54:57 ubuntu os-prober: debug: running init /usr/lib/
Sep 17 12:54:57 ubuntu os-prober: debug: running /usr/lib/
Sep 17 12:54:59 ubuntu grub-installer: info: Installing grub on '(hd0)'
Sep 17 12:54:59 ubuntu grub-installer: info: grub-install supports --no-floppy
Sep 17 12:54:59 ubuntu grub-installer: info: Running chroot /target /sbin/grub-install --no-floppy "(hd0)"
Sep 17 12:55:00 ubuntu grub-installer: /sbin/grub-install: line 391: //sbin/grub: cannot execute binary file
Sep 17 12:55:01 ubuntu grub-installer: sed: can't read /boot/grub/
Sep 17 12:55:01 ubuntu grub-installer: grep:
Sep 17 12:55:01 ubuntu grub-installer: /boot/grub/
Sep 17 12:55:01 ubuntu grub-installer: : No such file or directory
Sep 17 12:55:01 ubuntu grub-installer:
Sep 17 12:55:01 ubuntu grub-installer: /dev/hda1 does not have any corresponding BIOS drive.
Sep 17 12:55:01 ubuntu grub-installer: error: Running 'grub-install --no-floppy "(hd0)"' failed.
/var/log/partman
parted_server: Partitions printed
parted_server: OUT:
parted_server: Closing infifo and outfifo
parted_server: main_loop: iteration 104
parted_server: Opening infifo
/lib/partman/
/lib/partman/
parted_server: Read command: PARTITIONS
parted_server: command_
parted_server: Opening outfifo
parted_server: OUT: OK
parted_server: OUT: 1 32256-6103157759 6103125504 primary ext2 /dev/hda1
parted_server: OUT: 5 6103190016-
parted_server: Partitions printed
parted_server: OUT:
parted_server: Closing infifo and outfifo
parted_server: main_loop: iteration 105
parted_server: Opening infifo
/lib/partman/
parted_server: Read command: PARTITIONS
parted_server: command_
parted_server: Opening outfifo
parted_server: OUT: OK
parted_server: OUT: 1 32256-6103157759 6103125504 primary ext2 /dev/hda1
parted_server: OUT: 5 6103190016-
parted_server: Partitions printed
parted_server: OUT:
parted_server: Closing infifo and outfifo
parted_server: main_loop: iteration 106
parted_server: Opening infifo
/lib/partman/
/lib/partman/
parted_server: Read command: PARTITIONS
parted_server: command_
parted_server: Opening outfifo
parted_server: OUT: OK
parted_server: OUT: 1 32256-6103157759 6103125504 primary ext2 /dev/hda1
parted_server: OUT: 5 6103190016-
parted_server: Partitions printed
parted_server: OUT:
parted_server: Closing infifo and outfifo
parted_server: main_loop: iteration 107
parted_server: Opening infifo
/lib/partman/
/lib/partman/
parted_server: Read command: PARTITIONS
parted_server: command_
parted_server: Opening outfifo
parted_server: OUT: OK
parted_server: OUT: 1 32256-6103157759 6103125504 primary ext2 /dev/hda1
parted_server: OUT: 5 6103190016-
parted_server: Partitions printed
parted_server: OUT:
parted_server: Closing infifo and outfifo
parted_server: main_loop: iteration 108
parted_server: Opening infifo
/lib/partman/
/lib/partman/
parted_server: Read command: PARTITIONS
parted_server: command_
parted_server: Opening outfifo
parted_server: OUT: OK
parted_server: OUT: 1 32256-6103157759 6103125504 primary ext2 /dev/hda1
parted_server: OUT: 5 6103190016-
parted_server: Partitions printed
parted_server: OUT:
parted_server: Closing infifo and outfifo
parted_server: main_loop: iteration 109
parted_server: Opening infifo
/lib/partman/
/lib/partman/
parted_server: Read command: PARTITIONS
parted_server: command_
parted_server: Opening outfifo
parted_server: OUT: OK
parted_server: OUT: 1 32256-6103157759 6103125504 primary ext2 /dev/hda1
parted_server: OUT: 5 6103190016-
parted_server: Partitions printed
parted_server: OUT:
parted_server: Closing infifo and outfifo
parted_server: main_loop: iteration 110
parted_server: Opening infifo
/lib/partman/
/lib/partman/
parted_server: Read command: PARTITIONS
parted_server: command_
parted_server: Opening outfifo
parted_server: OUT: OK
parted_server: OUT: 1 32256-6103157759 6103125504 primary ext2 /dev/hda1
parted_server: OUT: 5 6103190016-
parted_server: Partitions printed
parted_server: OUT:
parted_server: Closing infifo and outfifo
parted_server: main_loop: iteration 111
parted_server: Opening infifo
/lib/partman/
/lib/partman/
parted_server: Read command: PARTITIONS
parted_server: command_
parted_server: Opening outfifo
parted_server: OUT: OK
parted_server: OUT: 1 32256-6103157759 6103125504 primary ext2 /dev/hda1
parted_server: OUT: 5 6103190016-
parted_server: Partitions printed
parted_server: OUT:
parted_server: Closing infifo and outfifo
parted_server: main_loop: iteration 112
parted_server: Opening infifo
/lib/partman/
/lib/partman/
parted_server: Read command: QUIT
parted_server: Quitting
This is due to problems reading from the CD. You apparently didn't attach the full /var/log/syslog, but no matter, because this doesn't happen on working CDs:
Sep 17 12:55:00 ubuntu grub-installer: /sbin/grub-install: line 391: //sbin/grub: cannot execute binary file
I suggest burning the CD at a lower speed (if applicable) and cleaning the CD drive lens with the sort of cleaning kit you can get at electronics shops; then perform a CD integrity check before starting the install again.