?
Solved

inittab problem

Posted on 1998-07-25
3
Medium Priority
?
408 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 3

Accepted Solution

by:
mhomann earned 400 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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses
Course of the Month8 days, 23 hours left to enroll

765 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