From owner-freebsd-questions@FreeBSD.ORG Tue Apr 18 14:38:44 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 7503116A405 for ; Tue, 18 Apr 2006 14:38:44 +0000 (UTC) (envelope-from backyard1454-nospam@yahoo.com) Received: from web81612.mail.mud.yahoo.com (web81612.mail.mud.yahoo.com [68.142.199.164]) by mx1.FreeBSD.org (Postfix) with SMTP id 0976943D73 for ; Tue, 18 Apr 2006 14:38:43 +0000 (GMT) (envelope-from backyard1454-nospam@yahoo.com) Received: (qmail 67372 invoked by uid 60001); 18 Apr 2006 14:38:43 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=tLZNe8w4TcOcnD9QmGztXsQV03JK4K2/5fPWM4S2L4t+PPLuu9/rVVjXLDbrRyH8JkgFJ2UAbF03iYPNqCVDibMvg5dmuO7mhGgXDsSsN3zLSTwJbo7tZouA+uVr+t7eXP55+leBPR81x355ybWHnuRoZjRUcSZgeVl0VPOwZiY= ; Message-ID: <20060418143843.67370.qmail@web81612.mail.mud.yahoo.com> Received: from [63.240.228.37] by web81612.mail.mud.yahoo.com via HTTP; Tue, 18 Apr 2006 07:38:43 PDT Date: Tue, 18 Apr 2006 07:38:43 -0700 (PDT) From: To: John Nielsen , freebsd-questions@freebsd.org, backyard1454-nospam@yahoo.com In-Reply-To: <200604180954.00105.lists@jnielsen.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: Subject: Re: Problem Restoring Dump Via Fixit Environment in FreeBSD 6.0 Release Boot Cdrom X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: backyard1454-nospam@yahoo.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Apr 2006 14:38:44 -0000 --- John Nielsen wrote: > On Tuesday 18 April 2006 00:17, Brian McKeon wrote: > > Hello I'm having a problem restoring my backup of > my FreeBSD > > > > mount /dev/da0s1 /foobar fails with superblock > errors (obviously) > > mount -t ext2fs /dev/da0s1 /foobar fails with > mount_ext2fs not found in > > /usr/sbin (perhaps /sbin) > > > > when I got to /mnt2/usr/sbin (think thats the > right path, i know ls > > ./mount_ext2fs finds the file in the path but if > its ./usr/sbin or > > ./sbin I can't recall) and run ./mount_ext2fs > /dev/da0s1 /foobar I get > > operation not supported by device. > > > > fixit won't even let me mount my linux boot drive > (same sets of errors) > > so I know it isn't just failing because of the USB > device. > > > > > > > }--> My question is what is going wrong here? Do I > have to make a > > symlink to mount_ext2fs to the path that mount -t > xxx blah wants to see > > that program? Or am I just cursed? I figured > restoring a backup would be > > pretty simple but Fixit doesn't seem to want to > cooperate.To date this > > is my only serious issue with FreeBSD, but I would > say it is quite the > > issue to have. > > One thing you need to make sure of when using the > Fixit CD is that the kernel > can find the necessary modules for whatever you're > trying to do. In the case > of ntfs.ko and smbfs.ko (and I presume ext2fs.ko), > this doesn't happen by > default. To fix this, change the kernel's module > path from the minimal one > in the MFS root to the complete one included on the > CD: > > sysctl kern.module_path="/dist/boot/kernel" > > Then try your mount_ext2fs command again. > > Also, remember to check the "debug" console (Alt-F2) > to see if there are any > kernel messages that might shed additional light on > the problem. > > Good luck, and please post again even if just to say > "it worked". > > JN > Yeah that worked pretty good. I new I needed to make up my own fixit boot image install program (hate sysinstall, know I'm not the only one...) But as a quick fix this did the trick. At least it mounted the drives, now to the restore... thanks brian