geom_bsd

John Baldwin jhb at FreeBSD.org
Mon Jun 7 15:46:57 GMT 2004


On Saturday 05 June 2004 10:55 am, Nick Jones wrote:
> John Baldwin (jhb at FreeBSD.org) wrote:
> > On Saturday 22 May 2004 12:27 pm, Nick Jones wrote:
> > > I'm having a problem when loading geom_bsd on an Alpha XPS1000 machine
> > > and subsequently attempting to access a particular IDE drive, which is
> > > as follows:
> >
> > If you are adding a new label do this:
> > sudo bsdlabel /dev/ad0 auto
>
> Sorry, I just realised how badly worded my original post was.  The drive
> in question is pulled from an x86 install of FreeBSD and has data on it
> I'd like to access in this Alpha box, therefore I don't want to do
> anything destructive.
>
> From what I understand this should now be possible thanks to GEOM, but
> there again I could be wrong.

Well, GEOM should let you see the devices in /dev.  Note that you will need to 
add 'GEOM_MBR' to your kernel (either as an option or kldload geom_mbr.ko) so 
that GEOM will see the MBR that the label lives inside of.  That should give 
you the /dev/ad0s1a, etc. devices.  However, I'm not sure if you will be able 
to mount the filesystems due to sizeof(long) differences.  Since the 
endianness is the same you might be able to, though.

-- 
John Baldwin <jhb at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org


More information about the freebsd-alpha mailing list