Lately, I changed my working OS from MacOS El Capitan to Ubuntu. I extracted my SSD and used is as an external HDD via USB.
I have encountered the problem of accessing data that are stored in the MacOS file system HFS.
Here are the steps that I used to overcome this problem. I haven't tried it but it is possible that the solution applies for different linux systems.
Basically there are 3 steps:
1) Create a temporary admin user
2) Change current users uid from this temporary admin user
3) Enable your user to be visible on login
Here are the list of commands that I have used:
id
sudo adduser tmp
sudo adduser tmp sudo
sudo passwd tmp
[Logout] -> [Login] tmp
sudo usermod -u 501 <username>
[Logout] -> [Login] <username>
Now it is possible to access to the files in your hard drive.
No comments:
Post a Comment