Re: How to run e2fsck on partitions of internal disks?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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'.
> 
> I did exactly that way, you didn't quote that part of my mail where I wrote it.
> Let me quote now: " I booted into single mode and ran "umount /home" "
> I did it before running e2fsck but it complain about "resource is busy".
> I checked it, it wasn't mounted and the contents were not available under /home.
> So, what has captured my partition that prevents fsck?
	Booting directly into single mode (from grub) should not lead to
running daemons using home. You can check which services/mounts are
configured to single. And kill daemons which are run on /home:
fuser -m /home
Or try to remount.

> >	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 /
> 
> I wanted to do without burning an extra DVD and waiting some hours
> while the DVD is downloaded. Thanks anyway.
	Making liveusb stick is a bit easier, it will not be extra thing,
and you don't need to download full fedora instalation image. BFO also works
fine if your network card supports network boot.

-- 

--Zdenek Pytela, <pytela@xxxxxxxxxxxx>

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux