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

Re: Partition not mounted. Was Transplanting old System to New Drive

Martin McCormick (martin@x.it.okstate.edu on 2011-08-16 06:30 -0500):
> 	Is there a way to convince fdisk that hdb1 is not
> mounted?
There might be. Try umount -f

The information about current mounts is recorded in /etc/mtab
(basically an old relic, but sadly still not put down). The real
(kernel) information about mounts is in /proc/mounts. When copying root
filesystems or working on a read-only / the mtab file can easily
contain stale information.

If you really know what you're doing, simply remove the file (protip:
after cloning /, always remove /etc/mtab from the clone), or
copy /proc/mounts over it.


Reply to: