*BSD News Article 95003


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!como.dpie.gov.au!news.gan.net.au!act.news.telstra.net!news.telstra.net!news.att.net.au!news.att.net.hk!newsgate.cuhk.edu.hk!news.glink.net.hk!uunet!in1.uu.net!128.230.129.106!news.maxwell.syr.edu!news-was.dfn.de!news-kar1.dfn.de!news-stu1.dfn.de!news-mue1.dfn.de!news-nue1.dfn.de!news-lei1.dfn.de!news.urz.tu-dresden.de!irz401!orion.sax.de!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: URGENT: how to mount Linux partition from FreeBSD?
Date: 7 May 1997 21:56:46 GMT
Organization: Private BSD site, Dresden
Lines: 31
Message-ID: <5kqtqu$je1@uriah.heep.sax.de>
References: <336DC11D.3480@intertrader.com>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:40580

Andreas Schoter <andreas@intertrader.com> wrote:

> Help! I need to mount a Linux partition from FreeBSD. The partition
> contains some important mail which I need access to ASAP.

You need to compile a kernel with ext2fs support.  This should be
``options EXT2FS'', but make sure to verify this in the LINT config
file.  (I've never did it myself nor do i have an ext2fs filesystem at
all to test it.)

> FreeBSD is installed on Hard Drive 1 (/dev/wd0), the Linux partition I
> need is the first partition on Hard Drive 2 (/dev/wd1).

This should make

	mount -t ext2fs /dev/wd1s1 /linuxfs

then.

> And for a bonus question, how do I get at the extended partitions 5 & 6
> on the 2nd drive?

They are /dev/wd1s5 and /dev/wd1s6.  You probably need to run
/dev/MAKEDEV to create the actual device nodes.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)