Re: unmount filesystem in maintenance mode runlevel1



-----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-----
.



Relevant Pages

  • thunderbird and broken sig delimiter when using enigma
    ... when using enigma and would like to know a cure, ... fix do to reasons of harassment received on support-thunderbird list. ... 'The Linux Documentation Project' http://www.tldp.org/ ... Comment: Using GnuPG with Red Hat - http://enigmail.mozdev.org ...
    (Fedora)
  • Re: [SLE] Net speed in KDE
    ... Jason, ... I think you are seeing some bad site setup on cnn.com! ... complain to cnn.com to fix their site, I don't think it's our setups ... Registered Linux User #225206 ...
    (SuSE)
  • Re: Converting from pdf to ps under Linux - different tools give different output
    ... You need GnuPG to verify this message ... >> Then fix your broken system, works for me like a charm, directly ... Michael Heiming ...
    (comp.os.linux.misc)
  • Re: Sound problem ...
    ... Then fix it. ... Best Regards, ... Version: GnuPG v1.4.0 (FreeBSD) ...
    (freebsd-questions)
  • Re: to check for numericality
    ... | How would you fix this so it would work for valid numbers such as ... I realize that the OP uses comma separators, but Excel ... Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org ...
    (comp.lang.ruby)