On 2008/01/03 08:02, Xavier Mertens wrote:
> Is that normal to have a signature of "0x0" reported by fdisk?
> On my other disks, signature is 0xAA55.
You overwrote things you shouldn't have when newfs'ing with
offset=0.
Scribble some zeros over the start of the disk (dd if=/dev/zero
of=/dev/rwd1c
ubject: Re: newfs: cg 0: bad magic number
Ok,
I fixed the disk partitions:
# fdisk wd1
Disk: wd1 geometry: 30515/255/63 [490234752 Sectors]
Offset: 0 Signature: 0x0
Starting EndingLBA Info:
#: id C H S - C H S [ start:
:4902347520 unused 0 0
But I still have the same error at the end of the newfs:
newfs: cg 0: bad magic number
newfs: fsinit1 failed
:(
Xavier
--
Hint: A reload a day, keeps the TAC away .
On Wed, 2 Jan 2008, Ted Unangst wrote:
> On 1/2/08, Xavier Mertens <
Indeed, this test was bad...
But the same occurs with an offset of 63 sectors :(
Same with fdisk:
fdisk: 1> edit 3
Starting EndingLBA Info:
#: id C H S - C H S [ start:size ]
-
On 1/2/08, Xavier Mertens <[EMAIL PROTECTED]> wrote:
> 16 partitions:
> #size offset fstype [fsize bsize cpg]
> a:481950 4.2BSD 2048 16384 16
your partition is not properly offset from the beginning of the disk,
where all the goodies li
2008/1/3, Xavier Mertens <[EMAIL PROTECTED]>:
> When I create some partitions, write them to the disk, restart fdisk, I'm back
> to the same empty config. Is my disk physically dead? :(
http://www.openbsd.org/faq/faq4.html#Install
4.5.2:
"On platforms which use fdisk, it is important that the fir
Good thing OpenBSD only runs on one platform and one type of computer,
eh?
Xavier Mertens wrote:
...
>
> 16 partitions:
> #size offset fstype [fsize bsize cpg]
> a:481950 4.2BSD 2048 16384 16
> c:4902347520
FS on an IDE disk.
> All newfs commands end with:
>
> # newfs /dev/rwd1a
> ..
> ..
> newfs: cg 0: bad magic number
> newfs: fsinit1 failed
>
> Here is the disk info:
>
> # disklabel wd1
> # /dev/rwd1c:
> type: ESDI
> disk: ESDI/IDE disk
> label: Max
Hi *,
I'm trying to build a new FS on an IDE disk.
All newfs commands end with:
# newfs /dev/rwd1a
..
..
newfs: cg 0: bad magic number
newfs: fsinit1 failed
Here is the disk info:
# disklabel wd1
# /dev/rwd1c:
type: ESDI
disk: ESDI/IDE disk
label: Maxtor 6B250R0
flags:
bytes/sector
9 matches
Mail list logo