From owner-freebsd-questions Fri Oct 5 18:34:30 2001 Delivered-To: freebsd-questions@freebsd.org Received: from femail46.sdc1.sfba.home.com (femail46.sdc1.sfba.home.com [24.254.60.40]) by hub.freebsd.org (Postfix) with ESMTP id 4782637B401 for ; Fri, 5 Oct 2001 18:34:26 -0700 (PDT) Received: from home.com ([24.19.109.224]) by femail46.sdc1.sfba.home.com (InterMail vM.4.01.03.20 201-229-121-120-20010223) with ESMTP id <20011006013425.YBLZ16745.femail46.sdc1.sfba.home.com@home.com> for ; Fri, 5 Oct 2001 18:34:25 -0700 Message-ID: <3BBE61EF.7948E24C@home.com> Date: Fri, 05 Oct 2001 21:44:15 -0400 From: "M. Attan" X-Mailer: Mozilla 4.73 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: questions@FreeBSD.org Subject: Mounting ext2 filesystems? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 I have some questions about mounting ext2 filesystems that I hope someone can help me with. I have a friend who set up a box with Suse 6.4 to be a file server / print server / web server. (He installed the OS and I configured Samba, Apache, PHP, Mysql, atalk, DNS and printcap) Well, we had some power outages and the box died a horrible and nasty death. The filesystem was absolutely trashed. He had a backup of the files on the machine, but not of the configuration, which I spent considerable time on. After an unfortunately long experience with fsch, I was able to get almost all of the configuration files off the machine onto a floppy. I wiped the drives and did hardware tests on them. They are fine. This time, I got to pick the OS. I installed FreeBSD, even though I don't know much about it. (Or Suse, really) I have hopes that the softupdates feature on ufs would be more reliable and faster than ext2. Installing FreeBSD was enjoyable. Both he and I noticed an immediate speed increase. Anyway, here is the nature of my problem. 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 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. Here are my questions: Did I screw something up when I installed e2fsprogs-1.22? Would my second mount command have worked if I hadn't installed and uninstalled it before trying -t ext2fs? Should I now go ahead an install e2fsprogs-1.22? Is there some aspect of mounting ext2 filesystems under FreeBSD which I am unaware of? Thanks To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message