LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training 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 01-29-2008, 06:12 PM   #1
svoltmer
Member
 
Registered: Apr 2004
Posts: 33

Rep: Reputation: 15
Fsck Error during boot


For some reason fsck has the wrong data stored in /etc/fstab for 2 of my drives (compare list of dev by UUID to the fstab and you will see the discrepancies).This of course causes an error an puts me into a shell. Ubuntu still will load fine if Ctrl +D is pressed though. Any suggestions are appreciated. I don't wan't to have to reformat and install if at all possible. Thanks!!

ls -la /dev/disk/by-uuid

drwxr-xr-x 2 root root 240 2008-01-28 16:08 .
drwxr-xr-x 6 root root 120 2008-01-28 11:07 ..
lrwxrwxrwx 1 root root 10 2008-01-28 16:08 3EAF-084E -> ../../sdb6
lrwxrwxrwx 1 root root 10 2008-01-28 11:07 412E-4B31 -> ../../sda5
lrwxrwxrwx 1 root root 10 2008-01-28 11:07 4AFC7FF3FC7FD7A1 -> ../../sda1
lrwxrwxrwx 1 root root 10 2008-01-28 11:07 5291d416-6125-4664-b9cb-494ff88f8eff -> ../../sdc2
lrwxrwxrwx 1 root root 10 2008-01-28 11:07 5ad0559e-e9a4-11d8-993d-d462dee94e6c -> ../../sda3
lrwxrwxrwx 1 root root 10 2008-01-28 11:07 62f4a2fa-7b9d-45ef-a7c0-f937877c2744 -> ../../sdc1
lrwxrwxrwx 1 root root 10 2008-01-28 11:07 6648256F48253EE5 -> ../../sdb1
lrwxrwxrwx 1 root root 10 2008-01-28 11:07 861CC4531CC44043 -> ../../sdc4
lrwxrwxrwx 1 root root 10 2008-01-28 11:07 e228feb9-e0f0-47c3-9499-95ea4411e313 -> ../../sdc5
lrwxrwxrwx 1 root root 10 2008-01-28 11:07 faf02063-57fb-4b13-aa04-f89b6a75ffe9 -> ../../sda4

/dev/fstab

# /dev/sdc1
UUID=62f4a2fa-7b9d-45ef-a7c0-f937877c2744 / ext3 defaults,errors=remount-ro 0 1
# /dev/sda1
UUID=4AFC7FF3FC7FD7A1 /media/sda1 ntfs defaults,umask=007,gid=46 0 1
# /dev/sda3
UUID=5ad0559e-e9a4-11d8-993d-d462dee94e6c /media/sda3 ext3 defaults 0 2
# /dev/sda4
UUID=faf02063-57fb-4b13-aa04-f89b6a75ffe9 /media/sda4 ntfs defaults,umask=007,gid=46 0 1
# /dev/sda5
UUID=412E-4B31 /media/sda5 vfat defaults,utf8,umask=007,gid=46 0 1
# /dev/sdb1
UUID=6648256F48253EE5 /media/sdb1 ntfs defaults,umask=007,gid=46 0 1
# /dev/sdb5
UUID=3EAF-084E /media/sdb5 vfat defaults,utf8,umask=007,gid=46 0 1
# /dev/sdb6
UUID=3EAF-084E /media/sdb6 vfat defaults,utf8,umask=007,gid=46 0 1
# /dev/sdc5
UUID=e228feb9-e0f0-47c3-9499-95ea4411e313 /sg1 ext3 defaults 0 2
# /dev/sdc2
UUID=5291d416-6125-4664-b9cb-494ff88f8eff none swap sw 0 0
/dev/scd1 /media/cdrom0 udf,iso9660 user,noauto,exec 0 0
/dev/scd0 /media/cdrom1 udf,iso9660 user,noauto,exec 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec 0 0
 
Old 01-30-2008, 11:04 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Jessie 8.4
Posts: 5,873

Rep: Reputation: 348Reputation: 348Reputation: 348Reputation: 348
It would be easier to see the discrepancies you refer to by comparing the output of 'fdisk -l' and /etc/fstab.

Then, I'd say, edit fstab to match the output of fdisk, as far as drive and partition numbers are concerned.
 
  


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
Boot error fsck.reiserfs failed Run Manually anerusmc Linux - Newbie 5 11-03-2009 08:34 PM
fsck error:8 during boot sharathg786 Ubuntu 6 06-14-2007 08:17 AM
fsck error on boot up OC_eobard Ubuntu 2 04-10-2007 03:20 AM
Occasional fsck.ext3 Error at Boot Time - FC5 JonBL Linux - Hardware 2 01-25-2007 05:22 AM
fsck error during boot fastly Linux - Software 3 03-17-2004 04:06 PM


All times are GMT -5. The time now is 08:45 AM.

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