LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 03-02-2007, 01:25 PM   #1
mohammeds
LQ Newbie
 
Registered: Feb 2007
Posts: 4

Rep: Reputation: 0
Error during boot


I installed fedora core6 recently and i used it 3 or 4 times without any trouble but after that it started giving me the foll. error message:EXT3-fs error(device dm-0):ext3_xattr_block_get:inode2506331:bad block 2851845 .Anyone know how to deal with this?
 
Old 03-02-2007, 01:31 PM   #2
cpd05
Member
 
Registered: Jan 2006
Distribution: Debian
Posts: 90

Rep: Reputation: 15
Hey,

Do other operating system boot ok on it?
What actually happens when booting into fedora - does it give you errors but boot into the desktop anyway or does it just give errors then fail to boot?

Chris.
 
Old 03-03-2007, 02:45 AM   #3
mohammeds
LQ Newbie
 
Registered: Feb 2007
Posts: 4

Original Poster
Rep: Reputation: 0
yes,it gives errors and then fails to boot.After giving these errors it tells me enter root password and repair the system
 
Old 03-03-2007, 10:37 AM   #4
cpd05
Member
 
Registered: Jan 2006
Distribution: Debian
Posts: 90

Rep: Reputation: 15
What happens after you give the root password? Does a prompt come up that allows you to input commands?

If so it might worth while having a look at the system log to see if it gives you more info. try:

tail -f /var/log/syslog
(do Ctrl-c to get out of syslog when your done)

and

dmesg

see what they say and post it back here.

Chris.

Last edited by cpd05; 03-03-2007 at 10:41 AM.
 
Old 03-03-2007, 11:35 AM   #5
tbutttbutt
Member
 
Registered: Jan 2006
Location: India
Distribution: Fedora 7, Linuxfromscratch 6.2
Posts: 66

Rep: Reputation: 15
If it is asking you to run fsck manually then I think you should just do that:

fsck

It will repair the filesystem. Enter 'y' at all the prompts.
 
Old 03-03-2007, 02:20 PM   #6
bennethos
Member
 
Registered: Aug 2003
Location: Belgium
Distribution: -- Slackware for servers -- Debian for desktops --
Posts: 124

Rep: Reputation: 16
you're disk could have bad sectors/be broke
 
Old 03-04-2007, 01:43 PM   #7
mohammeds
LQ Newbie
 
Registered: Feb 2007
Posts: 4

Original Poster
Rep: Reputation: 0
I tried yhe tail-f command but it seems that it is not working and then i tried fsck manually but even after 4-5 hours it is just not coming to an end.Should i run till it stops or is their any other alternative ?
 
Old 03-04-2007, 02:55 PM   #8
cpd05
Member
 
Registered: Jan 2006
Distribution: Debian
Posts: 90

Rep: Reputation: 15
It would be a good idea to use the hard disk inbuilt software to see if anythings wrong. If you can get into linux try, as root:

smartctl -a /dev/hda

if the command isn't recognised it means that the program smartmontools isn't installed, if you can install things look for it on yum or you could try a livecd such as linux or if you can get into windows a program called speedfan can read the hard disks smart output.

If smartmontools is install then it will output a health report about the hard disk and then you can run scans to check all the sectors.

Oh and are you running tail -f as root?
Hope that helps

Chris
 
Old 03-06-2007, 07:26 AM   #9
mohammeds
LQ Newbie
 
Registered: Feb 2007
Posts: 4

Original Poster
Rep: Reputation: 0
I think that the command was recognised because i got the following response:
Device model:HL-DT-ST DVDRAM GSA-H10W
Serial No :xxxxxxxxxx
Firmware:JL10
ATA version is :5
ATA stand is :Exact ATA specification draft version not indicated
SMART support is unavailable-Packet interface devices(this device :CD/DVD) don't support ATA SMART
 
Old 03-06-2007, 01:54 PM   #10
cpd05
Member
 
Registered: Jan 2006
Distribution: Debian
Posts: 90

Rep: Reputation: 15
It looks like your trying to run smart on your dvd drive!! Are you entering:

smartctl -a /dev/hda

? if so thats strange because your dvd drive has been assigned to /dev/hda.

Run as root:

df -h

Your'll get a print out of the partitions on your hard disk, like this:

/dev/hda3 9.2G 92M 8.7G 2% /
/dev/hda6 12G 6.2G 4.3G 59% /home
/dev/hda5 8.8G 2.8G 5.5G 34% /usr

As you can see the hard disk is assigned /dev/hda and the different partitions are off that. So run

smartctl -a /dev/xyz

But change xyz to whatever the main partition is called in the output from df.

Hope that makes sense

Chris.
 
  


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
Gentoo-Im dumb and deleted /boot/boot Grub Says: Error 26 : Too many symbolic links smehi Linux - Software 5 06-24-2006 07:25 AM
Slack and suse dual boot. boot error cormack Slackware 4 05-24-2006 02:10 AM
xp dual boot unmountable boot volume error lkondrad Ubuntu 4 01-11-2006 12:52 PM
solaris boot problem boot error loading interpreter(misc/krtld) Johncy_j Solaris / OpenSolaris 5 08-18-2005 02:47 AM
Grub (error 17) won't boot after new motherboard/vid card.. boot disk anyone? r3dhatter Linux - Newbie 5 02-16-2005 07:52 PM


All times are GMT -5. The time now is 02:33 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration