Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Oct 2000 17:31:42 +0200 (CEST)
From:      Maarten van Schie <anera@dds.nl>
To:        Matt Bettinger <mattb@finsyn.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: hosed fstab
Message-ID:  <Pine.BSF.4.21.0010031723510.652-100000@AnEra.8.com>
In-Reply-To: <71F816A89AA9D3119F4C00D0B7094EFC198FFC@FIN_SYN>

next in thread | previous in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0010031723510.652-100000>