Solved

inittab problem

Posted on 1998-07-25
3
396 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
Comment Utility
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
Comment Utility
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
Comment Utility
the SuSE manual is quite good, and if you have the space, install the packages from series 'doc'...
especially books...

0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
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…
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…

728 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now