Having problems with fixit floppy mounting filesystems
Eduardo Viruena Silva
mrspock at esfm.ipn.mx
Thu May 29 19:02:30 PDT 2003
On Thu, 29 May 2003, Tom Parquette wrote:
> I was installing an additional hard disk and I believe I commented out
> the wrong line in fstab or typo'ed something. The /usr filesystem is
> not mounted. The machine will not boot to a command prompt so I can
> repair it. It complains bitterly at boot time about not finding things
> in the /usr/...... directories.
don't worry, it can be fixed.
1. Reboot your computer and when the boot's countdown starts
press space bar.
3. your computer will stop asking for a shell that will be used
in single-user mode. just press enter to accept /bin/sh
of course, /usr will not be mounted because you made something
wrong with your /etc/fstab.
5. perhaps the system will ask you to fsck your file systems.
do it. you can add your the option "-y".
to see where /usr is mounted... [hope it is there].
and mount /usr manually:
mount /dev/ad0s1e /usr
[ok, perhaps it is not ad0s1e, choose the proper partition]
6. edit /etc/fstab with your favorite editor, fix it, and save it.
Hope it helps.
> I have never broken a system this badly before so this is the first time
> I have had to use a fixit floppy.
> If I can get the root and usr filesystems mounted r/w I should be able
> to "ee" fstab and get myself going.
> I can get to the fixit command prompt but when I issue mount /dev/ad0s1a
> /mnt to get the root filesystem mounted all I get is "operation not
> I searched the mailing list archives and dug through the on-line
> handbook and I'm not finding anything that gives me a clue what I'm
> doing wrong.
> Any help would be appreciated.
> freebsd-questions at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
- ______ _
* / /###\ / \ __
/\ /\ * / ./#### \ * \__|_/ | |
/ \/ \ | b#####| * _ | __ | | __
= .. \____ \ \_\#####/ / \| / \ | | /\_\/
= \_| * \___\###/ * \_/\_/\__/\__\/_/\__/
= \______/ _
More information about the freebsd-questions