Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Feb 2000 00:38:44 -0700
From:      Warner Losh <imp@village.org>
To:        hackers@freebsd.org
Subject:   mounting openbsd disks
Message-ID:  <200002040738.AAA34757@harmony.village.org>

next in thread | raw e-mail | index | archive | help
I have a need to mount a disk that was partitioned and labeled on
OpenBSD.  I'm getting the following errors when I try:

# disklabel ad2
disklabel: ioctl DIOCGDINFO: Invalid argument

Any chance I can tweak something small and get access to these disks.
Here's what fdisk has to say:

Information from DOS bootblock is:
The data for partition 1 is:
sysid 4,(Primary DOS with 16 bit FAT (<= 32MB))
    start 63, size 20480 (10 Meg), flag 80 (active)
        beg: cyl 0/ sector 1/ head 1;
        end: cyl 20/ sector 5/ head 6
The data for partition 2 is:
sysid 166,(OpenBSD)
    start 20543, size 4198945 (2050 Meg), flag 0
        beg: cyl 1023/ sector 63/ head 255;
        end: cyl 1023/ sector 63/ head 255
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>

Of course I can mount slice 1, but have had no luck with slice 2.

Warner


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200002040738.AAA34757>