[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mounting OpenBSD partitions in FreeBSD & vice-versa



In some mail from Michael Lucas, sie said:
> 
> Hello,
> 
> I have OpenBSD 3.1 at the beginning of a disk, and FreeBSD-current at
> the end.
> 
> FreeBSD can read the disklabel on the OpenBSD slice, but fails to
> mount:
> 
> pedicular~;mount /dev/ad0s1e /mnt
> mount: /dev/ad0s1e on /mnt: incorrect super block
> pedicular~;
> 
> OpenBSD can mount the FreeBSD root partition, but doesn't seem to find
> my other FreeBSD partitions.  The disklabels bear this out -- OpenBSD
> sees my FreeBSD slice as a single large partition.
> 
> In my Google searches, I see a couple references saying "don't do
> this."  Is this still the case?  I must admit, I find it somewhat odd
> that we can mount Linux partitions more easily than other BSDs.
> 
> I'd like to be able to transfer information from one OS to the other
> easily.  Any suggestions?

You need to edit the disklabel for OpenBSD and add in explicityly
where the FreeBSD pratitions are in your a-h or a-p list of partitions
in terms of sector offset/count.  Same as you would for DOS partitions.

Darren