[Bug 462171] Re: 'grub-install --no-floppy /dev/md0' fails
Olleg
462171 at bugs.launchpad.net
Thu Jan 12 01:48:59 UTC 2012
After two years this bug is confirmed. :) Incredible. :)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/462171
Title:
'grub-install --no-floppy /dev/md0' fails
Status in “grub-installer” package in Ubuntu:
Confirmed
Status in “grub2” package in Ubuntu:
Confirmed
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-1ubuntu3) ...
Oct 27 10:37:35 in-target:
Oct 27 10:37:35 in-target: Настраивается пакет grub-pc (1.97~beta4-1ubuntu3) ...
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-modules
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/os-probes/50mounted-tests on /dev/sda1
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/os-probes/50mounted-tests
Oct 27 10:37:37 os-prober: debug: running /usr/lib/os-probes/50mounted-tests on /dev/sda2
Oct 27 10:37:37 os-prober: debug: running /usr/lib/os-probes/50mounted-tests on /dev/sdb1
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/os-probes/50mounted-tests
Oct 27 10:37:37 os-prober: debug: running /usr/lib/os-probes/50mounted-tests on /dev/sdb2
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).
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub-installer/+bug/462171/+subscriptions
More information about the foundations-bugs
mailing list