Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
06-29-2003, 01:10 PM
|
#1
|
LQ Newbie
Registered: Jun 2003
Location: India
Posts: 7
Rep:
|
Problem in booting
I have Redhat Linux 8.0 on my PC. It was working fine till yesterday. Now when I boot it, it starts to check the partition
and stops there.
|
|
|
06-29-2003, 03:05 PM
|
#2
|
LQ Guru
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,370
|
When Linux shuts down it sets records in each partition to indicate that the partition was umounted cleanly. Maybe you had a power failure, or booted without issueing a shutdown command so that the parttion was not umounted cleanly.
When Linux is booted it checks for clean umount records in each partition. If it does not find them it runs fsck against each partition to try to fix the file system. fsck usually works. Answer yes to any questions fsck asks you about fixing something in the broken partition. When fsck has finished fixing the partition(s) then boot will continue.
fsck stores any file fragments that it cannot identify in the lost+found directory.
So after boot finishes check lost+found.
If the partition is so badly broken that fsck cannot fix it then you are in deep trouble. You will have to reformat the partition using mkfs and restore its contents from your backup files. If you don't have backup files then you will have to reinstall Linux.
If you have a working Linux box available see:
man fsck
man mkfs
Otherwise use Google to find the man pages on the Internet.
Last edited by jailbait; 06-29-2003 at 03:13 PM.
|
|
|
06-29-2003, 03:05 PM
|
#3
|
Moderator
Registered: Aug 2002
Posts: 26,450
|
Need more information.
Are there any error messages?
Does it say something about entering a password?
|
|
|
06-29-2003, 03:27 PM
|
#4
|
LQ Newbie
Registered: Jun 2003
Location: India
Posts: 7
Original Poster
Rep:
|
no it doesn't ask for any password .
It stops before coming to fsck
it shows my hard disk size & c/h/s parameters
then it says
partition check
hda::
and stops there
|
|
|
06-29-2003, 03:30 PM
|
#5
|
Senior Member
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,306
Rep:
|
what filesystem were you using?
is windows on the same hard drive and it works fine?
|
|
|
06-29-2003, 03:43 PM
|
#6
|
LQ Newbie
Registered: Jun 2003
Location: India
Posts: 7
Original Poster
Rep:
|
ya i have win xp on same hdd & it is working fine
on linux i have ext2 file system
|
|
|
06-29-2003, 03:57 PM
|
#7
|
Senior Member
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,306
Rep:
|
do you have a linux bootcd you can run fsck from?
maybe you got some windows boot virus that moved the
bootsector, and so it works in windows, but not in linux.
|
|
|
All times are GMT -5. The time now is 09:43 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|