From owner-freebsd-hackers Mon Oct 22 1:31: 4 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp3.ctimail3.com (smtp3.ctimail3.com [203.80.64.6]) by hub.freebsd.org (Postfix) with ESMTP id 2890A37B427 for ; Mon, 22 Oct 2001 01:30:48 -0700 (PDT) Received: from holam (195_2user08.ctinets.com [203.195.2.8]) by smtp3.ctimail3.com (8.10.1/8.10.1) with SMTP id f9M8b5v05406; Mon, 22 Oct 2001 16:37:06 +0800 (HKT) Message-ID: <003301c15ad3$bea70260$0eb32dca@holam> From: "Soweb_Ahfei" To: Cc: References: <000f01c15a3b$883c2d60$6005c3cb@holam> <3BD32725.CC1CEFBA@mindspring.com> Subject: Re: Read only file FSTAB after error config??? Date: Mon, 22 Oct 2001 16:23:28 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="big5" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Dear Sir, Thanks for your good instruction.We got it. Thank you very much. Ahfei Ho ----- Original Message ----- From: "Terry Lambert" To: "Soweb_Ahfei" Cc: Sent: Monday, October 22, 2001 3:51 AM Subject: Re: Read only file FSTAB after error config??? > This belongs on -questions... > > Soweb_Ahfei wrote: > > We have installed the Freebsd4.32 in our server.But we can not > > reboot the system after we made an error configuration in the > > file FSTAB.Now,we can not delete or rename the error file Fstab > > and the system shown the file is read only. > > > > We would not re-install the system since there are some available > > data.Please give us an instruction how to revise it. > > Boot the system single user (boot -s at the boot prompt, > after hitting spacebar during the countdown). > > Remount the root partition as read/write (mount -u -o rw /, > after you get to a shell). > > Modify the fstab to correct your error; you may need to fsck > the partition where /tmp is located, if it is not /, before > you can run an editor; you will probably need to set the > terminal type, as well, unless you want to use "cat", or are > comfortable with "ed" (setenv TERM cons25). > > -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message