From owner-freebsd-questions Mon Oct 18 14:19: 8 1999 Delivered-To: freebsd-questions@freebsd.org Received: from athserv.otenet.gr (athserv.otenet.gr [195.170.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 9FB6C14DA5 for ; Mon, 18 Oct 1999 14:19:03 -0700 (PDT) (envelope-from keramida@diogenis.ceid.upatras.gr) Received: from hades.hell.gr (patr530-a010.otenet.gr [195.167.115.10]) by athserv.otenet.gr (8.9.3/8.9.3) with SMTP id AAA17665 for ; Tue, 19 Oct 1999 00:18:58 +0300 (EET DST) Received: (qmail 4956 invoked by uid 1001); 18 Oct 1999 12:20:54 -0000 To: freebsd-questions@freebsd.org Subject: Re: mounting ext2 partitions on freebsd and freebsd slices on linux References: From: Giorgos Keramidas Date: 18 Oct 1999 15:20:53 +0300 In-Reply-To: Simon J Mudd's message of "Sun, 17 Oct 1999 17:43:12 +0200 (CEST)" Message-ID: <861zassvve.fsf@localhost.hell.gr> Lines: 34 X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Simon J Mudd writes: > I'm familiar with linux, but not with freebsd. I've just installed 3.1 on > my local IDE disk, having linux installed on a scsi disk with an adaptec > 1522 controller. > > I'd like to be able to mount the freebsd partition/slices under linux > while I configure freebsd. The linux mount man page doesn't seem to clear > about how to mount the freebsd slices (I think that's what you call them). You want to enable UFS filesystem support, and in the disklabels section of your 'make menuconfig' you should also enable at least the BSD disklabels. Then at boot you will see except for the /dev/hda1 stuff, a list of the disklabels recognized by your linux kernel. You should be able to mount the filesystems with something like: mount -t ufs -o ufstype=44bsd DISKLABEL /mnt > Also when freebsd supports the adaptec 1522, which the 3.1 and 3.2 notes > indicate will happen "in the future", how can I mount the linux partitions > under freebsd? You enable the EXT2FS filesystem in your kernel configuration. Then use the device of the 'slice' (what linux calls partition), certainly not a disklabel, as the mount device, i.e.: # mount -t ext2fs /dev/sd0s1 /mnt Enjoy, -- Giorgos Keramidas, "That field hath eyen, and the wood hath ears." [Geoffrey Chaucer, 1328-1400] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message