From owner-freebsd-questions@FreeBSD.ORG Mon May 1 10:09:17 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 D7CFB16A40B for ; Mon, 1 May 2006 10:09:17 +0000 (UTC) (envelope-from Florian.Meister@medienhaus.at) Received: from mhmxu01.tele.net (mhmxu01.tele.net [194.208.21.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED4D943D48 for ; Mon, 1 May 2006 10:09:16 +0000 (GMT) (envelope-from Florian.Meister@medienhaus.at) Received: from mhex003.medienhaus.at (194-208-019-042.tele.net [194.208.19.42] (may be forged)) by mhmxu01.tele.net (8.13.4/8.13.1) with ESMTP id k41A9A5N048678; Mon, 1 May 2006 12:09:11 +0200 (CEST) (envelope-from Florian.Meister@medienhaus.at) Received: from [127.0.0.1] ([194.208.20.22]) by mhex003.medienhaus.at with Microsoft SMTPSVC(6.0.3790.1830); Mon, 1 May 2006 12:09:14 +0200 Message-ID: <4455DE0A.4060902@medienhaus.at> Date: Mon, 01 May 2006 12:08:10 +0200 From: Florian Meister User-Agent: Thunderbird 1.5.0.2 (X11/20060428) MIME-Version: 1.0 To: Harman References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 01 May 2006 10:09:14.0299 (UTC) FILETIME=[4C8AA0B0:01C66D07] X-Virus-enabled: 1 X-Spam-enabled: 1 X-Spam-discard: 0 X-Virus-discard: 1 X-Special-Recipient: @@default@@ X-Recipients: X-Loop-Detect: 1 X-Virus-Flag: NO X-Virus-Scanned: ClamAV / www.clamav.net X-Spam-Flag: NO X-Spam-Status: No, hits=-1.799 required=5 tests=ALL_TRUSTED,BAYES_50 X-Scanning-Time: 3 X-Scanned-By: MIMEDefang 2.54 on 194.208.21.50 Cc: freebsd-questions@freebsd.org Subject: Re: Problem with possible hdd crash 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, 01 May 2006 10:09:18 -0000 Harman wrote: > I installed Fbsd 6.0 a few days ago. I had X running one day and I > come back to it and move my mouse a bit and my comp freezes up and the > screen has some fragmentation lines on it. I do a hard reboot and I > find that the image is very distorted, including the manufacturer > before the bootloader. The distorted text was only the first reboot > after this happened, however. I boot fbsd and I get some weird errors > everytime: > > fsck: exec fsck_msdos for /dev/ad1s2 in /sbin:/usr/sbin: No such file > or directory > fsck: exec fsck_msdos for /dev/ad1s2 in /sbin:/usr/sbin: No such file > or directory > THE FOLLOWING FILE SYSTEM HAD AN UNEXPECTED INCONSISTENCY: > msdos: /dev/ad1s2 (/media) > Unknown error; help! > init: /bin/sh on /etc/rc terminated abnormally, going to single user mode looks like you have some fat-formatted partitions in your fstab (/media). IMHO FreeBSD only starts if all partitions are marked clean. Through the hard reboot the partitions are not marked as "clean", because the "marking" is done at the unmount of the fs. So FreeBSD wants to check the fs, but does not find the program "fsck_msdos" to check the msdos partition. So it drops you into single-user-mode. > > Now.. when I go into single user mode, no command seems to work > besides cd and ls. I've checked this out with a linux live cd and the > dir on this fs are all named wrongly with most having an asterisk in > the middle of them, and some just missing alot of what they're named. > Ouch, that can be some fs-problem. you can try to boot from a freebsd-installation-cd and start a emergency-holographic-shell and then do a fsck on all of your fs. > I'd like to know what this possibly could have been, and how I can > mount the fbsd fs from a live cd to get some config files off of it to > make a reinstall easier, and see if I can maybe fix this by removing > /dev/ad1s2 from my fstab. I did some stupid things with my X packages > recently and uninstalled all of them, and then had to pkg_add all of > them back, I was thinking this *might* have had something to do with > it. You can also try to remove the /media partition from your fstab. Maybe the obligatorily fs-checks of the other partitions have no problems. Booting from a freebsd-installation-cd and backup your data for a reinstall is another possiblity. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" -- florian meister EMAIL: florian.meister@medienhaus.at TELEPHONE: +43 5572 501 134 FAX: +43 5572 501 97134 ADDRESS: gutenbergstrasse 1 6858 schwarzach vorarlberg austria WWW: www.medienhaus.at o If practice makes perfect, and nobody's perfect, why practice? o The solution of this problem is trival and is left as an exercise for the reader. o Recursive,adj.; see recursive. _______________________________________________________________________________