Bug#586320: /usr/sbin/grub-probe: error: unknown filesystem.

Xavier Claude claude.xavier at gmail.com
Fri Jun 18 17:15:17 UTC 2010


Le vendredi 18 juin 2010 19:02:50, Colin Watson a écrit :
> On Fri, Jun 18, 2010 at 02:15:08PM +0200, Xavier Claude wrote:
> > Le vendredi 18 juin 2010 14:07:07, Colin Watson a écrit :
> > > On Fri, Jun 18, 2010 at 01:54:31PM +0200, Xavier Claude wrote:
> > > > I'm on Debian/Sid when I try to install grub-pc instead of grub-legacy, the following errors appear:
> > > > 
> > > > Paramétrage de grub-common (1.98+20100614-2) ...
> > > > Paramétrage de grub-pc (1.98+20100614-2) ...
> > > > Generating core.img
> > > > /usr/sbin/grub-probe: error: unknown filesystem.
> > > > Auto-detection of a filesystem module failed.
> > > > Please specify the module with the option `--modules' explicitly.
> > > 
> > > Please run:
> > > 
> > >   grub-probe -t drive /boot/grub
> > 
> > Here is the output:
> > 
> > xavier-laptop:~# grub-probe -t drive /boot/grub
> > (hd0,msdos2,msdos1)
> 
> Whoa, that's odd.  What do these commands say:
> 
>   fdisk -l /dev/sda

Disk /dev/sda: 100.0 GB, 100030242816 bytes
255 heads, 63 sectors/track, 12161 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xb0fbbfc1

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        3715    29840706    7  HPFS/NTFS
/dev/sda2            3716        8933    41913522   83  Linux
/dev/sda3           10461       12161    13663282+  83  Linux
/dev/sda4            8934       10460    12265627+  83  Linux

Partition table entries are not in disk order

>   parted -s /dev/sda print

Model: ATA HTS541010G9SA00 (scsi)
Disk /dev/sda: 100GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type     File system  Flags
 1      32,3kB  30,6GB  30,6GB  primary  ntfs         boot
 2      30,6GB  73,5GB  42,9GB  primary  ext4
 4      73,5GB  86,0GB  12,6GB  primary  ext3
 3      86,0GB  100GB   14,0GB  primary  ext4

> 
> > + /usr/sbin/grub-probe --device-map=/boot/grub/device.map --target=device /boot/grub
> > + grub_device=/dev/sda4
> > + test -f /boot/grub/grubenv
> > + /usr/sbin/grub-probe --device-map=/boot/grub/device.map --target=fs --device /dev/sda4
> > /usr/sbin/grub-probe: error: unknown filesystem.
> 
> And:
> 
>   grub-probe -vvv --device-map=/boot/grub/device.map --target=fs --device /dev/sda4

disk/raid.c:625: Scanning for RAID devices on disk hd0
kern/disk.c:245: Opening `hd0'...
grub-probe: info: the size of hd0 is 195371568.
kern/emu/hostdisk.c:592: opening the device `/dev/sda' in open_device()
kern/disk.c:334: Closing `hd0'.
kern/disk.c:245: Opening `hd0'...
grub-probe: info: the size of hd0 is 195371568.
kern/emu/hostdisk.c:592: opening the device `/dev/sda' in open_device()
partmap/apple.c:121: bad magic (found 0xeb48; wanted 0x4552
partmap/msdos.c:91: partition 0: flag 0x80, type 0x7, start 0x3f, len 0x38eaa84
kern/emu/hostdisk.c:582: reusing open device `/dev/sda'
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 0x83, start 0x38eab41, len 0x4ff1964
kern/emu/hostdisk.c:592: opening the device `/dev/sda' in open_device()
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 0: flag 0x0, type 0x83, start 0x4ff1964, len 0x1572f78
kern/disk.c:401: Read out of range: sector 0x4ff1964 (out of partition).
kern/disk.c:401: Read out of range: sector 0x4ff1965 (out of partition).
kern/disk.c:401: Read out of range: sector 0x4ff1964 (out of partition).
kern/disk.c:401: Read out of range: sector 0x4ff1964 (out of partition).
kern/disk.c:401: Read out of range: sector 0x4ff1965 (out of partition).
kern/disk.c:401: Read out of range: sector 0x4ff1964 (out of partition).
partmap/msdos.c:91: partition 1: flag 0x0, type 0x5, start 0xffffff83, len 0x4ff19e1
partmap/msdos.c:91: partition 2: flag 0x0, type 0x0, start 0x0, len 0x0
partmap/msdos.c:91: partition 3: flag 0x0, type 0x0, start 0x0, len 0x0
kern/disk.c:401: Read out of range: sector 0xffffff83 (out of partition).
partmap/msdos.c:91: partition 2: flag 0x0, type 0x83, start 0xa0415dc, len 0x1a0f865
kern/emu/hostdisk.c:592: opening the device `/dev/sda' in open_device()
kern/emu/hostdisk.c:592: opening the device `/dev/sda3' in open_device()
partmap/apple.c:121: bad magic (found 0xeb48; wanted 0x4552
partmap/msdos.c:91: partition 0: flag 0x0, type 0x0, start 0x0, len 0x0
partmap/msdos.c:91: partition 1: flag 0x0, type 0x0, start 0x0, len 0x0
partmap/msdos.c:91: partition 2: flag 0x0, type 0x0, start 0x0, len 0x0
partmap/msdos.c:91: partition 3: flag 0x0, type 0x0, start 0x0, len 0x0
partmap/msdos.c:91: partition 3: flag 0x0, type 0x83, start 0x88dc4a5, len 0x1765137
kern/emu/hostdisk.c:592: opening the device `/dev/sda' in open_device()
kern/emu/hostdisk.c:592: opening the device `/dev/sda4' in open_device()
partmap/apple.c:121: bad magic (found 0x0; wanted 0x4552
kern/disk.c:334: Closing `hd0'.
disk/raid.c:625: Scanning for RAID devices on disk hd0,msdos4
kern/disk.c:245: Opening `hd0,msdos4'...
grub-probe: info: the size of hd0 is 195371568.
partmap/msdos.c:91: partition 0: flag 0x80, type 0x7, start 0x3f, len 0x38eaa84
partmap/msdos.c:91: partition 1: flag 0x0, type 0x83, start 0x38eab41, len 0x4ff1964
partmap/msdos.c:91: partition 2: flag 0x0, type 0x83, start 0xa0415dc, len 0x1a0f865
partmap/msdos.c:91: partition 3: flag 0x0, type 0x83, start 0x88dc4a5, len 0x1765137
kern/emu/hostdisk.c:592: opening the device `/dev/sda4' in open_device()
kern/emu/hostdisk.c:582: reusing open device `/dev/sda4'
kern/disk.c:334: Closing `hd0,msdos4'.
disk/raid.c:625: Scanning for RAID devices on disk hd0,msdos3
kern/disk.c:245: Opening `hd0,msdos3'...
grub-probe: info: the size of hd0 is 195371568.
partmap/msdos.c:91: partition 0: flag 0x80, type 0x7, start 0x3f, len 0x38eaa84
partmap/msdos.c:91: partition 1: flag 0x0, type 0x83, start 0x38eab41, len 0x4ff1964
partmap/msdos.c:91: partition 2: flag 0x0, type 0x83, start 0xa0415dc, len 0x1a0f865
kern/emu/hostdisk.c:592: opening the device `/dev/sda3' in open_device()
kern/emu/hostdisk.c:582: reusing open device `/dev/sda3'
kern/disk.c:334: Closing `hd0,msdos3'.
disk/raid.c:625: Scanning for RAID devices on disk hd0,msdos2,msdos1
kern/disk.c:245: Opening `hd0,msdos2,msdos1'...
grub-probe: info: the size of hd0 is 195371568.
partmap/msdos.c:91: partition 0: flag 0x80, type 0x7, start 0x3f, len 0x38eaa84
partmap/msdos.c:91: partition 1: flag 0x0, type 0x83, start 0x38eab41, len 0x4ff1964
partmap/msdos.c:91: partition 0: flag 0x0, type 0x83, start 0x4ff1964, len 0x1572f78
kern/disk.c:401: Read out of range: sector 0x65647e4 (out of partition).
kern/disk.c:334: Closing `hd0,msdos2,msdos1'.
disk/raid.c:625: Scanning for RAID devices on disk hd0,msdos2
kern/disk.c:245: Opening `hd0,msdos2'...
grub-probe: info: the size of hd0 is 195371568.
partmap/msdos.c:91: partition 0: flag 0x80, type 0x7, start 0x3f, len 0x38eaa84
partmap/msdos.c:91: partition 1: flag 0x0, type 0x83, start 0x38eab41, len 0x4ff1964
kern/emu/hostdisk.c:592: opening the device `/dev/sda2' in open_device()
kern/emu/hostdisk.c:582: reusing open device `/dev/sda2'
kern/disk.c:334: Closing `hd0,msdos2'.
disk/raid.c:625: Scanning for RAID devices on disk hd0,msdos1
kern/disk.c:245: Opening `hd0,msdos1'...
grub-probe: info: the size of hd0 is 195371568.
partmap/msdos.c:91: partition 0: flag 0x80, type 0x7, start 0x3f, len 0x38eaa84
kern/emu/hostdisk.c:592: opening the device `/dev/sda1' in open_device()
kern/emu/hostdisk.c:582: reusing open device `/dev/sda1'
kern/disk.c:334: Closing `hd0,msdos1'.
kern/disk.c:245: Opening `hd0'...
grub-probe: info: the size of hd0 is 195371568.
kern/disk.c:334: Closing `hd0'.
kern/disk.c:245: Opening `hd0'...
grub-probe: info: the size of hd0 is 195371568.
partmap/apple.c:121: bad magic (found 0xeb48; wanted 0x4552
partmap/msdos.c:91: partition 0: flag 0x80, type 0x7, start 0x3f, len 0x38eaa84
partmap/apple.c:121: bad magic (found 0xeb52; wanted 0x4552
partmap/msdos.c:91: partition 1: flag 0x0, type 0x83, start 0x38eab41, len 0x4ff1964
partmap/apple.c:121: bad magic (found 0x0; wanted 0x4552
partmap/msdos.c:91: partition 0: flag 0x0, type 0x83, start 0x4ff1964, len 0x1572f78
kern/disk.c:401: Read out of range: sector 0x4ff1964 (out of partition).
kern/disk.c:401: Read out of range: sector 0x4ff1965 (out of partition).
kern/disk.c:401: Read out of range: sector 0x4ff1964 (out of partition).
kern/disk.c:401: Read out of range: sector 0x4ff1964 (out of partition).
kern/disk.c:401: Read out of range: sector 0x4ff1965 (out of partition).
kern/disk.c:401: Read out of range: sector 0x4ff1964 (out of partition).
partmap/msdos.c:91: partition 1: flag 0x0, type 0x5, start 0xffffff83, len 0x4ff19e1
partmap/msdos.c:91: partition 2: flag 0x0, type 0x0, start 0x0, len 0x0
partmap/msdos.c:91: partition 3: flag 0x0, type 0x0, start 0x0, len 0x0
kern/disk.c:401: Read out of range: sector 0xffffff83 (out of partition).
partmap/msdos.c:91: partition 2: flag 0x0, type 0x83, start 0xa0415dc, len 0x1a0f865
partmap/apple.c:121: bad magic (found 0xeb48; wanted 0x4552
partmap/msdos.c:91: partition 0: flag 0x0, type 0x0, start 0x0, len 0x0
partmap/msdos.c:91: partition 1: flag 0x0, type 0x0, start 0x0, len 0x0
partmap/msdos.c:91: partition 2: flag 0x0, type 0x0, start 0x0, len 0x0
partmap/msdos.c:91: partition 3: flag 0x0, type 0x0, start 0x0, len 0x0
partmap/msdos.c:91: partition 3: flag 0x0, type 0x83, start 0x88dc4a5, len 0x1765137
partmap/apple.c:121: bad magic (found 0x0; wanted 0x4552
kern/disk.c:334: Closing `hd0'.
kern/disk.c:245: Opening `hd0,msdos4'...
grub-probe: info: the size of hd0 is 195371568.
partmap/msdos.c:91: partition 0: flag 0x80, type 0x7, start 0x3f, len 0x38eaa84
partmap/msdos.c:91: partition 1: flag 0x0, type 0x83, start 0x38eab41, len 0x4ff1964
partmap/msdos.c:91: partition 2: flag 0x0, type 0x83, start 0xa0415dc, len 0x1a0f865
partmap/msdos.c:91: partition 3: flag 0x0, type 0x83, start 0x88dc4a5, len 0x1765137
kern/emu/hostdisk.c:592: opening the device `/dev/sda4' in open_device()
kern/disk.c:334: Closing `hd0,msdos4'.
kern/disk.c:245: Opening `hd0,msdos3'...
grub-probe: info: the size of hd0 is 195371568.
partmap/msdos.c:91: partition 0: flag 0x80, type 0x7, start 0x3f, len 0x38eaa84
partmap/msdos.c:91: partition 1: flag 0x0, type 0x83, start 0x38eab41, len 0x4ff1964
partmap/msdos.c:91: partition 2: flag 0x0, type 0x83, start 0xa0415dc, len 0x1a0f865
kern/disk.c:334: Closing `hd0,msdos3'.
kern/disk.c:245: Opening `hd0,msdos2,msdos1'...
grub-probe: info: the size of hd0 is 195371568.
partmap/msdos.c:91: partition 0: flag 0x80, type 0x7, start 0x3f, len 0x38eaa84
partmap/msdos.c:91: partition 1: flag 0x0, type 0x83, start 0x38eab41, len 0x4ff1964
partmap/msdos.c:91: partition 0: flag 0x0, type 0x83, start 0x4ff1964, len 0x1572f78
kern/disk.c:401: Read out of range: sector 0x4ff1964 (out of partition).
kern/disk.c:334: Closing `hd0,msdos2,msdos1'.
kern/disk.c:245: Opening `hd0,msdos2'...
grub-probe: info: the size of hd0 is 195371568.
partmap/msdos.c:91: partition 0: flag 0x80, type 0x7, start 0x3f, len 0x38eaa84
partmap/msdos.c:91: partition 1: flag 0x0, type 0x83, start 0x38eab41, len 0x4ff1964
kern/disk.c:334: Closing `hd0,msdos2'.
kern/disk.c:245: Opening `hd0,msdos1'...
grub-probe: info: the size of hd0 is 195371568.
partmap/msdos.c:91: partition 0: flag 0x80, type 0x7, start 0x3f, len 0x38eaa84
kern/disk.c:334: Closing `hd0,msdos1'.
grub-probe: info: /dev/sda4 starts from 143508645.
grub-probe: info: opening the device hd0.
kern/disk.c:245: Opening `hd0'...
grub-probe: info: the size of hd0 is 195371568.
partmap/apple.c:121: bad magic (found 0xeb48; wanted 0x4552
partmap/msdos.c:91: partition 0: flag 0x80, type 0x7, start 0x3f, len 0x38eaa84
grub-probe: info: Partition 0 starts from 63.
partmap/apple.c:121: bad magic (found 0xeb52; wanted 0x4552
partmap/msdos.c:91: partition 1: flag 0x0, type 0x83, start 0x38eab41, len 0x4ff1964
grub-probe: info: Partition 1 starts from 59681601.
partmap/apple.c:121: bad magic (found 0x0; wanted 0x4552
partmap/msdos.c:91: partition 0: flag 0x0, type 0x83, start 0x4ff1964, len 0x1572f78
grub-probe: info: Partition 0 starts from 83827044.
grub-probe: info: opening hd0,msdos2,msdos1.
kern/disk.c:245: Opening `hd0,msdos2,msdos1'...
grub-probe: info: the size of hd0 is 195371568.
partmap/msdos.c:91: partition 0: flag 0x80, type 0x7, start 0x3f, len 0x38eaa84
partmap/msdos.c:91: partition 1: flag 0x0, type 0x83, start 0x38eab41, len 0x4ff1964
partmap/msdos.c:91: partition 0: flag 0x0, type 0x83, start 0x4ff1964, len 0x1572f78
kern/fs.c:54: Detecting afs...
kern/disk.c:401: Read out of range: sector 0x4ff1966 (out of partition).
kern/fs.c:60: afs detection failed.
kern/fs.c:54: Detecting afs_be...
kern/disk.c:401: Read out of range: sector 0x4ff1966 (out of partition).
kern/fs.c:60: afs_be detection failed.
kern/fs.c:54: Detecting befs...
kern/disk.c:401: Read out of range: sector 0x4ff1965 (out of partition).
kern/fs.c:60: befs detection failed.
kern/fs.c:54: Detecting befs_be...
kern/disk.c:401: Read out of range: sector 0x4ff1965 (out of partition).
kern/fs.c:60: befs_be detection failed.
kern/fs.c:54: Detecting xfs...
kern/disk.c:401: Read out of range: sector 0x4ff1964 (out of partition).
kern/fs.c:60: xfs detection failed.
kern/fs.c:54: Detecting ufs1...
kern/disk.c:401: Read out of range: sector 0x4ff19e4 (out of partition).
kern/fs.c:60: ufs1 detection failed.
kern/fs.c:54: Detecting ufs2...
kern/disk.c:401: Read out of range: sector 0x4ff19e4 (out of partition).
kern/fs.c:60: ufs2 detection failed.
kern/fs.c:54: Detecting sfs...
kern/disk.c:401: Read out of range: sector 0x4ff1964 (out of partition).
kern/fs.c:60: sfs detection failed.
kern/fs.c:54: Detecting reiserfs...
kern/disk.c:401: Read out of range: sector 0x4ff19e4 (out of partition).
kern/fs.c:60: reiserfs detection failed.
kern/fs.c:54: Detecting ntfs...
kern/disk.c:401: Read out of range: sector 0x4ff1964 (out of partition).
kern/fs.c:60: ntfs detection failed.
kern/fs.c:54: Detecting nilfs2...
kern/disk.c:401: Read out of range: sector 0x4ff1966 (out of partition).
kern/disk.c:401: Read out of range: sector 0x65648d4 (out of partition).
kern/fs.c:60: nilfs2 detection failed.
kern/fs.c:54: Detecting minix...
kern/disk.c:401: Read out of range: sector 0x4ff1966 (out of partition).
kern/fs.c:60: minix detection failed.
kern/fs.c:54: Detecting jfs...
kern/disk.c:401: Read out of range: sector 0x4ff19a4 (out of partition).
kern/fs.c:60: jfs detection failed.
kern/fs.c:54: Detecting udf...
kern/disk.c:401: Read out of range: sector 0x4ff19a4 (out of partition).
kern/fs.c:60: udf detection failed.
kern/fs.c:54: Detecting iso9660...
kern/disk.c:401: Read out of range: sector 0x4ff19a4 (out of partition).
kern/fs.c:60: iso9660 detection failed.
kern/fs.c:54: Detecting hfsplus...
kern/disk.c:401: Read out of range: sector 0x4ff1966 (out of partition).
kern/fs.c:60: hfsplus detection failed.
kern/fs.c:54: Detecting hfs...
kern/disk.c:401: Read out of range: sector 0x4ff1966 (out of partition).
kern/fs.c:60: hfs detection failed.
kern/fs.c:54: Detecting ext2...
kern/disk.c:401: Read out of range: sector 0x4ff1966 (out of partition).
kern/fs.c:60: ext2 detection failed.
kern/fs.c:54: Detecting fat...
kern/disk.c:401: Read out of range: sector 0x4ff1964 (out of partition).
kern/fs.c:60: fat detection failed.
kern/fs.c:54: Detecting cpiofs...
kern/disk.c:401: Read out of range: sector 0x4ff1964 (out of partition).
kern/fs.c:60: cpiofs detection failed.
kern/fs.c:54: Detecting tarfs...
kern/disk.c:401: Read out of range: sector 0x4ff1964 (out of partition).
kern/fs.c:60: tarfs detection failed.
kern/fs.c:54: Detecting affs...
kern/disk.c:401: Read out of range: sector 0x4ff1964 (out of partition).
kern/fs.c:60: affs detection failed.
grub-probe: error: unknown filesystem.

> 
> Thanks,
> 
> 
I hope it helps.

-- 
Xavier Claude
claude.xavier at gmail.com





More information about the Pkg-grub-devel mailing list