From owner-freebsd-questions Sat Oct 6 6:25: 8 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-31-203-60.mmcable.com [65.31.203.60]) by hub.freebsd.org (Postfix) with SMTP id 6160537B408 for ; Sat, 6 Oct 2001 06:25:04 -0700 (PDT) Received: (qmail 25532 invoked by uid 100); 6 Oct 2001 13:25:02 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15295.1582.131530.888490@guru.mired.org> Date: Sat, 6 Oct 2001 08:25:02 -0500 To: "M. Attan" Cc: questions@freebsd.org Subject: Re: Mounting ext2 filesystems? In-Reply-To: <39815572@toto.iv> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ 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 M. Attan types: > The disk of configuration files that I made used the ext2 files system. > I am now having trouble mounting it on the FreeBSD system. > I made a mount point in /root: > /root/floppy > I originally tried: > mount -t ext2 /dev/fd0 /root/floppy As you discovered, that's wrong. > Which gave me the following error message: > mount: exec mount_ext not found in /sbin, /usr/sbin:No such file or > directory. > So, I figured that there was no support for ext2 in the default install, > which I thought odd, so downloaded e2fsprogs-1.22. > I installed it with pkg_add. > After installing it, I realized that I had issued the improper mount > command, so I immediately uninstalled with pkg_delete. > I now tried: > mount -t ext2fs /dev/fd0 /root/floppy > This gives me the following message: > ext2fs: vfsload(ext2fs): No such file or directory. > Did I screw something up when I installed e2fsprogs-1.22? No. > Would my second mount command have worked if I hadn't installed and > uninstalled it before trying -t ext2fs? No. > Should I now go ahead an install e2fsprogs-1.22? Yes. > Is there some aspect of mounting ext2 filesystems under FreeBSD which I > am unaware of? Yes. You have to build a custom kernel - which is recommended for FreeBSD - with the EXT2FS option enabled. See /usr/src/sys/i386/conf/LINT for information in that. After you build, and boot that kernel, the second mount command should work. http://www.mired.org/home/mwm/ Q: How do you make the gods laugh? A: Tell them your plans. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message