From owner-freebsd-questions@FreeBSD.ORG Mon Mar 22 16:16:51 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 B279C16A4CE for ; Mon, 22 Mar 2004 16:16:51 -0800 (PST) Received: from ispmxmta05-srv.alltel.net (ispmxmta05-srv.alltel.net [166.102.165.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id 348DE43D3F for ; Mon, 22 Mar 2004 16:16:51 -0800 (PST) (envelope-from uidzero@one-arm.com) Received: from one-arm.com ([166.102.51.13]) by ispmxmta05-srv.alltel.net with ESMTP id <20040323001650.ZAXM18799.ispmxmta05-srv.alltel.net@one-arm.com> for ; Mon, 22 Mar 2004 18:16:50 -0600 Message-ID: <405F81F5.6050005@one-arm.com> Date: Mon, 22 Mar 2004 18:16:53 -0600 From: uidzero User-Agent: Mozilla Thunderbird 0.5 (X11/20040321) X-Accept-Language: en-us, en MIME-Version: 1.0 To: FreeBSD-Questions References: <001c01c4105e$1c6d6c80$5d02a8c0@horatio> In-Reply-To: <001c01c4105e$1c6d6c80$5d02a8c0@horatio> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: mount ext2fs 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: Tue, 23 Mar 2004 00:16:51 -0000 Johnny wrote: >i'm trying to mount ext2 partitions from an install of rh8 on my freebsd box. simple process i'd think, but apparently not with the current setup. the bsd box is 4.8-stable with a custom kernel including the ext2fs module, so i'd like to think that isn't the source of the problem. here is some output on the issue: > >euphoria# fdisk ad2 >... >The data for partition 2 is: >sysid 131,(Linux filesystem) >start 211680, size 88814880 (43366 Meg), flag 0 >beg: cyl 14/ head 0/ sector 1; >end: cyl 1023/ head 239/ sector 63 > >euphoria# mount -t ext2fs /dev/ad2s2 /data2 >ext2fs: /dev/ad2s2: Invalid argument > >all of the directories are in place, the kernel has the ext2fs module, so i'm at a loss with regards to this issue. any help regarding this would be greatly appreciated, thnx. > > Johhny, Try "mount_ext2fs /dev/as2s2 /data2" Just be sure to umount the partition before you reboot or anything because it "could" mess up your file system. Read the comment above the ext2fs module in thwe LINT kernel. Michael