GRUB segfaults on amd64
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub (Ubuntu) |
Fix Released
|
Critical
|
Colin Watson |
Bug Description
I attempted a Hoary install on the usual amd64 test system, which failed to boot
the second stage due to the "GRUB Hard Disk Error" condition. It seemed similar
to the condition described in bug #9705, but after booting the CD and chrooting
for a second attempt, I noticed grub segfaulting. The messages indicate that an
xfs_freeze segfault might be "normal" here, but certainly not a grub segfault.
Warty has been installed on the same system many times without difficulty, so
this is a regression.
--- output ---
Due to a bug in xfs_freeze, the following command might produce a segmentation
fault when /boot/grub is not in an XFS filesystem. This error is harmless and
can be ignored.
xfs_freeze: specified file ["/boot/grub"] is not on an XFS filesystem
/sbin/grub-install: line 516: 19032 Segmentation fault $grub_shell --batch
$no_floppy --device-
root $root_drive
setup $force_lba --stage2=
quit
EOF
Installation finished. No error reported.
This is the contents of the device map /boot/grub/
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install'.
(hd0) /dev/hda
--- output ---
It is also quite disturbing that grub-install chooses to continue in this case,
without issuing an error. It seems quite likely in this case that the grub
installation process did not complete, and this should have resulted in an error
being passed all the way back up to the installer.
Yes, this is the bug I've been talking to Fabio and others about on IRC for the
last week or so. See:
http:// www.ussg. iu.edu/ hypermail/ linux/kernel/ 0501.3/ 1083.html