How Do I Unmount a Home Directory in Linux?
Contents 3 Answers. You Can Enter Single User Mode for Such Operations by Adding ‘S’ to the End of Grub Boot Line Edit or Run Sudo Init 1. There You Can Umount...
3 Answers. You can enter single user mode for such operations by adding ‘s’ to the end of grub boot line edit or run sudo init 1 . there you can umount /home, if again get errors run sudo umount -fl /home . -f force and -l disconnect in lazy!
How do I unmount a directory in Linux?
To unmount a mounted file system, use the umount command. Note that there is no “n” between the “u” and the “m”—the command is umount and not “unmount.” You must tell umount which file system you are unmounting. Do so by providing the file system’s mount point.
Must Read
How do I unmount a busy device in Linux?
If possible, let us locate/identify the busy process, kill that process and then unmount the samba share/ drive to minimize damage: lsof | grep ‘<mountpoint of /dev/sda1>’ (or whatever the mounted device is) pkill target_process (kills busy proc. by name | kill PID | killall target_process )