Find the answer to your Linux question:
Results 1 to 8 of 8
The system is Redhat Linux 7.1. When started, it asked me to enter run level from keyboard. No run levels worked except S, which brought me to the single-user mode. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2003
    Posts
    5

    RH startup


    The system is Redhat Linux 7.1. When started, it asked me to enter run level from keyboard. No run levels worked except S, which brought me to the single-user mode. I found that nothing was in etc/inittab file. What is going on? How can I fix it? Your help is highly appreciated.

  2. #2
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    Must be some strange installation error. I've put my standard-issue RH7.1 inittab avail. for download at ftp://dolda2000.cjb.net/pub/inittab. Don't spend it all in one place.

  3. #3
    Just Joined!
    Join Date
    Jan 2003
    Posts
    5
    Thanks. But, by entering S runlevel, the system is in a read-only mode and networking is not available either. How could I change the content of inittab file? By the way, this problem happened after about 10 months of working properly.

  4. #4
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    Remount your root fs read/write by doing "mount -o remount,rw /" to alter inittab, then get it over a floppy from a connected computer.
    It seems almost too strange that inittab would be truncated just all of a sudden. If it were windows it wouldn't surprise me for a second, but it isn't windows though... Are you sure that you didn't do anything strange?

  5. #5
    Just Joined!
    Join Date
    Jan 2003
    Posts
    5
    Thanks for your response. I am pretty sure that I didn't do anything strange. I consulted with some Linux people and they didn't encounter such a strange matter either. I am gonna try to remount my root fs, but I don't think it will work. In S runlevel, there is no file system mounted, there is nothing in the directory of /root, /home, /proc and network is not working either. Worst of all, S runlevel is the only runlevel I can enter. The inittab is not truncated. The content of it is completely gone. Strangest thing in my whole life.

  6. #6
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    It will work; a root filesystem must always be mounted, or there would be no files.
    Truncated means that the contents of the file have been deleted, but the file itself is left. I don't know a better word for it.
    Btw., is /root a directory of your own, or did you mean /boot?
    And one more thing: install win98 on your machine and you'll soon encounter stranger things daily. =)

  7. #7
    Linux User
    Join Date
    Jul 2002
    Location
    Daytona Beach, FL
    Posts
    487
    Dolda - truncated is a fine word to use, i just think most people think of truncated as cutting of the end of the file suddenly, implying the first part is still there
    majorwoo

    Quiet brain, or I\'ll stab you with a Q-tip.

  8. #8
    Just Joined!
    Join Date
    Jan 2003
    Posts
    5
    Problem solved!
    First, mount -o remount, rw /; Then use vi to edit inittab file; Couldn't write to the disk, getting an error message of "no disk space". What the... Finally found out there was a file in /tmp occuping over 400Mb! It was generated at the time the problem started. Remove it, edit inittab, and Linux is fully functional again!
    The cause of the appearance of this file is still a mystery. I have windows2000 in the same machine. Is this a possilbe reason?
    BTW, /root is a directory of my own and I am among the "most people" in majorwoo's post. Thanks a lot for the help.

Posting Permissions

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