From owner-freebsd-questions Tue Oct 3 8:32:14 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.gelrevision.nl (mail.gelrevision.nl [195.86.58.10]) by hub.freebsd.org (Postfix) with ESMTP id D647037B502 for ; Tue, 3 Oct 2000 08:32:11 -0700 (PDT) Received: from AnEra [195.86.231.176] by mail.gelrevision.nl with ESMTP (SMTPD32-6.00) id ABE024DB026E; Tue, 03 Oct 2000 17:31:44 +0200 Date: Tue, 3 Oct 2000 17:31:42 +0200 (CEST) From: Maarten van Schie X-Sender: anera@AnEra.8.com To: Matt Bettinger Cc: freebsd-questions@FreeBSD.ORG Subject: Re: hosed fstab In-Reply-To: <71F816A89AA9D3119F4C00D0B7094EFC198FFC@FIN_SYN> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I guess you could start with using the -f option with mount to remount root r/w although it might be dangerous. On Tue, 3 Oct 2000, Matt Bettinger wrote: > Hello, > > While messing around with a handspring and coldsync and editing my fstab (on > a test type machine) i put something in fstab that FreeBSD did not like upon > a reboot. I don't have the dmesg or bootup screen to show you but it says > something about 16 bad blocks on usb0 and then immediately starts fsck which > gives me the error about some bad blocks and the option to continue or no. > When i continue i immediately get the # prompt but cannot fix the fstab > file. First of all i can't start an editor but i can use cat. My thinking > was to delete the ftab file and just cat >> a new one. This was not > possible because i get a message saying it is a read only system. I am glad > this is just a messing around sort of computer but i started thinking what > if this happened on one i REALLY use? > > How would one fix this problem-- i have the live filesystem cd and tried > that but i still couldn't write to anything. Are theer any crash courses > (no pun intended--seriously ;-> ) on how to get in there and edit a file in > /etc after a messup? I tried to boot the old kernel for kicks and it still > went into fsck.. Thanks for any info here. > > > Matthew Bettinger > Financial Synergies,Inc. > 1177 West Loop South, Suite 1400 > Houston,Texas 77027-9086 > 713-623-6600 > 713-623-6771 FAX > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message