Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.


Reply
 
LinkBack (1) Thread Tools Display Modes
Old 26-06-2011, 05:04 PM   1 links from elsewhere to this Post. Click to view. #1 (permalink)
Right Off the Assembly Line
 
bijay_ps's Avatar
 
Join Date: Mar 2011
Location: chennai
Posts: 44
Question accessing windows drive through ubuntu


I have installed ubuntu 11.04 alongside with windows 7. And I want to access the other hard drive partions of windows using Terminal Window. How can I do that??? Simply cd command is not working.... and even I tried entering cd\ and after that tried to access my drives,still not working....... it gave me some msg to install cdcd. I installed it but still no success...... so please help me
__________________
Follow 7H3 G33K !nside YOU
bijay_ps is offline   Reply With Quote
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 26-06-2011, 06:47 PM   #2 (permalink)
Simply a DIGITian
 
krishnandu.sarkar's Avatar
 
Join Date: Nov 2007
Location: Kolkata
Posts: 2,942
Default Re: accessing windows drive through ubuntu

You need to mount those Windows partitions first.

Check this out detailed tutorial : Howto mount windows partition onto ubuntu Linux
__________________
  • Read The Forum RULES First.
  • Before PM'ing Or Asking Any Questions To Any Mod Read The FAQ's
  • Before Starting A New Thread Read The STICKY THREADS First
  • Before Participating In Bazaar Section Read The BAZAAR RULES
krishnandu.sarkar is offline   Reply With Quote
Old 26-06-2011, 08:53 PM   #3 (permalink)
BIOS Terminator
 
nims11's Avatar
 
Join Date: Apr 2008
Location: Ranchi
Posts: 816
Default Re: accessing windows drive through ubuntu

1. sudo fdisk -l to get the device name of your drive
2. sudo ntfs-3g device-name mount point

i think ntfs-3g is preinstalled in ubuntu. if not, install it by
sudo apt-get install ntfs-3g
nims11 is offline   Reply With Quote
Old 26-06-2011, 10:10 PM   #4 (permalink)
127.0.0.1
 
mitraark's Avatar
 
Join Date: Nov 2010
Location: Kolkata / Durgapur
Posts: 769
Default Re: accessing windows drive through ubuntu

WTF i though they show "Mount HDD" icon on desktop , you click on it , then a few seconds later , the Windows Partitions show up ... very simple.

Also shows in "Places" , up there on the Taskbar.

Sorry Sorry , didn;t see that "Terminal" part
__________________
Intel i5 760 || Gigabyte H55 || Corsair 4GB 1333MHz Value || XFX HD5670 1GB
WD 2TB Green + Seagate 5900RPM 2 TB + Seagate Freeagent 1 TB x2
Corsair CX400 || Zebronics Bijli || Samsung P2350 23.5" || Altec Lansing VS2621
My Speedtest :D
mitraark is offline   Reply With Quote
Old 27-06-2011, 01:16 PM   #5 (permalink)
Married!
 
Rahim's Avatar
 
Join Date: Apr 2007
Location: Calcutta
Posts: 1,524
Default Re: accessing windows drive through ubuntu

I will help you with an example. Usually Windows C: Partition is the 1st partition of the HDD, so in Linux it will be recognised as /dev/sda1 and if you have another primary partition, it would be recognised as /dev/sda2, logical drives are recognised from /dev/sda5 onwards since we cant have more than 4 Primary Partitions.

Suppose you have 4 paritions:
C: Windows
D: Movies
E: Linux root "/" partition
F: Swap

Open a Terminal and follow the steps below:

1: Create a mount point in /media directory
Code:
sudo mkdir /media/windows
You can name this folder anyway you want.
sudo command will always ask for your password.

2: sudo fdisk -l to get the partition names (most probably /dev/sda1 or /dev/sda2

3: Open /etc/fstab file as it handles the permanent mounting of partitions.
sudo gedit /etc/fstab and enter the following line in it
/dev/sda1 /media/windows ntfs-3g defaults 0 0
Don;t forget to add spaces.

4: Save the file and enter
mount -a in the Terminal.
Now you can access your windows partition in /media/windows directory.
When you reboot(not required) all your partition entries in /etc/fstab will be mounted automatically.

Don't get bored reading my post, i prefer clarity than chaos.
Are you familiar with Linux or is it just your 1st time?
__________________
|| GNU/Linux User || PCLOS KDE 4.6 || 17" DELL Studio ||

topdocumentaryfilms.com

Last edited by Rahim; 27-06-2011 at 01:27 PM.
Rahim is offline   Reply With Quote
Old 27-06-2011, 03:52 PM   #6 (permalink)
Mmmph!!!
 
doomgiver's Avatar
 
Join Date: Nov 2010
Location: Mmmphhmph Mmphph
Posts: 1,408
Default Re: accessing windows drive through ubuntu

Quote:
/dev/sda1 /media/windows ntfs-3g defaults 0 0
Don;t forget to add spaces.
spaces or tab?? i used tab, it works.

also, if i type "defaults,auto,user", will the auto and user flags override the noauto and nouser in "defaults"?
__________________
Mmmphh-mphhhh-mmphh mhh!!!

Steam : doomgiver
doomgiver is offline   Reply With Quote
Old 27-06-2011, 07:04 PM   #7 (permalink)
Married!
 
Rahim's Avatar
 
Join Date: Apr 2007
Location: Calcutta
Posts: 1,524
Default Re: accessing windows drive through ubuntu

Quote:
Originally Posted by doomgiver View Post
spaces or tab?? i used tab, it works.

also, if i type "defaults,auto,user", will the auto and user flags override the noauto and nouser in "defaults"?
Tabs would do too and i think it would override the defaults flags
__________________
|| GNU/Linux User || PCLOS KDE 4.6 || 17" DELL Studio ||

topdocumentaryfilms.com
Rahim is offline   Reply With Quote
Old 27-06-2011, 08:29 PM   #8 (permalink)
Right Off the Assembly Line
 
bijay_ps's Avatar
 
Join Date: Mar 2011
Location: chennai
Posts: 44
Default Re: accessing windows drive through ubuntu

Hey Rahim thnx for your explanation. And believe me I am not bored by reading your reply. Actually it helped me alot,even i prefer clarity. And yup this is my first time with Linux
and I want to be famlier with it.
__________________
Follow 7H3 G33K !nside YOU
bijay_ps is offline   Reply With Quote
Old 27-06-2011, 11:04 PM   #9 (permalink)
Married!
 
Rahim's Avatar
 
Join Date: Apr 2007
Location: Calcutta
Posts: 1,524
Default Re: accessing windows drive through ubuntu

^Linux is very flexible and welcome to the FOSS world.
__________________
|| GNU/Linux User || PCLOS KDE 4.6 || 17" DELL Studio ||

topdocumentaryfilms.com
Rahim is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


LinkBacks (?)
LinkBack to this Thread: http://www.thinkdigit.com/forum/open-source/142960-accessing-windows-drive-through-ubuntu.html
Posted By For Type Date
accessing windows drive through ubuntu - Digit Technology Discussion Forum This thread Refback 01-03-2012 11:36 AM

 
Latest Threads
- by Charan
- by Charan
- by clmlbx

Advertisement




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


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2