Re: Locked out of system

From: Robert Waldner (rw_at_coretec.at)
Date: 07/27/04

  • Next message: Justinas: "intel PIIXn SATA on 2.6.7 kernel"
    To: debian-user@lists.debian.org
    Date: Tue, 27 Jul 2004 09:08:05 +0200
    
    
    

    On Mon, 26 Jul 2004 15:42:32 PDT, "Gary L. Roach" writes:
    >Well I have been known to do stupid things. This is one of them.

    ;)

    >I changed fstab to mount another drive automatically. I messed up the
    >entry. Now the system boots to management level ((none) prompt) and makes
    >the hard drive partitions read only.

    `mount -o remount,rw /` will re-mount it read/write.

    >There is no text editor available to edit fstab - assuming that I can write
    >to the file. How do I get out of this mess.

    The easiest way would be to mount /usr manually, after which you should
     have an editor to fix fstab.

    Or take the harder way or re-creating fstab: `cat <<EOF >fstab` ;)

    cheers,
    &rw

    -- 
    / Ing. Robert Waldner | Security Engineer |  CoreTec IT-Security  \
    \   <rw@coretec.at>   | T +43 1 503 72 73 | F +43 1 503 72 73 x99 /
    
    

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

    • application/pgp-signature attachment: stored

  • Next message: Justinas: "intel PIIXn SATA on 2.6.7 kernel"

    Relevant Pages

    • Re: How to get SMTP address from Distinguished Name
      ... No, Session.GetMessage does not display a prompt, so it must be something ... particular address list and find an entry in its contents table. ... OutlookSpy - Outlook, CDO ... I can now get the SMTP ...
      (microsoft.public.outlook.program_vba)
    • Re: Update installation failed
      ... At the prompt, type in and then press Enter after each command ... net start wuauserv ... Scroll all the way to the bottom of the log for the most recent entry. ...
      (microsoft.public.windowsupdate)
    • Re: stubbornly corrupted AutoText Entry
      ... > It doesn't have to be "United States." ... > another entry and if the new entry begins with the letter "T" or "U," ... > then the new entry has the junk text appear in the prompt. ...
      (microsoft.public.word.application.errors)
    • Re: To Change PS1 automatically
      ... I want to update PS1 to current time without pressing enter? ... or if you want to set it for all the users, give the same entry in / ... Logout and relogin, you'll get the new prompt. ...
      (comp.unix.programmer)
    • Re: Checking if an entered number is positive or negative
      ... if) //TEST WHETHER NUMERICAL DATA WAS ENTERED ... RETURNED FROM A PROMPT IS ALWAYS A STRING ... > Part of the script is as follows and seems to work OK, ... > one (i.e. no input or a text entry was entered), ...
      (microsoft.public.scripting.jscript)