Professional Web Applications Themes

rescue without floppy or CD? - Debian

I managed to severely disable my laptop last night. First, the symptoms: On boot, it gets to NET4: Unix domain sockets 1.0/SMP for Linux Net4.0. insmod: modprobe: cannot create /var/log/ksymoops/2003/0711.log Read-only file system insmod: /lib/modules/2.4.20-benh/kernel/net/unix/unix.o: cannot create /var/log/ksymoops/2003/0711161051.ksyms Reod-only file system insmod: /lib/modules/2.4.20-benh/kernel/net/unix/unix.o: cannot create /var/log/ksymoops/20030711.log Read-only file system INIT: Entering runlevel: 5 (It's the same no matter which runlevel I try.) At which point it looks like a lot failed, but maybe I can log in: Debian GNU/Linux testing/unstable (none) tty1 (none) login: I attempt to login as root, it checks my password, gives a standard login message, and ...

  1. #1

    Default rescue without floppy or CD?

    I managed to severely disable my laptop last night.

    First, the symptoms:
    On boot, it gets to
    NET4: Unix domain sockets 1.0/SMP for Linux Net4.0.
    insmod: modprobe: cannot create /var/log/ksymoops/2003/0711.log
    Read-only file system
    insmod: /lib/modules/2.4.20-benh/kernel/net/unix/unix.o: cannot create
    /var/log/ksymoops/2003/0711161051.ksyms Reod-only file system
    insmod: /lib/modules/2.4.20-benh/kernel/net/unix/unix.o: cannot create
    /var/log/ksymoops/20030711.log Read-only file system
    INIT: Entering runlevel: 5

    (It's the same no matter which runlevel I try.) At which point it
    looks like a lot failed, but maybe I can log in:
    Debian GNU/Linux testing/unstable (none) tty1

    (none) login:

    I attempt to login as root, it checks my password, gives a standard
    login message, and then this error:
    Unable to change tty /dev/tty1: Read-only file system
    login[21]: unable to change tty `/dev/tty1' for user `root'

    login[21]: ROOT LOGIN on `tty1'


    Then it reverts to a login prompt. Logging in as myself is no better,
    but instead of the ROOT LOGING line, I get:
    No directory, logging in with HOME=/

    and then a new login prompt.

    Now the question: my CD drive on the laptop died about a year ago, and
    I have no floppy drive, so is there any way to boot into a rescue mode
    (that doesn't try to write log files, for instance) to try to fix this?

    The only other option I can think of would be to mount the drive on
    another computer and try to fix it that way, but of course that
    requires a laptop-to-desktop IDE adapter that I don't have (yet).

    Thanks,
    Greg

    __________________________________
    Do you Yahoo!?
    SBC Yahoo! DSL - Now only $29.95 per month!
    [url]http://sbc.[/url]


    --
    To UNSUBSCRIBE, email to [email]debian-user-requestlists.debian.org[/email]
    with a subject of "unsubscribe". Trouble? Contact [email]listmasterlists.debian.org[/email]
    Greg Balls Guest

  2. #2

    Default Re: rescue without floppy or CD?

    * Greg Balls (greggyb) [030711 08:39]:
    > Now the question: my CD drive on the laptop died about a year ago, and
    > I have no floppy drive, so is there any way to boot into a rescue mode
    > (that doesn't try to write log files, for instance) to try to fix this?
    You said you tried various runlevels ... did you try runlevel 1
    (single-user mode?)

    Try booting with

    linux single

    To get to single-user mode. If that still doesn't get you anywhere, try

    linux init=/bin/sh

    you'll get a root shell with only / mounted. You can then mount other
    filesystems to try to repair the damage. Remember to unmount them when
    you're done ... if you try to just leave that shell you won't see init
    cleaning up after you, but rather a kernel panic. =)

    good times,
    Vineet
    --
    [url]http://www.doorstop.net/[/url]
    --
    One nation, indivisible, with equality, liberty, and justice for all.

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.1 (GNU/Linux)

    iD8DBQE/DwG31nIkYEQE+iMRAl7nAJ95XOGGwTTVBfem1j0N82yI1xCmEw CdFq99
    WVzJKPfheHNBxZz9binZX10=
    =Gw0u
    -----END PGP SIGNATURE-----

    Vineet Kumar Guest

Similar Threads

  1. =~ and rescue
    By Patrick Gundlach in forum Ruby
    Replies: 13
    Last Post: October 23rd, 10:24 PM
  2. TCPSocket and rescue
    By Mark Probert in forum Ruby
    Replies: 2
    Last Post: September 5th, 02:10 PM
  3. rescue exception
    By Xiangrong Fang in forum Ruby
    Replies: 2
    Last Post: August 16th, 05:34 AM
  4. How to rescue any exception in 1.8?
    By Philip Mak in forum Ruby
    Replies: 4
    Last Post: July 26th, 10:11 PM
  5. Rescue CD doesn't boot on Acer TM 800 after deleting rescue partition
    By Rene Lanz in forum Linux Setup, Configuration & Administration
    Replies: 2
    Last Post: July 8th, 02:27 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139