Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 May 2004 11:35:06 +0200
From:      Simon Barner <barner@in.tum.de>
To:        su su <yond81@hotmail.com>
Cc:        questions@FreeBSD.org
Subject:   Re: FreeBSD
Message-ID:  <20040513093506.GA99233@zi025.glhnet.mhn.de>
In-Reply-To: <BAY17-F4OlbpH71yEXU000446de@hotmail.com>
References:  <BAY17-F4OlbpH71yEXU000446de@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--tKW2IUtsqtDRztdT
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

su su wrote:
> sir, my pc is using FreeBSD now. and now i would like to add a new hard=
=20
> disk which is RedHat. The new harddisk is plug with IDE 2. then , i have =
no=20
> idea how to view the data inside the redhat....is it i need to mount the=
=20
> new hard disk.???thank 4 help

Yes, you need to mount it. Unfortunately, this will only work with
ext2/3 Linux slice (e.g. ReiserFS is not supported by FreeBSD).

If it's indeed an ext2/3 partition, you can mount it with the following
command (you should not write to Linux slices from FreeBSD in order
to prevent data corruption, so the disk is mounted read-only).

# mount_ext2fs -o ro /dev/ad<N>s<S> /mnt/linux

You can determine N (the device number of the hard drive) with the following
command:

# dmesg | grep ^ad

To find out the right slice S, run the following:

# fdisk /dev/ad<N>

Now you have all the ingredients, so something like

# mount_ext2fs -o ro /dev/ad2s1 /mnt/linux

will probably work for you.

Simon

--tKW2IUtsqtDRztdT
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAo0FKCkn+/eutqCoRAnaeAJ9u+ot2el/8COK63/ZYeyLLeKlPvgCfQcPJ
hQSlUgqn6fxA+Lf24OBCIqw=
=jsKX
-----END PGP SIGNATURE-----

--tKW2IUtsqtDRztdT--



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