LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Fsck Error during boot (https://www.linuxquestions.org/questions/linux-newbie-8/fsck-error-during-boot-617254/)

svoltmer 01-29-2008 05:12 PM

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

bigrigdriver 01-30-2008 10:04 AM

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.


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