From owner-freebsd-questions@FreeBSD.ORG Mon May 22 09:51:47 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 AC95C16A429 for ; Mon, 22 May 2006 09:51:47 +0000 (UTC) (envelope-from mikhailg@webanoide.org) Received: from cayster.site5.com (cayster.multisite.site5.com [216.118.97.189]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2DE4C43D49 for ; Mon, 22 May 2006 09:51:46 +0000 (GMT) (envelope-from mikhailg@webanoide.org) Received: from ppp110-20.lns1.hba1.internode.on.net ([150.101.110.20] helo=[192.168.0.4]) by cayster.site5.com with esmtpa (Exim 4.52) id 1Fi74j-0004jm-5Y; Mon, 22 May 2006 05:51:45 -0400 Message-ID: <447189AC.7020004@webanoide.org> Date: Mon, 22 May 2006 19:51:40 +1000 From: Mikhail Goriachev Organization: Webanoide User-Agent: Thunderbird 1.5.0.2 (Macintosh/20060308) MIME-Version: 1.0 To: none none References: <20060522090248.49882.qmail@web26201.mail.ukl.yahoo.com> In-Reply-To: <20060522090248.49882.qmail@web26201.mail.ukl.yahoo.com> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Antivirus-Scanner: This message has been scanned by ClamAV. X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cayster.site5.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - webanoide.org X-Source: X-Source-Args: X-Source-Dir: Cc: freebsd-questions@freebsd.org Subject: Re: MESS X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 May 2006 09:51:53 -0000 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. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: mikhailg@webanoide.org Web: http://www.webanoide.org PGP Key ID: 0x4E148A3B PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B