From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <859ca79d75f1f1f7b2879e6d92644884.axp-list@archive.invalid> X-Archive-Original-Message-ID: Date: Mon, 6 Oct 1997 13:01:01 -0500 From: Kees Cook Subject: Re: lost fstab In-Reply-To: <34391C13.794B@bob.usuf2.usuhs.mil> On 1997/10/06 13:12 -0400, Robert Williams wrote: > I've lost the /etc/fstab file > on an axp system following an erroneous > nfs mount. (There is an fstab file, > but it is empty.) The system will come up > in repair mode, but the root filesystem > is mounted as read-only, so I can't > repair fstab this way. Any suggestions? Once you're booted in single user mode, you need to remount the root filesystem read/write. This is done with: mount -n -o remount,rw / Then you can edit your /etc/fstab, and then make your fs readonly again: mount -n -o remount,ro / -- Cornelius "Kees" Cook cook@cpoint.net Senior Systems Operation Manager, Counterpoint Networking, Inc. -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com