At Tue, 16 Apr 2002 20:58:00 +1000, Steve Kowalik wrote:
> Feh. Reboot into single-user mode ('linux single' at the LILO prompt), and
> fsck all the hard drives you want.

no need to *reboot* to get to single user mode.

just "telinit s" - then you probably want to do a ps listing and
gracefully shutdown some of your daemons manually (noone ever gets
enough rc*.d/K* links in the right places)

then remount the drives read-only:

 mount /dev/hda -o remount,ro

then fsck away:

 fsck /dev/hda

then go back to where you were:

 mount /dev/hda -o remount,rw
 telinit 2   # or whatever run level you were at initially

-- 
 - Gus
-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to