Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 Dec 2005 16:17:42 +0100
From:      =?ISO-8859-1?Q?Bj=F6rn_K=F6nig?= <bjoern.koenig@spray.se>
To:        "Guillaume R." <raimondeau@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Mounting a linux partition under freebsd
Message-ID:  <438F1416.1000607@spray.se>
In-Reply-To: <7ab0fd580512010659x7ed50a6br@mail.gmail.com>
References:  <7ab0fd580512010659x7ed50a6br@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Guillaume R. schrieb:

> I can't mount a linux partition under freebsd with the -t ext3fs
> option could someone explain me how I could mount a linux partition
> under freebsd?

FreeBSD has limited support for ext2, therefore you can mount it as ext2 
filesystem only. You can "convert" the filesystem between ext2 and ext3 
without data loss by just executing fsck. Run fsck.ext2 from the 
"e2fsprogs" package first. Now you can mount it with mount_ext2fs and 
access data. Finally after you have unmounted it you need run fsck.ext3 
to recreate the filesystem journal.

> I got an other question: how could I obtain a human readable output of
> fdisk to know the content in terms of partition of my disk?

In case you get used to use linux fdisk, you might get lucky with the 
ncurses based program cfdisk-linux from the "linuxfdisk" package. ;-)

Björn



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