From owner-freebsd-questions Tue Oct 3 8:12:58 2000 Delivered-To: freebsd-questions@freebsd.org Received: from sneety.insync.net (sneety.insync.net [209.113.65.5]) by hub.freebsd.org (Postfix) with ESMTP id 2097F37B502 for ; Tue, 3 Oct 2000 08:12:56 -0700 (PDT) Received: from Matt (209-113-91-158.insync.net [209.113.91.158]) by sneety.insync.net (8.9.3/8.9.3) with SMTP id KAA27813 for ; Tue, 3 Oct 2000 10:12:54 -0500 (CDT) Reply-To: From: "Matt Bettinger" To: Subject: hosed fstab Date: Tue, 3 Oct 2000 10:11:08 -0500 Message-ID: <71F816A89AA9D3119F4C00D0B7094EFC198FFC@FIN_SYN> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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