Solved

inittab problem

Posted on 1998-07-25
3
399 Views
Last Modified: 2013-12-15
i installed the red hat 5.0 and modify the inittab for login default on renlevel 5, so at beginning the login prompt will be in x window. then i messed up the x window configuration so when it starts the login screen keeps flinking and i can't input the username and password. i tried to boot from floppy then i can't find the mount point for hard drive(hda4) in fact i can't find mount point for any partition on my HD except the boot floppy and the red hat cdrom.so now i don't know how to access the hard drive. any idea?
it's i486 PC
0
Comment
Question by:smiley020999
  • 2
3 Comments
 
LVL 3

Accepted Solution

by:
mhomann earned 100 total points
ID: 1628649
you can give the runlevel to the kernel at boot-time, for example if you're booting via LILO,
press alt to get a prompt when lilo prints 'LILO', then do an linux init 2, if your lilo section for linux has the label 'linux' and you want runlevel 2...
if you're booting with loadlin from DOS, append 'single' as option to the loadlin command line... this gets you to single user mode...

other possibility: boot from the diskettes, do 'mkdir mnt1 ; mount /dev/hda4 mnt1 -t ext2', you'll have your root file system in ~/mnt1


have fun!

0
 

Author Comment

by:smiley020999
ID: 1628650
thanks, it really works.
BTW can you suggest some books to read for these kind of tips? i can't find this in readhat manual.
0
 
LVL 3

Expert Comment

by:mhomann
ID: 1628651
the SuSE manual is quite good, and if you have the space, install the packages from series 'doc'...
especially books...

0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question