Bug#589873: grub-pc: fails to install in mbr during postinstall
On Saturday 24 July 2010 06:36:01 Mario 'BitKoenig' Holbe wrote: On Thu, Jul 22, 2010 at 09:37:15PM +0100, Colin Watson wrote: Could you try 1.98+20100722-1 once it's available? I think it may fix this. For me it did: Richte grub-common ein (1.98+20100722-1) ... Richte grub-pc ein (1.98+20100722-1) ... Installation finished. No error reported. Installation finished. No error reported. Installation finished. No error reported. Generating grub.cfg ... Sad to say: nope, it doesn't... Setting up grub-pc (1.98+20100722-1) ... /usr/sbin/grub-probe: error: unknown filesystem. Auto-detection of a filesystem module failed. Please specify the module with the option `--modules' explicitly. # /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 ext2... kern/fs.c:60: ext2 detection failed. ... # mdadm -E /dev/sda2 /dev/sda2: Magic : a92b4efc Version : 0.90.00 ... Raid Level : raid1 Used Dev Size : 240832 (235.23 MiB 246.61 MB) Array Size : 240832 (235.23 MiB 246.61 MB) Raid Devices : 3 Total Devices : 2 Preferred Minor : 0 ... regards Mario -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#589873: grub-pc: fails to install in mbr during postinstall
On Sat, Jul 24, 2010 at 06:36:01AM +0200, Mario 'BitKoenig' Holbe wrote: On Thu, Jul 22, 2010 at 09:37:15PM +0100, Colin Watson wrote: Could you try 1.98+20100722-1 once it's available? I think it may fix this. Sad to say: nope, it doesn't... /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 ext2... kern/fs.c:60: ext2 detection failed. Did a little more debugging: kern/fs.c:54: Detecting ext2... fs/ext2.c:855: grub_ext2_dir(): grub_ext2_mount() fs/ext2.c:541: grub_ext2_mount() fs/ext2.c:547: grub_ext2_mount(): grub_disk_read() kern/disk.c:396: grub_disk_read(disk = md0, sector = 2, offset = 0, size = 336) kern/disk.c:407: grub_disk_read() after grub_disk_adjust_range(): sector = 2, offset = 0) fs/ext2.c:571: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fs/ext2.c:571: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fs/ext2.c:571: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fs/ext2.c:571: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fs/ext2.c:571: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fs/ext2.c:571: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fs/ext2.c:571: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fs/ext2.c:571: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fs/ext2.c:571: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fs/ext2.c:571: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fs/ext2.c:571: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fs/ext2.c:571: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fs/ext2.c:571: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fs/ext2.c:571: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fs/ext2.c:571: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fs/ext2.c:571: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fs/ext2.c:571: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fs/ext2.c:571: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fs/ext2.c:571: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fs/ext2.c:571: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fs/ext2.c:571: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fs/ext2.c:575: grub_ext2_mount(): EXT2_MAGIC: 0 kern/fs.c:60: ext2 detection failed. The dump is data-sblock in grub_ext2_mount(). There are no real read()s in strace around this, so the data seems to come from grub's cache. But there's data on disk: # hexdump -C /dev/md0 ... 0200 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 || * 0400 50 eb 00 00 c0 ac 03 00 09 2f 00 00 31 f7 02 00 |Pë..À¬.../..1÷..| 0410 65 ea 00 00 01 00 00 00 00 00 00 00 00 00 00 00 |eê..| 0420 00 20 00 00 00 20 00 00 d8 07 00 00 68 6b 47 4c |. ... ..Ø...hkGL| 0430 42 13 4b 4c 06 00 14 00 53 ef 00 00 02 00 00 00 |B.KLSï..| 0440 f3 0d 42 4c 00 4e ed 00 00 00 00 00 01 00 00 00 |ó.BL.Ní.| 0450 00 00 00 00 0b 00 00 00 80 00 00 00 38 00 00 00 |8...| 0460 02 00 00 00 01 00 00 00 d0 fc 44 a3 cd 4a 42 79 |ÐüD£ÍJBy| 0470 b5 88 ce ef 6f 45 e1 81 62 6f 6f 74 00 00 00 00 |µ.ÎïoEá.boot| 0480 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 || # hexdump -C /dev/sda2 ... 0200 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 || * 0400 50 eb 00 00 c0 ac 03 00 09 2f 00 00 31 f7 02 00 |Pë..À¬.../..1÷..| 0410 65 ea 00 00 01 00 00 00 00 00 00 00 00 00 00 00 |eê..| 0420 00 20 00 00 00 20 00 00 d8 07 00 00 68 6b 47 4c |. ... ..Ø...hkGL| 0430 42 13 4b 4c 06 00 14 00 53 ef 00 00 02 00 00 00 |B.KLSï..| 0440 f3 0d 42 4c 00 4e ed 00 00 00 00 00 01 00 00 00 |ó.BL.Ní.| 0450 00 00 00 00 0b 00 00 00 80 00 00 00 38 00 00 00 |8...| 0460 02 00 00 00 01 00 00 00 d0 fc 44 a3 cd 4a 42 79 |ÐüD£ÍJBy| 0470 b5 88 ce ef 6f 45 e1 81 62 6f 6f 74 00 00 00 00 |µ.ÎïoEá.boot| 0480 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 || regards Mario -- Das Gegenteil einer trivialen Wahrheit ist falsch; das Gegenteil einer grossen Wahrheit ist ebenfalls wahr. -- Niels Bohr signature.asc Description: Digital signature
Bug#589873: grub-pc: fails to install in mbr during postinstall
On Sat, Jul 24, 2010 at 09:27:44AM +0200, Achim Schaefer wrote: On Saturday 24 July 2010 06:36:01 Mario 'BitKoenig' Holbe wrote: On Thu, Jul 22, 2010 at 09:37:15PM +0100, Colin Watson wrote: Could you try 1.98+20100722-1 once it's available? I think it may fix this. For me it did: In that case, Mario, please undo your incorrect merging of your bug with Achim's, since they manifestly have different causes. -- Colin Watson [cjwat...@debian.org] -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#589873: grub-pc: fails to install in mbr during postinstall
package grub-pc unmerge 589854 thanks On Sat, Jul 24, 2010 at 11:44:00PM +0100, Colin Watson wrote: In that case, Mario, please undo your incorrect merging of your bug with Achim's, since they manifestly have different causes. -- We are the Bore. Resistance is futile. You will be bored. signature.asc Description: Digital signature
Processed: Re: Bug#589873: grub-pc: fails to install in mbr during postinstall
Processing commands for cont...@bugs.debian.org: package grub-pc Limiting to bugs with field 'package' containing at least one of 'grub-pc' Limit currently set to 'package':'grub-pc' unmerge 589854 Bug#589854: grub-pc: grub-install fails after upgrade Bug#589873: grub-pc: fails to install in mbr during postinstall Disconnected #589854 from all other report(s). thanks Stopping processing here. Please contact me if you need assistance. -- 589873: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=589873 589854: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=589854 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#589854: Bug#589873: grub-pc: fails to install in mbr during postinstall
On Sat, Jul 24, 2010 at 11:44:00PM +0100, Colin Watson wrote: In that case, Mario, please undo your incorrect merging of your bug with Achim's, since they manifestly have different causes. I'm just going to bounce my newer comments to 589854, please don't get confused. I have no idea how to do this through the BTS. Mario -- The question of whether a computer can think is no more interesting than the question of whether a submarine can swim. -- E. W. Dijkstra signature.asc Description: Digital signature
Bug#589873: grub-pc: fails to install in mbr during postinstall
On Thu, Jul 22, 2010 at 09:37:15PM +0100, Colin Watson wrote: Could you try 1.98+20100722-1 once it's available? I think it may fix this. Sad to say: nope, it doesn't... Setting up grub-pc (1.98+20100722-1) ... /usr/sbin/grub-probe: error: unknown filesystem. Auto-detection of a filesystem module failed. Please specify the module with the option `--modules' explicitly. # /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 ext2... kern/fs.c:60: ext2 detection failed. ... # mdadm -E /dev/sda2 /dev/sda2: Magic : a92b4efc Version : 0.90.00 ... Raid Level : raid1 Used Dev Size : 240832 (235.23 MiB 246.61 MB) Array Size : 240832 (235.23 MiB 246.61 MB) Raid Devices : 3 Total Devices : 2 Preferred Minor : 0 ... regards Mario -- Selbst im Hirn des weisesten Mannes gibt es einen toerichten Winkel. -- Aristoteles signature.asc Description: Digital signature
Processed: Re: Bug#589873: grub-pc: fails to install in mbr during postinstall
Processing commands for cont...@bugs.debian.org: package grub-pc Limiting to bugs with field 'package' containing at least one of 'grub-pc' Limit currently set to 'package':'grub-pc' severity 589854 grave Bug #589854 [grub-pc] grub-pc: grub-install fails after upgrade Severity set to 'grave' from 'important' merge 589854 589873 Bug#589854: grub-pc: grub-install fails after upgrade Bug#589873: grub-pc: fails to install in mbr during postinstall Merged 589854 589873. thanks Stopping processing here. Please contact me if you need assistance. -- 589873: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=589873 589854: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=589854 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#589873: grub-pc: fails to install in mbr during postinstall
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 ext2defaults,nosuid,nodev,noexec0 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. signature.asc Description: Digital signature
Bug#589873: grub-pc: fails to install in mbr during postinstall
Here is my output: On Thursday 22 July 2010 15:50:45 Mario 'BitKoenig' Holbe wrote: 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. # 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 The above looks exactly the same. # /usr/sbin/grub-probe -v --device-map=/boot/grub/device.map --target=fs ... /usr/sbin/grub-probe: error: unknown filesystem. Minor diffs for the -v above, but nothing special # grep -A2 ^md0 /proc/mdstat similar, but not the same: # grep -A2 ^md0 /proc/mdstat md0 : active raid1 sda2[0] sdc2[1] 19534976 blocks [2/2] [UU] # grep ^/dev/md0 /etc/fstab I mount via UUID: sh -x /usr/sbin/grub-install $(readlink -f /dev/disk/by-id/ata- WDC_WD1002FBYS-02A6B0_WD-WMATV5728872) and here come the big log : /usr/sbin/grub-probe -vv --device-map=/boot/grub/device.map --target=fs -- device /dev/md0 disk/raid.c:655: Scanning for RAID devices on disk hd0 kern/disk.c:245: Opening `hd0'... /usr/sbin/grub-probe: info: the size of hd0 is 1953525168. kern/emu/hostdisk.c:592: opening the device `/dev/sda' in open_device() kern/emu/hostdisk.c:582: reusing open device `/dev/sda' kern/emu/hostdisk.c:582: reusing open device `/dev/sda' kern/emu/hostdisk.c:582: reusing open device `/dev/sda' kern/disk.c:334: Closing `hd0'. kern/disk.c:245: Opening `hd0'... /usr/sbin/grub-probe: info: the size of hd0 is 1953525168. partmap/apple.c:121: bad magic (found 0xeb63; wanted 0x4552 partmap/msdos.c:91: partition 0: flag 0x80, type 0x7, start 0x3f, len 0x2542941 kern/emu/hostdisk.c:592: opening the device `/dev/sda' in open_device() kern/emu/hostdisk.c:592: opening the device `/dev/sda1' in open_device() kern/emu/hostdisk.c:582: reusing open device `/dev/sda1' partmap/apple.c:121: bad magic (found 0xeb52; wanted 0x4552 partmap/msdos.c:91: partition 1: flag 0x0, type 0xfd, start 0x2542980, len 0x2542980 kern/emu/hostdisk.c:592: opening the device `/dev/sda2' in open_device() partmap/apple.c:121: bad magic (found 0x0; wanted 0x4552 partmap/msdos.c:91: partition 2: flag 0x0, type 0xfd, start 0x4a85300, len 0x1ac6a37b kern/emu/hostdisk.c:592: opening the device `/dev/sda3' in open_device() partmap/apple.c:121: bad magic (found 0x0; wanted 0x4552 partmap/msdos.c:91: partition 3: flag 0x0, type 0x5, start 0x1f6ef67b, len 0x55016346 kern/emu/hostdisk.c:592: opening the device `/dev/sda' in open_device() partmap/msdos.c:91: partition 0: flag 0x0, type 0xfd, start 0x1f6ef67d, len 0x12a18a82 partmap/apple.c:121: bad magic (found 0xfc4e; wanted 0x4552 partmap/msdos.c:91: partition 1: flag 0x0, type 0x5, start 0x321080ff, len 0x425fd8c2 partmap/msdos.c:91: partition 2: flag 0x0, type 0x0, start 0x1f6ef67b, len 0x0 partmap/msdos.c:91: partition 3: flag 0x0, type 0x0, start 0x1f6ef67b, len 0x0 kern/emu/hostdisk.c:582: reusing open device `/dev/sda' partmap/msdos.c:91: partition 0: flag 0x0, type 0x83, start 0x3210813e, len 0x425fd883 kern/emu/hostdisk.c:582: reusing open device `/dev/sda' kern/emu/hostdisk.c:592: opening the device `/dev/sda6' in open_device() partmap/apple.c:121: bad magic (found 0x0; wanted 0x4552 partmap/msdos.c:91: partition 1: flag 0x0, type 0x0, start 0x321080ff, len 0x0 partmap/msdos.c:91: partition 2: flag 0x0, type 0x0, start 0x321080ff, len 0x0 partmap/msdos.c:91: partition 3: flag 0x0, type 0x0, start 0x321080ff, len 0x0 kern/disk.c:334: Closing `hd0'. disk/raid.c:655: Scanning for RAID devices on disk hd0,msdos6 kern/disk.c:245: Opening `hd0,msdos6'... /usr/sbin/grub-probe: info: the size of hd0 is 1953525168. partmap/msdos.c:91: partition 0: flag 0x80, type 0x7, start 0x3f, len 0x2542941 partmap/msdos.c:91: partition 1: flag 0x0, type 0xfd, start 0x2542980, len 0x2542980 partmap/msdos.c:91: partition 2: flag 0x0, type 0xfd, start 0x4a85300, len 0x1ac6a37b partmap/msdos.c:91: partition 3: flag 0x0, type 0x5, start 0x1f6ef67b, len 0x55016346 partmap/msdos.c:91: partition 0: flag 0x0, type 0xfd, start 0x1f6ef67d, len 0x12a18a82 partmap/msdos.c:91: partition 1: flag 0x0, type 0x5, start 0x321080ff, len 0x425fd8c2 partmap/msdos.c:91: partition 2: flag 0x0, type 0x0, start 0x1f6ef67b, len 0x0 partmap/msdos.c:91: partition 3: flag
Bug#589873: grub-pc: fails to install in mbr during postinstall
On Thu, Jul 22, 2010 at 10:10:31PM +0200, Achim Schaefer wrote: kern/disk.c:245: Opening `md2'... disk/raid.c:134: md2: total_devs=2, disk_size=39069952 disk/raid.c:163: md2: level=1, total_sectors=39069952 kern/disk.c:334: Closing `md2'. [...] Could you try 1.98+20100722-1 once it's available? I think it may fix this. -- Colin Watson [cjwat...@debian.org] -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#589873: grub-pc: fails to install in mbr during postinstall
Package: grub-pc Version: 1.98+20100720-1 Severity: grave Justification: renders package unusable During postinstall I get the question on which drives to install grub in the mbr. I choose all three (as always in the past). Now the postinstall fails with: Richte grub-pc ein (1.98+20100720-1) ... /usr/sbin/grub-probe: error: no such disk. Auto-detection of a filesystem module failed. Please specify the module with the option `--modules' explicitly. for every drive. And same error some lines below: Generating grub.cfg ... /usr/sbin/grub-probe: error: no such disk. For a new installation this would case a non functional boot. As it seems nothing was touched, I assume my system will still boot-) -- Package-specific info: *** BEGIN /proc/mounts /dev/disk/by-uuid/8346af3f-063f-4ef3-99c8-f0ee54727784 / ext3 rw,relatime,errors=remount-ro,data=ordered 0 0 /dev/mapper/vg_md1-home /home ext3 rw,relatime,errors=continue,data=ordered 0 0 /dev/mapper/vg_md2-data /srv ext3 rw,relatime,errors=continue,data=ordered 0 0 /dev/mapper/vg_WD1002FBYS-unsecure /unsecure ext3 rw,relatime,errors=continue,data=ordered 0 0 /dev/mapper/vg_md1-usr /usr ext3 rw,relatime,errors=continue,data=ordered 0 0 /dev/mapper/vg_md1-var /var ext3 rw,relatime,errors=continue,data=ordered 0 0 /dev/mapper/vg_WD1002FBYS-unsecure /var/lib/boinc-client ext3 rw,relatime,errors=continue,data=ordered 0 0 *** END /proc/mounts *** BEGIN /boot/grub/device.map (hd0) /dev/disk/by-id/ata-WDC_WD1002FBYS-02A6B0_WD-WMATV5728872 (hd1) /dev/disk/by-id/ata-SAMSUNG_SP1614C_s01xj10xc19164 (hd2) /dev/disk/by-id/ata-WDC_WD2500YD-01NVB1_WD-WCANK1775659 *** END /boot/grub/device.map *** BEGIN /boot/grub/grub.cfg # # DO NOT EDIT THIS FILE # # It is automatically generated by grub-mkconfig using templates # from /etc/grub.d and settings from /etc/default/grub # ### BEGIN /etc/grub.d/00_header ### if [ -s $prefix/grubenv ]; then load_env fi set default=0 if [ ${prev_saved_entry} ]; then set saved_entry=${prev_saved_entry} save_env saved_entry set prev_saved_entry= save_env prev_saved_entry set boot_once=true fi function savedefault { if [ -z ${boot_once} ]; then saved_entry=${chosen} save_env saved_entry fi } function load_video { insmod vbe insmod vga insmod video_bochs insmod video_cirrus } insmod raid insmod mdraid insmod lvm insmod part_msdos insmod part_msdos insmod ext2 set root='(vg_md1-usr)' search --no-floppy --fs-uuid --set 5844f721-7e17-4f60-ae85-0b07b4a68c1c if loadfont /share/grub/unicode.pf2 ; then set gfxmode=1024x768 load_video insmod gfxterm fi if terminal_output gfxterm ; then true ; else # For backward compatibility with versions of terminal.mod that don't # understand terminal_output terminal gfxterm fi insmod raid insmod mdraid insmod part_msdos insmod part_msdos insmod ext2 set root='(md0)' search --no-floppy --fs-uuid --set 8346af3f-063f-4ef3-99c8-f0ee54727784 set locale_dir=($root)/boot/grub/locale set lang=en insmod gettext set timeout=5 ### END /etc/grub.d/00_header ### ### BEGIN /etc/grub.d/05_debian_theme ### insmod raid insmod mdraid insmod part_msdos insmod part_msdos insmod ext2 set root='(md0)' search --no-floppy --fs-uuid --set 8346af3f-063f-4ef3-99c8-f0ee54727784 insmod png if background_image /boot/grub/moreblue-orbit-grub.png ; then set color_normal=black/black set color_highlight=magenta/black else set menu_color_normal=cyan/blue set menu_color_highlight=white/blue fi ### END /etc/grub.d/05_debian_theme ### ### BEGIN /etc/grub.d/10_linux ### menuentry 'Debian GNU/Linux, with Linux 2.6.34-1-686' --class debian --class gnu-linux --class gnu --class os { insmod raid insmod mdraid insmod part_msdos insmod part_msdos insmod ext2 set root='(md0)' search --no-floppy --fs-uuid --set 8346af3f-063f-4ef3-99c8-f0ee54727784 echo'Loading Linux 2.6.34-1-686 ...' linux /boot/vmlinuz-2.6.34-1-686 root=UUID=8346af3f-063f-4ef3-99c8-f0ee54727784 ro video=VGA-1:1024x768 nmi_watchdog=0 quiet echo'Loading initial ramdisk ...' initrd /boot/initrd.img-2.6.34-1-686 } menuentry 'Debian GNU/Linux, with Linux 2.6.34-1-686 (recovery mode)' --class debian --class gnu-linux --class gnu --class os { insmod raid insmod mdraid insmod part_msdos insmod part_msdos insmod ext2 set root='(md0)' search --no-floppy --fs-uuid --set 8346af3f-063f-4ef3-99c8-f0ee54727784 echo'Loading Linux 2.6.34-1-686 ...' linux /boot/vmlinuz-2.6.34-1-686 root=UUID=8346af3f-063f-4ef3-99c8-f0ee54727784 ro single video=VGA-1:1024x768 nmi_watchdog=0 echo'Loading initial ramdisk ...' initrd /boot/initrd.img-2.6.34-1-686 } menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-openvz-686' --class debian --class gnu-linux --class gnu
Bug#589873: grub-pc: fails to install in mbr during postinstall
On Wed, Jul 21, 2010 at 09:50:31PM +0200, Achim Schaefer wrote: During postinstall I get the question on which drives to install grub in the mbr. I choose all three (as always in the past). Now the postinstall fails with: Richte grub-pc ein (1.98+20100720-1) ... /usr/sbin/grub-probe: error: no such disk. Please run, as root: 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. Thanks, -- Colin Watson [cjwat...@debian.org] -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org