Re: URGENT! I removed a fs using parted and rebooted now I get an error!

From: Brenden T. (brenden_at_rcsis.com)
Date: 09/29/03

  • Next message: Sarah Haff: "differences is media for AS and ES"
    To: redhat-list@redhat.com
    Date: Mon, 29 Sep 2003 08:58:42 -0700
    
    

    dlangschied wrote:

    >I have a slight problem with that; I dont have a rescue disk. This is a
    >laptop without a floppy drive and during install it would not let me copy to
    >the CD/RW.
    >I have it fixed now. Is there any way to create a rescue CD?
    >

    The other emails are quite correct, but just FYI, I once had a similar
    problems, and what I found I could do is boot with different command
    line parameters. Booting to single user mode won't fix a broken fstab,
    but fstab is run by the init program. So if you skip init, you get a
    very primative system that can be used to repair.

    If you have a bood loader, add an entry like:

    title Linux RESCUE, NO INIT
    root (hd0,0)
    kernel /vmlinuz root=/dev/hda init=/bin/sh

    This runs a shell instead of the init script (init=/bin/sh), and is
    better than single user mode because it assumes a lot less about your
    system. You should check it out and make sure it works for you. If you
    don't have certain critical utilities on the root file system (like
    'mount') you won't be able to do much though, so you might have to copy
    a few programs over to the root file system. You might also consider
    making a text file on the root system with notes in it about how to do
    some important things (I always have a hard time remembering the exact
    command to mount any given partition, and how to remount a partition in
    RW mode (they come up R only normally)), just in case you also manage to
    blow away your man pages at some point. (Don't ask.)

    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Sarah Haff: "differences is media for AS and ES"

    Relevant Pages

    • Re: [SLE] system hangups
      ... Single user mode only has your root file system mounted, ... I've seen the mount ...
      (SuSE)
    • Re: [SLE] system hangups
      ... the wrong word (English is not my mother language). ... Single user mode only has your root file system mounted, ...
      (SuSE)
    • Re: Reconfiguring a second partition for data storage in SuSE 9.0
      ... What to you mean by your "empty partition?" ... you are not actually looking at the "real" root file system on hdb4? ... Command: quit ...
      (comp.os.linux)
    • Re: [SLE] close login of user
      ... more different logins), or would that be another person? ... Try, from a console, as root: ... I fully see the point in going to single user mode and then back to X, ...
      (SuSE)
    • unable to book V240 machine
      ... i was trying to recover the root password of the v240 ... in single user mode, then tried to mount it at temporary mount point i.e. ... Init: failed write of utmpx entry:   ...
      (SunManagers)