problem: bsdlabel

Nenhum_de_Nos matheus at eternamente.info
Wed Mar 28 20:17:58 UTC 2012


hail,

I partitioned the disk this way:

 fdisk da0
******* Working on device /dev/da0 *******
parameters extracted from in-core disklabel are:
cylinders=12161 heads=255 sectors/track=63 (16065 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=12161 heads=255 sectors/track=63 (16065 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 166 (0xa6),(OpenBSD)
    start 126, size 20964699 (10236 Meg), flag 0
        beg: cyl 0/ head 2/ sector 1;
        end: cyl 280/ head 254/ sector 63
The data for partition 2 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
    start 20971629, size 8379126 (4091 Meg), flag 0
        beg: cyl 281/ head 108/ sector 1;
        end: cyl 802/ head 254/ sector 63
The data for partition 3 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
    start 29350755, size 41929650 (20473 Meg), flag 0
        beg: cyl 803/ head 0/ sector 1;
        end: cyl 340/ head 254/ sector 63
The data for partition 4 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
    start 71280405, size 124086060 (60588 Meg), flag 80 (active)
        beg: cyl 341/ head 0/ sector 1;
        end: cyl 896/ head 254/ sector 63


but when was time to label it, I did it wrong:

bsdlabel -w da0

should have aimed slice 2

now, I just get da0 on /dev and sysinstall only sees da0 also. but fdisk sees it all (as showed
above)

how can I erase all label info from da0 (not da0s1 or da0s2).

I tried to rewrite fdisk and all mbr info, but label info is still there.

I'd like not to have to reinstall OpenBSD, if possible.

thanks,

matheus

-- 
We will call you Cygnus,
The God of balance you shall be

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

http://en.wikipedia.org/wiki/Posting_style


More information about the freebsd-stable mailing list