LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 06-29-2003, 01:10 PM   #1
azazel77
LQ Newbie
 
Registered: Jun 2003
Location: India
Posts: 7

Rep: Reputation: 0
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.
 
Old 06-29-2003, 03:05 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,370

Rep: Reputation: 563Reputation: 563Reputation: 563Reputation: 563Reputation: 563Reputation: 563
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.
 
Old 06-29-2003, 03:05 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,450

Rep: Reputation: 6212Reputation: 6212Reputation: 6212Reputation: 6212Reputation: 6212Reputation: 6212Reputation: 6212Reputation: 6212Reputation: 6212Reputation: 6212Reputation: 6212
Need more information.

Are there any error messages?

Does it say something about entering a password?
 
Old 06-29-2003, 03:27 PM   #4
azazel77
LQ Newbie
 
Registered: Jun 2003
Location: India
Posts: 7

Original Poster
Rep: Reputation: 0
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
 
Old 06-29-2003, 03:30 PM   #5
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,306

Rep: Reputation: 66
what filesystem were you using?
is windows on the same hard drive and it works fine?
 
Old 06-29-2003, 03:43 PM   #6
azazel77
LQ Newbie
 
Registered: Jun 2003
Location: India
Posts: 7

Original Poster
Rep: Reputation: 0
ya i have win xp on same hdd & it is working fine

on linux i have ext2 file system
 
Old 06-29-2003, 03:57 PM   #7
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,306

Rep: Reputation: 66
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
booting problem prince_linux Red Hat 1 10-22-2005 05:01 AM
Booting problem AbhishekSamuel Linux - Software 1 04-29-2005 01:20 PM
booting problem juanb Linux - Software 2 01-13-2004 10:04 AM
Booting Problem naveedpta Linux - General 1 11-20-2003 04:48 AM
Problem Booting lockejr Linux - Hardware 1 07-21-2003 12:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration