manually run e2fsck

2006-01-02 Thread Rodney Richison
My system wants me to run e2fsck manually.
How to do this in debian? The machine boots and runs fine.
S, with grub, can I boot somehow not mounted and run e2fsck without
a rescue cd?

-- 
Highest Regards,

Rodney Richison
RCR Computing
http://www.rcrnet.net
118 N. Broadway
Cleveland, OK  74020
918-358-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: manually run e2fsck

2006-01-02 Thread Rakotomandimby Mihamina
On Mon, 2006-01-02 at 11:46 -0600, Rodney Richison wrote:
 How to do this in debian?

unmount the partition have have to e2fsck and run it:
# e2fsck /dev/hda2 
(for example)

-- 
A powerfull GroupWare, CMS, CRM, ECM: CPS (Open Source  GPL).
Opengroupware, SPIP, Plone, PhpBB, JetSpeed... are good: CPS is better.
http://www.cps-project.org for downloads  documentation.
Free hosting of CPS groupware: http://www.objectis.org.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: manually run e2fsck

2006-01-02 Thread Andrew Sackville-West



Rodney Richison wrote:

My system wants me to run e2fsck manually.
How to do this in debian? The machine boots and runs fine.
S, with grub, can I boot somehow not mounted and run e2fsck without
a rescue cd?


I assume you're talking about / here, otherwisae, just umount the 
partition and run e2fsck.


elsewhere I have heard that you can manually e2fsck on / by doing

init 1
mount /dev/hdxx / -o remount-ro
e2fsck /dev/hdxx
init 5 or whatever you normally run

this drops you to runlevel 1, remounts / as readonly which  *I BELIEVE* 
makes it safe to e2fsck, however, YMMV!! warning!


best bet is to use some kind of rescue boot, knoppix works great for this.

and then you need to find out why its doing that... there is a recent 
bug in e2fsprogs that causes problems if your hardware clock is not set 
to UTM.


A





--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]