LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-15-2004, 07:24 AM   #1
leetcrew
LQ Newbie
 
Registered: Mar 2004
Posts: 15

Rep: Reputation: 0
Windows and Linux partition


i am using winXP and redhat linux 9 (dual boot) in one machine

My HDD had been divided into 3 partitions.
40 GB for Windows (c:), 20 GB for Linux ( / ), and the remaining 60GB (d: / NTFS) is for my documents and MP3s.

I want both linux and windows has an ability to access my 3rd partition partition


thanks

Last edited by leetcrew; 03-15-2004 at 07:25 AM.
 
Old 03-15-2004, 07:31 AM   #2
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
For windows to access it you'd best keep it as NTFS. Do you know the drive/partition number (bearing in mind logical partitions start numbering at 5) for the third partition? In any case, first create a directory to act as a mount point for the third partition somewhere on your linux system, something like: /media or /disk3.
Then add the line:
Code:
  /dev/hda3   /media  ntfs   auto,users,umask=0  0  0
to /etc/fstab, replacing /dev/hda3 with the actual disk/partition number of your partition.
 
Old 03-15-2004, 07:37 AM   #3
leetcrew
LQ Newbie
 
Registered: Mar 2004
Posts: 15

Original Poster
Rep: Reputation: 0
i dont know the partition number
I also had a spare disk with 2 partition
 
Old 03-15-2004, 07:46 AM   #4
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
If you have all three partitions on one disk (presumably primary master) then create the mount point (as above) and then type:
Code:
mount -t ntfs /dev/hda3 /media
Trying different numbers in place of the 3 until it doesn't complain about either being already mounted or not existing. Then cd to /media or whatever mount point you chose and list the files (ls) to find out which drive you've just mounted (It should be either your third partition or your windows drive!). Then follow what I said in my first post using the /dev/hdax where x is whatever partition number mounted the correct drive.
 
Old 03-15-2004, 08:00 AM   #5
leetcrew
LQ Newbie
 
Registered: Mar 2004
Posts: 15

Original Poster
Rep: Reputation: 0
Code:
[root@server1 root]# mount -t ntfs /dev/hd3 /windows
mount: fs type ntfs not supported by kernel
[root@server1 root]# mount -t NTFS /dev/hd3 /windows
mount: fs type NTFS not supported by kernel
[root@server1 root]#
 
Old 03-15-2004, 08:06 AM   #6
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
Ahhh, you've got problems there then. NTFS support needs to be compiled into the kernel and it looks like it isn't. I don't know if it's possible to get a kernel module to support that...if not then you'd need to recompile the kernel with NTFS support enabled.
I'm surprised RH9 doesn't include an NTFS kernel.
 
Old 03-15-2004, 08:08 AM   #7
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
http://linux-ntfs.sourceforge.net/rpm/index.html
has some kernel modules for RH9 to support NTFS. They're read-only unfortunately, but if you only want to play mp3s or something then that should be ok.
 
Old 03-15-2004, 08:09 AM   #8
doralsoral
Member
 
Registered: Aug 2003
Location: raleigh
Distribution: Gentoo 2005.1 x86_64
Posts: 931

Rep: Reputation: 31
redhat 9 has an NTFS support rpm, just google for it, not sure if you will be able to write to that partition from linux though.
 
  


Reply


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 windows partition to linux partition M O L8ingN2dust Linux - Newbie 11 01-08-2006 09:11 PM
How can I access files in my Windows 98 partition from my Linux partition, /w BASH? Fabyfakid Linux - Newbie 4 09-17-2004 11:05 PM
I want to increase my Linux partition.Should I take space from a Windows partition? PrinceBalak Linux - General 1 06-25-2004 05:44 PM
What is the code to copy a file from my windows partition to my linux partition? THEBIGFISH Linux - Newbie 3 03-15-2004 10:14 PM
accessing windows partition from linux partition dave bean Linux - Newbie 19 10-15-2003 04:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:54 AM.

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