'grub-install --no-floppy /dev/md0' fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub-installer (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
grub2 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: grub-installer
1.97~beta4-1ubuntu3 from karmic-updates lead to errors on installation on software raid and to unbootable system.
Oct 27 10:37:35 in-target: Настраивается пакет grub-common (1.97~beta4-
Oct 27 10:37:35 in-target:
Oct 27 10:37:35 in-target: Настраивается пакет grub-pc (1.97~beta4-
Oct 27 10:37:36 debconf: Obsolete command TITLE Настраивается пакет grub-pc called
Oct 27 10:37:36 in-target:
Oct 27 10:37:36 in-target: Creating config file /etc/default/grub with new version
Oct 27 10:37:36 in-target:
Oct 27 10:37:36 in-target: Обрабатываются триггеры для libc-bin ...
Oct 27 10:37:36 in-target: ldconfig deferred processing now taking place
Oct 27 10:37:37 anna-install: Installing ext2-modules
Oct 27 10:37:37 os-prober: unknown udeb ext2-modules
Oct 27 10:37:37 anna-install: Installing ext3-modules
Oct 27 10:37:37 os-prober: unknown udeb ext3-modules
Oct 27 10:37:37 anna-install: Installing ext4-modules
Oct 27 10:37:37 os-prober: unknown udeb ext4-modules
Oct 27 10:37:37 anna-install: Installing reiserfs-modules
Oct 27 10:37:37 anna-install: Installing xfs-modules
Oct 27 10:37:37 anna-install: Installing jfs-modules
Oct 27 10:37:37 anna-install: Installing msdos-modules
Oct 27 10:37:37 os-prober: unknown udeb msdos-modules
Oct 27 10:37:37 anna-install: Installing vfat-modules
Oct 27 10:37:37 os-prober: unknown udeb vfat-modules
Oct 27 10:37:37 anna-install: Installing ntfs-modules
Oct 27 10:37:37 anna-install: Installing minix-modules
Oct 27 10:37:37 os-prober: unknown udeb minix-modules
Oct 27 10:37:37 anna-install: Installing hfs-modules
Oct 27 10:37:37 anna-install: Installing hfsplus-modules
Oct 27 10:37:37 os-prober: unknown udeb hfsplus-modules
Oct 27 10:37:37 anna-install: Installing qnx4-modules
Oct 27 10:37:37 os-prober: unknown udeb qnx4-modules
Oct 27 10:37:37 anna-install: Installing ufs-modules
Oct 27 10:37:37 os-prober: unknown udeb ufs-modules
Oct 27 10:37:37 anna-install: Installing fs-core-modules
Oct 27 10:37:37 anna-install: Installing fs-secondary-
Oct 27 10:37:37 os-prober: File descriptor 3 left open
Oct 27 10:37:37 os-prober: File descriptor 4 left open
Oct 27 10:37:37 os-prober: File descriptor 5 left open
Oct 27 10:37:37 os-prober: File descriptor 6 left open
Oct 27 10:37:37 os-prober: debug: running /usr/lib/
Oct 27 10:37:37 50mounted-tests: debug: /dev/sda1 is a swap partition; skipping
Oct 27 10:37:37 os-prober: debug: os detected by /usr/lib/
Oct 27 10:37:37 os-prober: debug: running /usr/lib/
Oct 27 10:37:37 os-prober: debug: running /usr/lib/
Oct 27 10:37:37 50mounted-tests: debug: /dev/sdb1 is a swap partition; skipping
Oct 27 10:37:37 os-prober: debug: os detected by /usr/lib/
Oct 27 10:37:37 os-prober: debug: running /usr/lib/
Oct 27 10:37:37 grub-installer: info: Installing grub on '/dev/md0'
Oct 27 10:37:37 grub-installer: info: grub-install supports --no-floppy
Oct 27 10:37:37 grub-installer: info: Running chroot /target grub-install --no-floppy "/dev/md0"
Oct 27 10:37:38 grub-installer: grub-setup: warn: Attempting to install GRUB to a partition instead of the MBR. This is a BAD idea.
Oct 27 10:37:38 grub-installer: grub-setup: error: Embedding is not possible, but this is required when the root device is on a RAID array or LVM volume.
Oct 27 10:37:38 grub-installer: error: Running 'grub-install --no-floppy "/dev/md0"' failed.
Oct 27 10:37:48 main-menu[420]: (process:12827): File descriptor 3 left open
Oct 27 10:37:48 main-menu[420]: (process:12827): File descriptor 4 left open
Oct 27 10:37:48 main-menu[420]: (process:12827): File descriptor 5 left open
Oct 27 10:37:48 main-menu[420]: (process:12827): File descriptor 6 left open
Oct 27 10:37:48 main-menu[420]: (process:12827): Volume group "md0" not found
1.97~beta4-1ubuntu2 from the CD works fine. Workaround, manually downgrade grub-pc or don't setup network on install (if setup network then grub-pc is updated quietly and lead to unbootable system).
summary: |
- error: Running 'grub-install --no-floppy "/dev/md0"' failed. + 'grub-install --no-floppy /dev/md0' fails |
Confirming:
# grub-install /dev/md1
grub-setup: warn: Attempting to install GRUB to a partition instead of the MBR. This is a BAD idea.
grub-setup: error: Embedding is not possible, but this is required when the root device is on a RAID array or LVM volume.
# cat /proc/mdstat
Personalities : [raid1] [linear] [multipath] [raid0] [raid6] [raid5] [raid4] [raid10]
md1 : active raid1 sda1[0]
184640 blocks [2/1] [U_]
The is 7 MB unused space available before sda1. (I am currently booting from sdb2 since booting from md1 is not possible.)