Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Dec 2005 14:54:52 +0100
From:      Anatoli Klassen <anatoli@aksoft.net>
To:        freebsd-hackers@freebsd.org
Subject:   Re: accessing NetBSD filesystem
Message-ID:  <43AEA4AC.80400@aksoft.net>
In-Reply-To: <20051217204417.GA27466@twelvegates.homeip.net>
References:  <20051217122006.GA2758@twelvegates.homeip.net>	<20051217134258.GC1706@britannica.bec.de>	<20051217171029.GB14214@twelvegates.homeip.net>	<AC14C9539C9A4B47D7EE4A9A@[192.168.1.5]> <20051217204417.GA27466@twelvegates.homeip.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hanspeter Roth wrote:

> Fdisk shows sysid 165 (0xa5) for partition 3. This is where FreeBSD
> is installed. And Fdisk shows sysid 169 (0xa9) for partition 4. This
> is where NetBSD is installed.
> In /dev there are ad0s3 and ad0s3[a-g] but there is only a ad0s4.
> So how can filesystems of my NetBSD in ad0s4 be accessed?
> 

AFAIK you can access only the 'a' partition of the NetBSD slice.
Just mount it.

If you need other partitions, try to use following module:

http://www.26th.net/public/projects/freebsd/geom_nbsd/geom_nbsd.tgz

1. Download, unpack, go it to the dir.
2. Say "make".
3. Sys "kldload ./geom_nbsd.ko"
4. All /dev/ad0s3[a-g] should appear.
5. Now mount all partitions as usual.

The module is tested on 6.x and CURRENT. One known bug - it's impossible 
to unload it, you have to reboot for this.



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