Re: unmount filesystem in maintenance mode runlevel1
- From: Lew Pitcher <lpitcher@xxxxxxxxxxxx>
- Date: Sun, 29 Apr 2007 21:48:51 -0400
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Joe wrote:
On Apr 29, 8:31 pm, Bit Twister <BitTwis...@xxxxxxxxxxxxxxxx> wrote:
so
vi /etc/fstab
i
navigate/delete
esc
:wq
exit
Thanks. Yea when I do vi it syas something like vim not found.
You may have to give specify the fully qualified path to your editor.
But, if worse comes to worst, you should be able to fix this with the regular
"standalone" tools in /bin and /sbin. Take a look and see if you still have
grep and mv in /bin or /sbin.
If so, then
/bin/grep -v the-device /etc/fstab >/etc/newfstab
/bin/mv /etc/newfstab /etc/fstab
as in
/bin/grep -v /dev/hda4 /etc/fstab >/etc/newfstab
/bin/mv /etc/newfstab /etc/fstab
I won't inflict ed(1) on you - the grep should be good enough for your
problem. ;-)
FWIW, you /should/ be able to fix this with no more than the builtins in your
shell, with a quick shell program. But that sort of fix is usually beyond most
casual users.
- --
Lew Pitcher
Master Codewright & JOAT-in-training | Registered Linux User #112576
GPG public Key available upon request | http://pitcher.digitalfreehold.ca/
Slackware - Because I know what I'm doing.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Armoured with GnuPG
iD8DBQFGNUsDagVFX4UWr64RAvvjAJ9ms3EIcyeb2JnJe1ZwSnkzDgEQZgCcDhKR
E3KSKgwY7hDpSqRVVqZipm0=
=fbN5
-----END PGP SIGNATURE-----
.
- References:
- unmount filesystem in maintenance mode runlevel1
- From: Joe
- Re: unmount filesystem in maintenance mode runlevel1
- From: Bit Twister
- Re: unmount filesystem in maintenance mode runlevel1
- From: Joe
- unmount filesystem in maintenance mode runlevel1
- Prev by Date: Re: Newbie Distro?
- Next by Date: Re: unmount filesystem in maintenance mode runlevel1
- Previous by thread: Re: unmount filesystem in maintenance mode runlevel1
- Next by thread: Re: unmount filesystem in maintenance mode runlevel1
- Index(es):
Relevant Pages
|