Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Dec 2002 12:48:22 -0500 (EST)
From:      Jerry McAllister <jerrymc@clunix.cl.msu.edu>
To:        didier.wiroth@mcesr.etat.lu
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: fixit cd how?
Message-ID:  <200212131748.gBDHmM804664@clunix.cl.msu.edu>
In-Reply-To: <000001c2a2bb$5d15f7a0$952b6e94@lucifer> from "Didier Wiroth" at Dec 13, 2002 04:21:51 PM

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
> 
> 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




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?200212131748.gBDHmM804664>