Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-14-2008, 09:45 AM   #16
Registered: Apr 2007
Location: Barcelona, Spain
Distribution: Debian, KUbuntu
Posts: 213

Rep: Reputation: 36

now it says mount point media/windows does not exists.
Well, this directory must exist. You can create it (being root) with
mkdir -p /media/windows
After that, probably you'll want to have your partition always mounted when switching on your linux machine. And probably you'll want to have access (read and write) to the partition for your users, not only root. Right? Well, youll need to add this line to /etc/fstab :

/dev/sda1 /media/windows ntfs-3g users,auto    0   0
You can add this with your preferred editor or just executing:

echo "/dev/sda1   /media/windows   ntfs-3g   users,auto   0 0" >> /etc/fstab
Beware: if you put only one >, then you'll overwrite existing info.


Last edited by emi_ramo; 07-14-2008 at 09:45 AM. Reason: some [code] adding
Old 07-14-2008, 12:44 PM   #17
Senior Member
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 116Reputation: 116
/media is usually used for removable drives and media. I wouldn't put a mountpoint for a hard drive partition there, unless the HD was a USB drive. It doesn't matter that much, of course, because in *nix you can mount anything anywhere, but putting it in /media leaves the possibility of a name collision with udev.

Just put the mountpont in /mnt.
Old 07-14-2008, 02:11 PM   #18
Registered: Jul 2008
Posts: 90

Rep: Reputation: 17
login as root
man mount
This will help .
Old 07-15-2008, 12:23 AM   #19
John VV
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,502

Rep: Reputation: 2617Reputation: 2617Reputation: 2617Reputation: 2617Reputation: 2617Reputation: 2617Reputation: 2617Reputation: 2617Reputation: 2617Reputation: 2617Reputation: 2617
i would go with emi_ramo BUT DO NOT USE /media
use /mnt/windows
my fedora setup is a dual boot with xp
first run ( depending on your os ( fedora redhat ..)
~]$ su -
~]# yum install ntfs-3g
~]# mkdir /mnt/windows
--if windows is on the first drive
to find out run
~]# su -
~]# fdisk -l
windows should be sda1
~]# gedit /etc/fstab
and add
/dev/sda1 /mnt/windows ntfs-3g defaults 0 0
to the end and add one empty line , just hit enter to do this and save
you will need to be root to save to /mnt/windows C:\\
also DO NOT use fat32 it is from 1996 windows 95-2b
and is hopelessly outdated

Last edited by John VV; 07-15-2008 at 12:26 AM.
Old 07-15-2008, 01:29 AM   #20
Senior Member
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,629

Rep: Reputation: Disabled
I would not want to give write permissions to users though for security reasons.
Those users wanting to write to the partition can su and then write instead. This could be safer than giving the users the permissions.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Moving files from a Linux hard drive to a Windows Vista Premium hard drive WolfMan51 Linux - Hardware 5 07-12-2011 10:19 AM
Why can't I mount my Windows hard drive from Linux? axess_denied Linux - Hardware 23 10-24-2006 12:53 AM
Erase windows + mount the 2nd hard drive. Dan8080 Linux - Newbie 2 06-23-2006 12:46 AM
mount windows hard drive without partitioning ultrashawn Linux - Hardware 1 04-09-2005 08:19 AM
Mount Windows Hard drive in Linux burtongeek Linux - Newbie 26 03-28-2005 09:28 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:10 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration