Date: Mon, 7 Aug 2006 13:40:41 -0700 (PDT) From: backyard <backyard1454-bsd@yahoo.com> To: micman <micman@free.fr>, freebsd-questions <freebsd-questions@freebsd.org> Subject: Re: /etc/fstab error and I can't start the system normally Message-ID: <20060807204041.63597.qmail@web83110.mail.mud.yahoo.com> In-Reply-To: <200608072226218920551@free.fr>
next in thread | previous in thread | raw e-mail | index | archive | help
--- micman <micman@free.fr> wrote: > Hello. > > PROBLEM > I tried and configured FreeBSD 6.1 for many days and > I mounted my FAT extended partition to exchange my > files between Windows and my new Operating System. > That was OK. After I tried to mount automatically at > boot this partition and I make an error (grammatical > error): I wrote “acd0s5” instead of “ad0s5” in > /etc/fstab. > Now, when I start the system, I receive this message > at the end of the boot process: > "Can't open (No such file or directory) > /dev/acd0s5: UNEXPECTED INCONSISTENCY; RUN > fsck_msdosfs MANUALLY. > THE FOLLOWING FILE SYSTEM HAD AN UNEXPECTED > INCONSISTENCY: > msdosfs: /dev/acd0s5 (/mnt/win) > Automatic file system check failed; help! > Aug 7 20:08:07 int: /bin/sh on /etc/rc terminated > abnormally, going to single user mode > Enter full pathname of shell or RETURN for /bin/sh:" > > QUESTIONS > Can I rewrite the file /etc/fstab in text mode? > If it's possible, how can I do this? > > I tried fsck_manually and also to boot by option '6' > ("Escape to loader") but I was not able to resolve > the problem. > If someone can help me, thank you. > "freebsd-questions-unsubscribe@freebsd.org" get into a console maybe by booting single user. remote root as read/write you may or may not have to remount root as write but... mount -u / ee /etc/fstab fix the error hit [esc] cc [esc] a and you should be good to go. hope that helps -brian
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060807204041.63597.qmail>