Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
help checking a ext2 partition
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
Pajarico
Guru
Guru


Joined: 01 May 2004
Posts: 493
Location: Madrid, España.

PostPosted: Sat Feb 26, 2005 12:26 pm    Post subject: help checking a ext2 partition Reply with quote

After resizing the / partition I wanted to do a e2fsck but it won't let me because while i'm in gentoo the partition is busy. So i get the latest livecd only to see that there is no more ide-disk module so my SATA drive (where my root partition is stored) is not being listed as /dev/hdx, nor /dev/sdx.
I read on this thread that the 2004.2 livecd had that module, but currently is no longer available.

Is not a problem with my drive not being seen. It's listed on BIOS, and both gentoo and windows sees it.

So, it seems that there is no chance with livecd so i was thinking in forcing the periodic check of partitions. The question is how do i tell gentoo to check them, like when they've been mounted more than x times. Is there some key combination to do it?

:wink:
_________________
Gentoo: the only software worth paying that is free.
Back to top
View user's profile Send private message
forgotten1
Guru
Guru


Joined: 11 Jan 2005
Posts: 477
Location: East Coast, USA

PostPosted: Sat Feb 26, 2005 1:09 pm    Post subject: Reply with quote

The sixth field in your /etc/fstab tells fsck whether to check it or not. 0 = don't check.
Gentoo Handbook wrote:
The root filesystem should have 1 while the rest should have 2 (or 0 if a filesystem check isn't necessary).
Back to top
View user's profile Send private message
Pajarico
Guru
Guru


Joined: 01 May 2004
Posts: 493
Location: Madrid, España.

PostPosted: Sat Feb 26, 2005 2:25 pm    Post subject: Reply with quote

I had 0 in fstab, changed it to 1 and rebooted. Later changed to 2 and rebooted again. It still doesn't check the filesytem; i mean it does but only checks if the partition was correctly unmounted and displays "/dev/hde5 is clean" or something alike and avoids doing further checking.

What i want is a check like when you've mounted x times (i think every 20 mounts it forces a check) or like when you use the -f option with e2fsck.

:wink:
_________________
Gentoo: the only software worth paying that is free.
Back to top
View user's profile Send private message
Pajarico
Guru
Guru


Joined: 01 May 2004
Posts: 493
Location: Madrid, España.

PostPosted: Thu May 12, 2005 3:10 pm    Post subject: Reply with quote

Is possible to check the root partition ( / ) while gentoo is running? is possible to put the system to an appropiate runlevel and run ext2 tools from the RAM?

:wink:
_________________
Gentoo: the only software worth paying that is free.
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