Well I am a newbie in Linux world. Everyday learning by working. I use dual booting and in one drive Windows 7 is installed and in another drive Ubuntu 14.04 LTS is installed. My first O/S was windows 7. There was few drives like Workshop, Movies, Soft etc. Now I was about to change drives in terminal to access files stored in different drives. After spending couple of hours I discovered a way to access different files in different drives. What I did is first of all I mounted lets say /dev/sda2 drive in /media/username folder using this command....
$ sudo mount /dev/sda2/ media/username
Once mounted then I can easily change directories by using cd
command.
Now my questions are...
- Is this really a correct way to change drives to access files?
- I can go forward like
$cd /media/username
but how to go backward? I mean go back to root or go back to media? In windows CMD I am usingcd..
to go one folder back. Is there any similar command for terminal? - What is the difference between drive and partition?
- How to unmount a drive or any file?
- My last question is as far as I know in Linux files are arranged
under root
/
directory. If so then it might don't respect windows drive systems. If so then all files should be accessed without mounting any drive to /media/username folder?