[prev in list] [next in list] [prev in thread] [next in thread]
List: dragonfly-bugs
Subject: Re: fdisk/disklabel broken for usb sticks ..
From: Matthew Dillon <dillon () apollo ! backplane ! com>
Date: 2007-05-26 3:04:23
Message-ID: 200705260304.l4Q34NrA040231 () apollo ! backplane ! com
[Download RAW message or body]
:..
:dscheck(#da/0x10002): illegal partition number (2) for WHOLE_DISK_SLICE access
:
:
:fdisk fails to read disk partition table. disklabel is likewise confused.
:
:The stick in question has a standard partition table and one dos partition.
:
:It worked last week.
:
:Should be easily reproducible.
:
:Cheers,
:
:Andrew
You need to do a full buildworld/installworld/upgrade. Make sure you
have the latest MAKEDEV from /usr/src/etc/MAKEDEV, and remake all your
devices. In fact, rm your disk devices before you remake them to be
sure you got them all.
cp /usr/src/etc/MAKEDEV /dev/MAKEDEV
cd /dev
rm da*
./MAKEDEV da0
fdisk will operate on a raw disk. disklabel only operates on a slice.
Any entities that did not have MBR's (were not fdisked) before, but
did have disklabels, can be accessed via slice 0 (e.g. da0s0a instead
of da0a).
-Matt
Matthew Dillon
<dillon@backplane.com>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic