bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #29956] grub-probe --target=fs failure on BSD partitions


From: Grégoire Sutre
Subject: [bug #29956] grub-probe --target=fs failure on BSD partitions
Date: Tue, 25 May 2010 01:10:28 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100414 Iceweasel/3.5.9 (like Firefox/3.5.9)

Follow-up Comment #1, bug #29956 (project grub):

Attached is an image that demonstrates the problem.

(MBR) Partition table:
0: NetBSD (sysid 169)
    start 32, size 1000 (0 MB, Cyls 0-0/32/8)
        PBR is not bootable: All bytes are identical (0x00)
1: Primary DOS with 16 bit FAT <32M (sysid 4)
    start 1040, size 1000 (0 MB, Cyls 0/32/17-0/63/24)

(NetBSD disk label) 5 partitions:
#        size    offset     fstype
 a:      1000        32     4.2BSD
 c:      1000        32     unused
 d:      2048         0     unused
 e:      1000      1040      MSDOS


niagara# grub2-probe --target=fs --device-map=/dev/null -d /dev/rvnd0e
grub2-probe: error: unknown filesystem.


The problem likely comes from the fact that e: is not contained in the NetBSD
MBR partition (or, at least, the sectors that are read to determine its fs
type).

If the MBR partition table is changed as follows:

0: NetBSD (sysid 169)
    start 32, size 1200 (1 MB, Cyls 0-0/47/28)
        PBR is not bootable: All bytes are identical (0x00)
1: <UNUSED>

Then the problem disappears.


(file #20612)
    _______________________________________________________

Additional Item Attachment:

File name: bsdlabel-fs-bug.img.gz         Size:4 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?29956>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]