Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]Problem when checking file systems during boot
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
HellFace
n00b
n00b


Joined: 17 May 2005
Posts: 44

PostPosted: Sun May 22, 2005 12:47 am    Post subject: [SOLVED]Problem when checking file systems during boot Reply with quote

During bootup I get this message:

*Checking all filesystems...
fsck.ext2: No such file or directory while trying to open /dev/BOOT
/dev/BOOT:
The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>

/dev/hdb1 was not cleanly unmounted, check forced.
/dev/hdb1: 35/26104 files (2.9% non-contiguous), 8469/104388 blocks
* Fsck could not correct all errors, manual repair needed

Give root password for maintenance
(or type Control-D for normal startup):

If I give the root password I get a bash prompt and I don't know what to do...

hdb1 is ext2 and bootable.

Any ideas?

Thanks.


Last edited by HellFace on Sun May 22, 2005 8:01 pm; edited 1 time in total
Back to top
View user's profile Send private message
jdgill0
Veteran
Veteran


Joined: 25 Mar 2003
Posts: 1366
Location: Lexington, Ky -- USA

PostPosted: Sun May 22, 2005 3:10 am    Post subject: Reply with quote

HellFace,

Well, first off you don't have a /dev/BOOT. Looks to me you that you failed to properly configure your /etc/fstab file.

If you want help with your fstab file, you need to give us a list of what disks/partitions you have ... i.e. run
Code:
fdisk -ls

and show us your current fstab file. I suspect the other errors are related to improper setup of fstab and/or improper formatting of the partitions themselves.
_________________
Vim has excellent syntax highlighting for configuration files: emerge gentoo-syntax
Learn how to use Vim: vimtutor
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Sun May 22, 2005 12:28 pm    Post subject: Reply with quote

Yes /dev/BOOT is just the dummy line in the fstab template. You are supposed to replace it with something like /dev/hda1 or whatever you want to boot from.

It should be better commented .
8)
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Back to top
View user's profile Send private message
HellFace
n00b
n00b


Joined: 17 May 2005
Posts: 44

PostPosted: Sun May 22, 2005 7:28 pm    Post subject: Reply with quote

Yes, the fstab had a bunch of dummy settings along with my actual setting. I commented them all out and now it works fine. I'm still new at this troubleshooting Linux thing, but just doing a stage 1 install has taught me a lot. Now, if I could only get my sound to work, but that will be another thread when I give up :)

One more question, how do I change the subject line to say solved? :)
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Sun May 22, 2005 7:57 pm    Post subject: Reply with quote

login , view the thread , edit your first post :wink:
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Back to top
View user's profile Send private message
HellFace
n00b
n00b


Joined: 17 May 2005
Posts: 44

PostPosted: Sun May 22, 2005 8:01 pm    Post subject: Reply with quote

Ahh thanks :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum