Comment 9 for bug 695842

Revision history for this message
Peter Matulis (petermatulis) wrote :

So far we can boot in these scenarios:

1. One controller and no MD/LVM; no intervention required
2. Two controllers with no MD/LVM; manual grub install required
3. Two controllers with MD (RAID0) but no LVM; manual grub install required

Attached:

- syslog (10.10_2controllers-yesMD-noLVM_syslog)
- boot sectors for c0d0 and c1d0 (c0d0_sector and c1d0_sector)

From the last install (scenario 3), based on the boot sectors, I confirmed that c0d0 had GRUB installed and c1d0 did not (but do not see any successful installation to c0d0 in the log). Yet I do see where you then installed GRUB manually to each volume. What was in c0d0 might be a remnant of a previous install. Note that the installer is trying to install GRUB to /dev/md0 (?).

Jan 21 21:42:19 grub-installer: info: Installing grub on '/dev/md0'
Jan 21 21:42:19 grub-installer: info: grub-install supports --no-floppy
Jan 21 21:42:19 grub-installer: info: Running chroot /target grub-install --no-floppy --force "/dev/md0"
Jan 21 21:42:20 grub-installer: /usr/sbin/grub-setup: warn: Attempting to install GRUB to a partition instead of the MBR. This is a BAD idea..
Jan 21 21:42:20 grub-installer: /usr/sbin/grub-setup: error: embedding is not possible, but this is required when the root device is on a RAID array or LVM volume.
Jan 21 21:42:20 grub-installer: error: Running 'grub-install --no-floppy --force "/dev/md0"' failed

Then the manual interventions:

Jan 21 21:43:46 grub-installer: info: Installing grub on '/dev/cciss/c0d0'
Jan 21 21:43:46 grub-installer: info: grub-install supports --no-floppy
Jan 21 21:43:46 grub-installer: info: Running chroot /target grub-install --no-floppy --force "/dev/cciss/c0d0"
Jan 21 21:43:47 grub-installer: Installation finished. No error reported.
Jan 21 21:43:47 grub-installer: info: grub-install ran successfully

Jan 21 21:44:14 grub-installer: info: Installing grub on '/dev/cciss/c1d0'
Jan 21 21:44:14 grub-installer: info: grub-install supports --no-floppy
Jan 21 21:44:14 grub-installer: info: Running chroot /target grub-install --no-floppy --force "/dev/cciss/c1d0"
Jan 21 21:44:16 grub-installer: Installation finished. No error reported.
Jan 21 21:44:16 grub-installer: info: grub-install ran successfully