Accessing Windows Partition through Ubuntu Terminal
I have Windows 7 and I have also installed Ubuntu side by side installed in same system. I want to access Windows Partition trough ubuntu Terminal Window. Cd command is not working for accessing windows Drives also I have tried cd\ and tried to access windows drive but still I can’t able to access Windows Drive. How can I do that? Please provide solution.
Re: Accessing Windows Partition through Ubuntu Terminal
Try this solution
1. In Ubuntu (classic Gnome), Select Application->Accessories-> Terminal
Terminal Window will open.
2. Type in Terminal. Sudo fdisk –l to this command will give you names of drive. get name of your windows drive
3. Then type Sudo ntfs-3g device-name mount point
If ntfs-3g was not install .Install it by sudo apt-get install ntfs-3g
Re: Accessing Windows Partition through Ubuntu Terminal
Usually Windows C: partition is 1st partition of the HDD, in linux it will be recognized as /dev/sda1
Logical drives are recognized from /dev/sda5 since we can make only four primary partition
If you have windows in C: Windows, D: linux root / partition, E: Swap
Open a Terminal Window
And do steps given below
1. Create mount point in /media directory using sudo mkdir /media/Windows
Sudo command will ask for password. provide password
2. Sudo fdisk –l It will give you partition name probably /dev/sda1 or /dev/sda2
3. Open /etc/fstab It will handle permant mounting of partition
4. Type Sudo gedit /etc/fstab and add /dev/sda1 /media/windows ntfs-3g defaults 0 0 this line in it
5. Save the file and type mount -a in the Terminal.
6. Now you can access Windows Directory
Re: Accessing Windows Partition through Ubuntu Terminal
Try this to mount Windows FAT partition
Open Terminal Window
1. You need to create directory windows partition using mount command (for example /media/c for C: )
sudo mkdir -p /media/c
2. Find out list of partition (click on System > Administration > Disks) or use following command
sudo fdisk -l
3. To mount Windows FAT partition type command
sudo mount -t vfat -o iocharset=utf8,umask=000 /dev/hda1 /media/c
To unmount Windows FAT drive (mounted at /media/c) partition type command:
Sudo umount /media/c