How to run e2fsck on partitions of internal disks?

Zdenek Pytela pytela at phil.muni.cz
Wed Aug 29 15:16:02 UTC 2012


Zoltan Boszormenyi writes:
> How can I run fsck on /home or maybe on / for that matter?
> I guess booting the Fedora 17 DVD in rescue mode can be
> used. But how to do it without it? I have used yum to upgrade
> from F16 (and F14 before) and don't have the DVD at hand.
	The easiest way is to boot to single user mode: in grub either
choose apropriate menu entry which boots directly into single mode if you have it,
otherwise choose any kernel entry and edit line beginning with linux and
append the word 'single'.
	There are other ways: rescue mode from fedora dvd, any live
distribution on usb stick, booting from boot.fedoraproject.org. You may need
to remount root fs:
mount -o remount,ro /

-- 

--Zdenek Pytela, <pytela at phil.muni.cz>



More information about the users mailing list