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.


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 12-09-2006, 12:42 PM   #1 (permalink)
Traceur
 
zegulas's Avatar
 
Join Date: Oct 2003
Location: Mumbai
Posts: 276
Default Windows partition in Ubuntu


Hi, I have live Ubuntu CD. I wanted to play some songs and movies which are on my 'D:' drive, but I could not find any way to find or mount that partition in Ubuntu. Plz help.
zegulas is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 14-10-2006, 12:13 AM   #2 (permalink)
CpyderGraphix
 
cpyder's Avatar
 
Join Date: Mar 2005
Posts: 48
Red face Re: Windows partition in Ubuntu

Launch gparted from System-Administration
Check linux name for your D: drive. Most probably it would be listed as hda3. If not note whatever is the name and also the file system format.

Launch terminal from Applications-Accesories-Terminal
Run following commands for FAT32 partitions

sudo mkdir /media/windows/hda3
sudo mount /dev/hda3 /media/windows/hda3/ -t vfat -o iocharset=utf8,umask=000

For NTFS

sudo mkdir /media/windows/hda3
sudo mount /dev/hda3 /media/windows/hda3/ -t ntfs -o nls=utf8,umask=0222

These commands will mount the drive in /media/windows/hda3 folder. Open the folder and have access to all your files.

Notes: You wont have write/delete access to NTFS partitions.
Replace <hda3> with the required drive name
If you are using the live CD, this procedure has to be repeated every time you log on. Anyone who knows how to avoid this may please educate us.
cpyder is offline  
Old 14-10-2006, 09:19 PM   #3 (permalink)
Wise Old Owl
 
JGuru's Avatar
 
Join Date: Dec 2005
Location: Space-time continuum
Posts: 1,646
Default Re: Windows partition in Ubuntu

@Cpyder, Instead of hda3 make it as win_d, win_e etc.,

$ sudo mkdir /media/win_d

Now mount the FAT/NTFS partition there

For NTFS read/write in Ubuntu 6.06 (Dapper Drake) You must install these packages:

$ sudo apt-get install libfuse2 fuse-utils

Now add fuse to the list of modules to load

$ echo fuse | sudo tee -a /etc/modules

Now create a user group to access the NTFS partition

$ sudo addgroup ntfs

The output would look like this:
Adding group 'ntfs' (1002)...

Note down the GID ( the number printed after the group name) it may differ, we need
it later

$ sudo mkdir /media/win_c

$ gksudo gedit /etc/fstab

Append the following line at the end of the file, using the GID previously noted down.

Code:

/dev/hda1  /media/win_c    ntfs-fuse     auto,gid=1002,umask=0002       0         0


Now save the file.
Add users to the ntfs group , where 'username' is the name of the user you would
like to have write access.

$ sudo adduser username ntfs

Reboot your PC now for the changes to take effect.
__________________
* Imagination is more important than knowledge.
-Albert Einstein
JGuru is offline  
Old 14-10-2006, 11:21 PM   #4 (permalink)
CpyderGraphix
 
cpyder's Avatar
 
Join Date: Mar 2005
Posts: 48
Default Re: Windows partition in Ubuntu

Thanx for your suggestions JGuru, yep using names like win_c etc will surely help recognising where are you poke around . I dont remember installing those utilities for NTFS read/write. So I think NTFS read access is available by default in Dapper Drake. Write access for NTFS is not provided and various forums say that though write access is available using some utilities, it is still buggy hence i am keeping off-- for now
cpyder is offline  
Old 15-10-2006, 12:07 AM   #5 (permalink)
Wise Old Owl
 
JGuru's Avatar
 
Join Date: Dec 2005
Location: Space-time continuum
Posts: 1,646
Default Re: Windows partition in Ubuntu

@Cpyder, These NTFS access (read/write) utilities are tested & works well. I can't say
very surely that they are without bugs!! You can create a FAT32 Windows partition
& access that from Linux (read/write).
__________________
* Imagination is more important than knowledge.
-Albert Einstein
JGuru is offline  
Old 15-10-2006, 09:58 AM   #6 (permalink)
In The Zone
 
Join Date: Oct 2006
Location: Mumbai
Posts: 365
Default Re: Windows partition in Ubuntu

ubuntu provide great tool to access windows partition. u son't need to fire any command. Run the Ubuntu Disks Manager. From the system menu bar, choose System | Administration | Disks. In the Disks Manager, find the Hard Disk icon that represents your Windows drive. It is usually /dev/hda. You may see other Hard Disks that you don’t recognize, these are virtual devices created by the LiveCD.
Desi-Tek.com is offline  
Closed Thread

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


 
Latest Threads
- by Charan
- by Charan

Advertisement




All times are GMT +5.5. The time now is 05:15 AM.


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

Search Engine Optimization by vBSEO 3.3.2