Bug#589873: grub-pc: fails to install in mbr during postinstall
Mario 'BitKoenig' Holbe
Mario.Holbe at TU-Ilmenau.DE
Thu Jul 22 13:50:45 UTC 2010
package grub-pc
severity 589854 grave
merge 589854 589873
thanks
On Wed, Jul 21, 2010 at 10:06:51PM +0100, Colin Watson wrote:
> sh -x /usr/sbin/grub-install $(readlink -f /dev/disk/by-id/ata-WDC_WD1002FBYS-02A6B0_WD-WMATV5728872)
> ... and post the output to this bug.
I'm not Achim, but since our bugs are very likely equal... :)
# sh -x /usr/sbin/grub-install /dev/sda
[... all the copy-stuff removed...]
+ test -f /usr/share/locale/zh_TW.Big5/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/zu/LC_MESSAGES/grub.mo
+ /usr/sbin/grub-probe --device-map=/boot/grub/device.map --target=device /boot/grub
+ grub_device=/dev/md0
+ test -f /boot/grub/grubenv
+ /usr/sbin/grub-probe --device-map=/boot/grub/device.map --target=fs --device /dev/md0
/usr/sbin/grub-probe: error: unknown filesystem.
+ fs_module=
+ test x = x -a x = x
+ echo Auto-detection of a filesystem module failed.
Auto-detection of a filesystem module failed.
+ echo Please specify the module with the option `--modules' explicitly.
Please specify the module with the option `--modules' explicitly.
+ exit 1
# /usr/sbin/grub-probe -v --device-map=/boot/grub/device.map --target=fs --device /dev/md0
/usr/sbin/grub-probe: info: the size of hd0 is 976773168.
...
/usr/sbin/grub-probe: info: the size of hd5 is 2930277168.
/usr/sbin/grub-probe: info: opening md0.
/usr/sbin/grub-probe: error: unknown filesystem.
# /usr/sbin/grub-probe -vv --device-map=/boot/grub/device.map --target=fs --device /dev/md0
/usr/sbin/grub-probe: info: opening md0.
kern/disk.c:245: Opening `md0'...
disk/raid.c:134: md0: total_devs=3, disk_size=481664
disk/raid.c:163: md0: level=1, total_sectors=481664
kern/fs.c:54: Detecting afs...
kern/fs.c:60: afs detection failed.
kern/fs.c:54: Detecting afs_be...
kern/fs.c:60: afs_be detection failed.
kern/fs.c:54: Detecting befs...
kern/fs.c:60: befs detection failed.
kern/fs.c:54: Detecting befs_be...
kern/fs.c:60: befs_be detection failed.
kern/fs.c:54: Detecting xfs...
kern/fs.c:60: xfs detection failed.
kern/fs.c:54: Detecting ufs1...
kern/emu/hostdisk.c:582: reusing open device `/dev/sda2'
kern/emu/hostdisk.c:582: reusing open device `/dev/sda2'
kern/emu/hostdisk.c:582: reusing open device `/dev/sda2'
kern/emu/hostdisk.c:582: reusing open device `/dev/sda2'
kern/emu/hostdisk.c:582: reusing open device `/dev/sda2'
kern/emu/hostdisk.c:582: reusing open device `/dev/sda2'
kern/fs.c:60: ufs1 detection failed.
kern/fs.c:54: Detecting ufs2...
kern/fs.c:60: ufs2 detection failed.
kern/fs.c:54: Detecting sfs...
kern/fs.c:60: sfs detection failed.
kern/fs.c:54: Detecting reiserfs...
kern/fs.c:60: reiserfs detection failed.
kern/fs.c:54: Detecting ntfs...
kern/fs.c:60: ntfs detection failed.
kern/fs.c:54: Detecting nilfs2...
kern/emu/hostdisk.c:582: reusing open device `/dev/sda2'
kern/fs.c:60: nilfs2 detection failed.
kern/fs.c:54: Detecting minix...
kern/fs.c:60: minix detection failed.
kern/fs.c:54: Detecting jfs...
kern/emu/hostdisk.c:582: reusing open device `/dev/sda2'
kern/emu/hostdisk.c:582: reusing open device `/dev/sda2'
kern/fs.c:60: jfs detection failed.
kern/fs.c:54: Detecting udf...
kern/fs.c:60: udf detection failed.
kern/fs.c:54: Detecting iso9660...
kern/fs.c:60: iso9660 detection failed.
kern/fs.c:54: Detecting hfsplus...
kern/fs.c:60: hfsplus detection failed.
kern/fs.c:54: Detecting hfs...
kern/fs.c:60: hfs detection failed.
kern/fs.c:54: Detecting ext2...
kern/fs.c:60: ext2 detection failed.
kern/fs.c:54: Detecting fat...
kern/fs.c:60: fat detection failed.
kern/fs.c:54: Detecting cpiofs...
kern/fs.c:60: cpiofs detection failed.
kern/fs.c:54: Detecting tarfs...
kern/fs.c:60: tarfs detection failed.
kern/fs.c:54: Detecting affs...
kern/fs.c:60: affs detection failed.
/usr/sbin/grub-probe: error: unknown filesystem.
# grep -A2 ^md0 /proc/mdstat
md0 : active raid1 sda2[0] sdb2[1]
240832 blocks [3/2] [UU_]
# grep ^/dev/md0 /etc/fstab
/dev/md0 /boot ext2 defaults,nosuid,nodev,noexec 0 2
#
Btw... it doesn't matter whether the array is degraded or not.
regards
Mario
--
I heard, if you play a NT-CD backwards, you get satanic messages...
That's nothing. If you play it forwards, it installs NT.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 482 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20100722/37528c7e/attachment.pgp>
More information about the Pkg-grub-devel
mailing list