Re: Can't see OpenBSD's slices

From: Emil Mikulic <emikulic_at_dmr.ath.cx>
Date: Fri, 4 Feb 2005 18:34:33 +1100
On Thu, Feb 03, 2005 at 08:57:04PM -0800, Doug White wrote:
> On Thu, 3 Feb 2005, Emil Mikulic wrote:
> > ad1 is a hard-drive taken from an OpenBSD machine that had / and swap
> > and /tmp and /var and /usr on it (at least).  The machine it's now in is
> > running FreeBSD 6-CURRENT and it only sees one slice...
> 
> I assume the OpenBSD machine was i386 and not sparc.

Yes, i386.  Actually, the disk is still in the same machine, just the
primary master now has a FreeBSD install on it.

> Well you rattled off 5 partitions so its not MBR-based.
> Do you have a partition map from OpenBSD to compare with?

Under OpenBSD it was all one partition with a bunch of slices (or labels
or whatever) in it.

# fdisk -t /dev/ad1
[...]
Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
<UNUSED>
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
sysid 166 (0xa6),(OpenBSD)
    start 63, size 12594897 (6149 Meg), flag 80 (active)
        beg: cyl 0/ head 1/ sector 1;
        end: cyl 783/ head 254/ sector 63

What do you mean by partition map?

--Emil
Received on Fri Feb 04 2005 - 06:34:35 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:27 UTC