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: 512
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: 512
sectors/track: 63
tracks/cylinder: 255
sectors
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
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 first
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 like
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 ]
: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 [EMAIL
: 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:size
8 matches
Mail list logo