Date: Mon, 22 Oct 2001 16:23:28 +0800 From: "Soweb_Ahfei" <ahfei_99@yahoo.com> To: <tlambert2@mindspring.com> Cc: <freebsd-hackers@FreeBSD.org> Subject: Re: Read only file FSTAB after error config??? Message-ID: <003301c15ad3$bea70260$0eb32dca@holam> References: <000f01c15a3b$883c2d60$6005c3cb@holam> <3BD32725.CC1CEFBA@mindspring.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Dear Sir, Thanks for your good instruction.We got it. Thank you very much. Ahfei Ho ----- Original Message ----- From: "Terry Lambert" <tlambert2@mindspring.com> To: "Soweb_Ahfei" <ahfei_99@yahoo.com> Cc: <freebsd-hackers@FreeBSD.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?003301c15ad3$bea70260$0eb32dca>