Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 May 2006 08:25:59 -0400
From:      Mike Jeays <mj001@rogers.com>
To:        Mikhail Goriachev <mikhailg@webanoide.org>
Cc:        none none <menwn@yahoo.co.uk>, freebsd-questions@freebsd.org
Subject:   Re: MESS
Message-ID:  <1148300759.21000.86.camel@chaucer.jeays.ca>
In-Reply-To: <447189AC.7020004@webanoide.org>
References:  <20060522090248.49882.qmail@web26201.mail.ukl.yahoo.com> <447189AC.7020004@webanoide.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 2006-05-22 at 19:51 +1000, Mikhail Goriachev wrote:
> none none wrote:
> > Hi
> >   I fear that this time a messed up big time. I have two hard drives one with Windows XP (40G) and another with FreeBSD 6.1  (10G). Eveything was ok until I decided i wanted to mount my windows drive to FreBSD (i run KDE as GUI). I followed the instruction from OnLamp.com and since i wanted the whole process to be automated on every boot i added the following lines in /etc/fstab using ee: 
> >   /dev/ad0s1  /windows        ntfs   rw       1     1
> >  
> >   and everything looked normal until i rebooted! now when i choose FreeBSD on the bootmanager it starts looking ok and ends up with the following:
> >   fsck: exec fsck-ntfs for /dev/ad0s1 in /sbin:/usr/sbin: No such file or directory
> >   Unknown error: help!
> >   init /bin/sh on /etc/rc terminated abnormaly, going to single user mode
> >   Enter full pathname of shell of RETURN for /bin/sh
> >    
> >   if i enter single user mode it dasen't seem to recognize many commands: starrtx, ee, pico, emacs etc so i cannot change my /etc/fstab in case this is the problem. 
> >    
> >   Moreover now i am unable to enter windows as the bootmanager when i ask him to load the DOS disk it just reboots the system. I even tried to leave only the (40G) on the machine but thens it just crashes right after memeory check. I am seriously in need for some help, if anyone could suggest anything i would appreciate it a lot. Thanks in advance
> >   andreas Sotriakopoulos
> 
> 
> Hi,
> 
> This one is gonna sound funny. I once had a mistype in /etc/fstab
> myself. I solved it by pulling the hard drive off the box, mounting it
> on another one and then I modified the file. I guess you could do the
> same if you have a spare FreeBSD box lying around. But there must be a
> better way doing it though.
> 
> 
> Cheers,
> Mikhail.
> 
> 
The 'ed' editor is in /bin, and so is available at single-user boot.  It
is a real antique, but if you have a copy of the manual it is not too
hard to correct /etc/fstab.

'ee' is in /usr/bin
-- 
Mike Jeays
http://ca.geocities.com/mike.jeays@rogers.com




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1148300759.21000.86.camel>