Accidentally mounted a partition on my whole user account
Hi there,
I accidentally mounted /sda1 to /home/myUser/ by this command: sudo mount /sda1 /home/myUser/ Well I accidentally hit enter as I wanted to type a subfolder :( is there any way, I can get back my account myUser files? Thanks |
Code:
sudo umount /dev/sda1 |
Thanks for your reply kbp!
I tried both sudo umount /dev/sda1 and sudo umount /home/myUser/, in both cases, it says: device is busy. (In some cases useful info about processes that use the device is found by lsof(8) or fuser(1)) I guess, as it's the account's home page, there's no way to release /home/myUser/ ? I haven't dared to restart my computer, in hope I can get my files back. Please help. |
A restart may be your only option, your files are not actually gone or damaged - you may lose any unsaved changes though.
|
Thank you very much. Tonight was one of the best nights in my life. A seeming nightmare ended happily. omG, I love happy endings! :D
The issue is solved. |
All times are GMT -5. The time now is 09:16 AM. |