From owner-freebsd-questions Mon Oct 21 0: 9:27 2002 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 941EB37B401 for ; Mon, 21 Oct 2002 00:09:24 -0700 (PDT) Received: from nycsmtp2out.rdc-nyc.rr.com (nycsmtp2out.rdc-nyc.rr.com [24.29.99.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9899943E6E for ; Mon, 21 Oct 2002 00:09:23 -0700 (PDT) (envelope-from scottro@nyc.rr.com) Received: from nyc.rr.com (66-108-172-188.nyc.rr.com [66.108.172.188]) by nycsmtp2out.rdc-nyc.rr.com (8.12.1/Road Runner SMTP Server 1.0) with SMTP id g9L764lY002071 for ; Mon, 21 Oct 2002 03:06:05 -0400 (EDT) Date: Mon, 21 Oct 2002 03:09:21 -0500 From: Scott Robbins To: freebsd-questions@FreeBSD.ORG Subject: Re: mounting my freeBSD4.6 partition to linux RH7.3 Message-ID: <20021021080921.GA6162%scottro@despammed.com> Mail-Followup-To: freebsd-questions@FreeBSD.ORG References: <3DB39E2F.8000303@ntsp.nec.co.jp> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="KsGdsel6WgEHnImy" Content-Disposition: inline In-Reply-To: <3DB39E2F.8000303@ntsp.nec.co.jp> User-Agent: Mutt/1.4i-ja.1 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --KsGdsel6WgEHnImy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Oct 21, 2002 at 02:26:55PM +0800, Ronald Villanueva wrote: > Hello, >=20 > Im trying set up freeBSD4.6 for the first time > and i need help. since my working os is linux... > it is where i download my internet informations. > such as xfree86... >=20 > my problem is what would i do inorder for > my two OS (freeBSD/RH7.3) able to see each > other. If you mean on two different machines, you can use any of the usual suspects, like NFS or scp. If you mean on the same machine, you'll have to recompile your FreeBSD kernel to add ext2fs support (which will mount an ext3 partition. You'll add the line options EXT2FS when you recompile the kernel. (See the FreeBSD Handbook for a detailed explanation of recompiling the kernel--probably easier than redoing the Linux kernel.) You'll then be able to mount your RH partitions from FreeBSD--also look at the handbook for how FreeBSD veiws partitions--it's a bit different than Linux's /dev/hda2 and such, it's more like (if it were an IDE drive) /dev/ad0s1 etc. =20 As for vice versa--although you can compile UFS support in the Linux kernel, last time I looked, the Linux kernel is a bit borked at the moment. Some googling found a hack that can be made to the Linux kernel to enable it to mount a FreeBSD partition by Giorgos Keramidas, though he calls it a relatively ugly hack. --------------------------------------------------------------------------- It is relatively easy to add a single line of C code in the file /usr/src/linux/fs/ufs/super.c, near line 655 that checks for a valid block size. All it takes is an additional ``&& uspi->s_bsize !=3D 16384'' and then the Linux kernel will accept 16384 as a valid block size too. --------------------------------------------------------------------------- http://groups.google.com/groups?hl=3Den&lr=3D&ie=3DUTF-8&oe=3DUTF-8&selm=3D= fa.hv5or3v.15koho%40ifi.uio.no&rnum=3D5 is the link to the actual post. (Sorry about the linewrapping there--or just do a search keramidas mount freebsd linux kernel on deja and it'll be the first hit--you want the later post from 2002). By the time I found this, I was finding it less necessary to use, as one machine is used almost entirely in Linux and another almost entirely in FreeBSD, so I never tested it, nor do I even know if it's still necessary. At any rate, FreeBSD will be able to mount the RH partitions. (Though I don't think it does Reiserfs yet). --=20 Scott PGP keyID EB3467D6 ( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 D575 EB34 67D6 ) gpg --keyserver pgp.mit.edu --recv-keys EB3467D6 Giles: Demons after money. Whatever happened to the still-beating heart of a virgin? No one has any standards anymore. --KsGdsel6WgEHnImy Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE9s7Yx+lTVdes0Z9YRArxGAJ9shR0umo5Z1S+Q/rkVijFqfh919ACdHu0t rw2sGvKt0HffIttjtocErFk= =GC/9 -----END PGP SIGNATURE----- --KsGdsel6WgEHnImy-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message