Go Back   TechArena Community > Software > Operating Systems
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Accessing Windows Partition through Ubuntu Terminal

Operating Systems


Reply
 
Thread Tools Search this Thread
  #1  
Old 22-07-2011
Member
 
Join Date: Feb 2011
Posts: 54
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.

Reply With Quote
  #2  
Old 22-07-2011
Member
 
Join Date: Nov 2008
Posts: 1,185
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
Reply With Quote
  #3  
Old 22-07-2011
Member
 
Join Date: May 2008
Posts: 859
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
Reply With Quote
  #4  
Old 22-07-2011
Member
 
Join Date: May 2008
Posts: 962
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
Reply With Quote
Reply

  TechArena Community > Software > Operating Systems
Tags: , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Accessing Windows Partition through Ubuntu Terminal"
Thread Thread Starter Forum Replies Last Post
How to run script in terminal on ubuntu Bageshri27 Operating Systems 5 24-06-2011 07:15 AM
Dual-boot Ubuntu 10.10 and Windows 7- partition problem Ascetic Operating Systems 4 13-11-2010 06:04 AM
How to open multiple terminal windows in Ubuntu WinSlayer Operating Systems 5 16-03-2010 04:40 AM
Minimum size for root partition and home partition for ubuntu RockeЯ Operating Systems 4 03-09-2009 06:25 PM
Windows XP partition as ubuntu Kiefer Operating Systems 2 06-02-2009 02:14 PM


All times are GMT +5.5. The time now is 02:28 AM.