LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (http://www.linuxquestions.org/questions/fedora-35/)
-   -   Can I run fsck by booting the installation media? (http://www.linuxquestions.org/questions/fedora-35/can-i-run-fsck-by-booting-the-installation-media-4175417063/)

SharpyWarpy 07-16-2012 09:08 PM

Can I run fsck by booting the installation media?
 
I want to run fsck on my OS / partition and of course for that I need to have the partition not mounted. If I boot the installation media (in this case DVD) can I run it from there? I'm using ext4 and I'm afraid to use one of my rescue boot cds like RIP because it might not work right with ext4. Thanks ahead of time.

TobiSGD 07-16-2012 09:15 PM

If you have a recent version of RIP it will work fine with ext4. It is not that ext4 is that new. But if your installation media gives you a shell and has the e2fsproogs installed you can use that also.

SharpyWarpy 07-16-2012 09:54 PM

Thanks for the quick reply. I'll have a look at both.

SharpyWarpy 07-16-2012 10:20 PM

Okay I booted RIP and it did indeed have provision for checking an ext4 file system. And my file system is fine. Thanks, TobiSGD.

TobiSGD 07-16-2012 10:30 PM

Nice that you worked that out. If your problem is solved please mark this thread as solved using the thread tools at the top of the thread.

syg00 07-16-2012 10:30 PM

You can also add "fsck.mode=force" to the boot (similar to the old /forcefsck trick). Will probably fsck everything in fstab though ...


All times are GMT -5. The time now is 08:47 AM.