Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jan 2002 19:42:54 +0100
From:      "Benedikt Schmidt" <ry102@rz.uni-karlsruhe.de>
To:        Anthony Campbell <ac@acampbell.org.uk>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Another problem with mount_ext2fs
Message-ID:  <20020108184254.GB605@wn4-marvin.wn4.uni-karlsruhe.de>
In-Reply-To: <20020108164541.GA368@debian.local>
References:  <20020108164541.GA368@debian.local>

next in thread | previous in thread | raw e-mail | index | archive | help
Anthony Campbell <ac@acampbell.org.uk> wrote:
> 
> I haven't managed to mount my linux fs.
> 
> Freebsd is on /dev/ad0; the linux files are on /dev/ad1.
> Most are logical partitions, apart from the first.

ad1 is the whole disk. Try ad1sX where X is the slice (DOS style partition),
1-4 are the primary partitions and >4 are logical partitions.

See http://www.linuxdoc.org/HOWTO/mini/Linux+FreeBSD-2.html for how
to translate linux device names to FreeBSD names. 
But the text uses the old device name 'wd' instead of 'ad'.

> If I just use mount, it says "bad superblock"

> If I use: "mount -t ext2fs /dev/hda1 /mnt"  I get message saying there
	     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
should be mount_ext2fs /dev/ad0s1 /mnt
> is no such file or directory. I've tried numerous variations without
> success.

Make sure you have "options EXT2FS" in your Kernel config (seems like
the module is missing here).

-- 
Benedikt

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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