[PLUG] How to run fsck on /home partition

Rogan Creswick creswick at gmail.com
Tue Sep 23 23:00:36 UTC 2008


On Tue, Sep 23, 2008 at 3:51 PM, Paul Heinlein <heinlein at madboa.com> wrote:
> On Tue, 23 Sep 2008, Rogan Creswick wrote:
>
>> You will need to unmount /home, and the simplest way to do that is
>> probably to boot up into single-user mode.
>
> That's true enough, and it's certainly the easiest way. If you're
> dying to avoid a reboot,
>

Since it's an Ubuntu box, you'll also have to set a root password:

$ sudo bash
<enter your user's password>
$ passwd   # change root's password
$ exit

> 1. logout as you
> 2. in a non-X environment, login as root
> 3. run "lsof /home" to see what processes have open /home files
> 4. kill said processes
> 5. umount /home
> 6. fsck  /home
> 7. mount /home
>
> --
> Paul Heinlein <> heinlein at madboa.com <> http://www.madboa.com/
> _______________________________________________
> PLUG mailing list
> PLUG at lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>



More information about the PLUG mailing list