From owner-freebsd-questions@FreeBSD.ORG Thu May 13 02:46:08 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5896D16A4CE for ; Thu, 13 May 2004 02:46:08 -0700 (PDT) Received: from mailout1.informatik.tu-muenchen.de (mailout1.informatik.tu-muenchen.de [131.159.0.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 31BE743D4C for ; Thu, 13 May 2004 02:46:07 -0700 (PDT) (envelope-from barner@in.tum.de) Received: by zi025.glhnet.mhn.de (Postfix, from userid 1000) id F28404887; Thu, 13 May 2004 11:35:06 +0200 (CEST) Date: Thu, 13 May 2004 11:35:06 +0200 From: Simon Barner To: su su Message-ID: <20040513093506.GA99233@zi025.glhnet.mhn.de> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tKW2IUtsqtDRztdT" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new at informatik.tu-muenchen.de cc: questions@FreeBSD.org Subject: Re: FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 May 2004 09:46:08 -0000 --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/ads /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 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--