From owner-freebsd-questions Fri Dec 13 9:48:32 2002 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 E6B5B37B401 for ; Fri, 13 Dec 2002 09:48:30 -0800 (PST) Received: from clunix.cl.msu.edu (clunix.cl.msu.edu [35.9.2.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C47643EC2 for ; Fri, 13 Dec 2002 09:48:30 -0800 (PST) (envelope-from jerrymc@clunix.cl.msu.edu) Received: (from jerrymc@localhost) by clunix.cl.msu.edu (8.11.6+Sun/8.11.6) id gBDHmM804664; Fri, 13 Dec 2002 12:48:22 -0500 (EST) From: Jerry McAllister Message-Id: <200212131748.gBDHmM804664@clunix.cl.msu.edu> Subject: Re: fixit cd how? To: didier.wiroth@mcesr.etat.lu Date: Fri, 13 Dec 2002 12:48:22 -0500 (EST) Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: <000001c2a2bb$5d15f7a0$952b6e94@lucifer> from "Didier Wiroth" at Dec 13, 2002 04:21:51 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 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 > > Hey, > I have corrupted my fstab file and I can't mount any drives anymore. Now I > would like to fix that with the fixit cd (freebsd cd 2), but how? I don't know much about using the fixit, but - If you have only messed up the fstab file, you can probably fix it by merely booting to single user and then remounting root. But, if it is too badly mangled, like the root mount info is gone, maybe it won't work. Anyway, boot to single user then fsck -p mount -u / This one you may have to do with a full mount command speciifying device and mount point (/) edit your fstab reboot. God luck, ////jerry > > 1) I have launched the fixit prompt from the cd > 2) created a directory "/fix" > 3) And now I would like to mount my harddisk's root slice (ad2s2a) to /fix > but I doesn't work! > /sbin/mount -t ufs /dev/ad2s2a /fix > Error message is "No such file or directory" > What is the problem? I does not find the ad2s2a device! > Why? What do I have to do? > > Thanks a lot > Didier > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message