From owner-freebsd-questions Thu Oct 4 8:10:55 2001 Delivered-To: freebsd-questions@freebsd.org Received: from fac13.ds.psu.edu (fac13.ds.psu.edu [146.186.61.98]) by hub.freebsd.org (Postfix) with ESMTP id 37C0E37B40A for ; Thu, 4 Oct 2001 08:10:51 -0700 (PDT) Received: from fac13.ds.psu.edu (localhost.ds.psu.edu [127.0.0.1]) by fac13.ds.psu.edu (8.11.6/8.11.3) with ESMTP id f94FAJq17940; Thu, 4 Oct 2001 11:10:19 -0400 (EDT) (envelope-from hawk@fac13.ds.psu.edu) Message-Id: <200110041510.f94FAJq17940@fac13.ds.psu.edu> X-Mailer: exmh version 2.3.1 01/18/2001 with nmh-1.0.4 To: wayne.pascoe@ehsrealtime.com Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Ext2 support on FreeBSD In-Reply-To: Your message of "04 Oct 2001 09:44:09 BST." <86669veqw6.fsf@pan.home.penguinpowered.org.uk> From: dochawk@psu.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 04 Oct 2001 11:10:19 -0400 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 wayne wobbled, > Hi all, Hi, wayne :) [hey, we go through this at my twelve-step meetings for recovering lawyers, too :) ] > I'm trying to mount an ext2 parition (all my .ogg's) on FreeBSD. I > have added the line from LINT to my config as follows : > options EXT2FS # EXT2 filesystem support That should get you there. > Looking at the disk with fdisk, I see > # fdisk /dev/ad7 ad7 ??? isn't that the second ide drive on the fourth controller??? > sysid 131,(Linux filesystem) > start 14346045, size 25832520 (12613 Meg), flag 0 > beg: cyl 893/ head 0/ sector 1; > end: cyl 1023/ head 254/ sector 63 so you're withing 1023 cylinders. Will linux boot? ANd what does the freebsd bootloader tell you for that partition? > Looking at ad7s2 with disklabel gives me > > # size offset fstype [fsize bsize bps/cpg] > c: 25832520 0 unused 0 0 # (Cyl. 0 - 1607) > e: 25832520 0 4.2BSD 1024 8192 16 # (Cyl. 0 - 1607) Could this be leftover? If ad7s2 is a linux partition, it shouldn't even have a bsd type disklabel, should it? Nonetheless, I think I've gotten reading like this when I've asked about somewhere where there *used to* be a bsd slice. > Where has my Linux partition gone? The fstype listed here is > 4.2BSD... Trying to mount this gives me > # mount -t ext2fs /dev/ad7s2e /mnt > ext2fs: /dev/ad7s2e: No such file or directory I think you need to mount ad7s2, not s2e. 2e would be a partition within a bsd slice. If you managed to create a linux partition there, I think you'd have to engage in strange contortions to get linux to find it . . . hawk -- rm -rf /bin/laden Prof. Richard E. Hawkins, Esq. /"\ ASCII ribbon campaign dochawk@psu.edu Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of X and postings. Penn State until it pays my retainer. / \ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message