nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

File System Error During Boot

This is a discussion on File System Error During Boot within the Ubuntu / Debian forums, part of the Linux Distribution category; For some reason fsck has the wrong data stored in /etc/fstab for 2 of my drives (compare list of dev ...


Go Back   nixCraft Linux Forum > Linux Distribution > Ubuntu / Debian

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 01-30-2008, 06:13 PM
Junior Member
User
 
Join Date: Jan 2008
My distro: Ubuntu
Posts: 2
Rep Power: 0
svoltmer is on a distinguished road
Default File System 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 discrepancie.This of course causes an error an puts me into a shell when trying to boot. Ubuntu Linux still will load fine if Ctrl +D is pressed though. Any suggestions are appreciated. I don't wan't to have to re-format and re-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
__________________
Specs:
Processor: P4 3.3Ghz
Storage: 1-200GB WD, 1-160GB WD, 1-500GB Seagate external
OS's: XP Pro
Memory: 2Gig of 3200 DDRAM
Video: Radeon X800 Pro 256MB
Ethernet: Marvel Gigabit
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 02-20-2008, 05:18 PM
Junior Member
User
 
Join Date: Feb 2008
My distro: Ubuntu 7.10
Posts: 2
Rep Power: 0
aymhenry is on a distinguished road
Default

I got the same problem edubuntue 7.10
so I ve changed some the setting on /etc/fstab file
by add 0 instade of 1 at the the end of every line
1- make back up
sudo cp /etc/fstab /etc/fstab.save
2- update
sudo nano /etc/fstab

then press Ctrl+X to save the file
Reply With Quote
  #3 (permalink)  
Old 02-20-2008, 06:34 PM
Junior Member
User
 
Join Date: Jan 2008
My distro: Ubuntu
Posts: 2
Rep Power: 0
svoltmer is on a distinguished road
Default

Thanks for your help everyone. But I still need one of the drives that it is throwing an error on. Is there a way I can reformat that particular partition from within Ubuntu to get it to mount? Thanks
Reply With Quote
  #4 (permalink)  
Old 02-21-2008, 01:50 PM
Member
User
 
Join Date: Jul 2005
Posts: 85
Rep Power: 0
ricc
Default

Change all the last column entries from 1 to 0 for the partitions with ntfs.

As far as I know, Ubuntu tries to run fsck on all the partitions on the disk. Which is not necessary. If we change all the entries to 0, then whenever it boots, it will not check the partition.

As far as mounting is concerned, it will be able to mount the ntfs partitions even if the above thing is done.

ricc
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
HP-UX Create system recovery boot tape stewwalker HP-UX 4 01-16-2008 05:21 AM
Error while logging in the linux system vaibhav.kanchan Getting started tutorials 2 07-19-2007 09:27 PM
Script file to be run when linux boot adhikari.rohit Shell scripting 7 05-22-2007 07:59 PM
Command to Check Linux File System lacloai Getting started tutorials 3 05-14-2007 05:45 PM
System bootup in progress - please wait error Rob Linux software 1 12-18-2005 12:29 AM


All times are GMT +5.5. The time now is 12:25 AM.


Powered by vBulletin® Version 3.7.2 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36