LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 10-12-2003, 08:48 AM   #1
Gweilo
LQ Newbie
 
Registered: Jul 2003
Distribution: Mandrake
Posts: 9

Rep: Reputation: 0
mounting secondary win partition?


I know how to mount a primary partition, but how do I mount other partitions of the same physical drive?

"fdisk -l" returns this:
/dev/hda1 *(boot) 1 3824 20716248+(blocks) c (that's the ID) Win95 FAT32 (LBA)
/dev/hda2 3825 9963 49311517+ f Win95 Ext'd (LBA)
/dev/hda5 3825 9963 49311486 7 HPFS/NTFS

On Windows I have a C: drive and a E: drive. I mounted the C drive with:

mount -t vfat /dev/hda1 /mnt/win

How do I mount the other (E) partition? Thanks for any help

PS: I'm using WinXP and RH9

Last edited by Gweilo; 10-12-2003 at 09:19 AM.
 
Old 10-12-2003, 09:13 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,932

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
The same way except use use /dev/hda5 and a filesystem type of ntfs.

NTFS support isn't included in all default distro kernels. For additional help post what you are running.
 
Old 10-12-2003, 09:22 AM   #3
Gweilo
LQ Newbie
 
Registered: Jul 2003
Distribution: Mandrake
Posts: 9

Original Poster
Rep: Reputation: 0
hi, thanks for your quick reply.

I tried that, but NTFS is not supported by my Kernel.

I'm running Red Hat 9, default settings.
 
Old 10-12-2003, 09:24 AM   #4
martina-cz
Member
 
Registered: Oct 2003
Distribution: Slackware 9.1
Posts: 40

Rep: Reputation: 15
Try this: http://linux-ntfs.sourceforge.net/info/redhat.html
 
Old 10-12-2003, 09:26 AM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,932

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
http://linux-ntfs.sourceforge.net/info/redhat.html

BTW: Searching first will lead you to lots of answers.
 
Old 10-12-2003, 10:03 AM   #6
Gweilo
LQ Newbie
 
Registered: Jul 2003
Distribution: Mandrake
Posts: 9

Original Poster
Rep: Reputation: 0
thanks a lot! it works fine now
 
Old 10-12-2003, 10:08 AM   #7
Gweilo
LQ Newbie
 
Registered: Jul 2003
Distribution: Mandrake
Posts: 9

Original Poster
Rep: Reputation: 0
I just noticed, that I can't write on that mount. Is is possible to make it writeable?

Because that was the reason why I actually wanted to mount it... Some dll (odbc32.dll) is missing, so win won't start and I somehow can't access that drive (E) from DOS either.
 
Old 10-12-2003, 10:18 AM   #8
martina-cz
Member
 
Registered: Oct 2003
Distribution: Slackware 9.1
Posts: 40

Rep: Reputation: 15
It's possible to write to it, but a little bit risky. It's much better to compilele the kernel.

http://www.tldp.org/HOWTO/Kernel-HOWTO/index.html
 
Old 10-12-2003, 10:25 AM   #9
Gweilo
LQ Newbie
 
Registered: Jul 2003
Distribution: Mandrake
Posts: 9

Original Poster
Rep: Reputation: 0
Why is it risky? How can it even be done?
What am I supposed to do with the kernel? I have absolutely no clue.

Sorry for asking these stupid questions, but I tried searching for answers, but didn't find any.
 
Old 10-12-2003, 10:46 AM   #10
martina-cz
Member
 
Registered: Oct 2003
Distribution: Slackware 9.1
Posts: 40

Rep: Reputation: 15
Try one of these commands, it should help to write on that mount. I don't recommend it, writing on NFTS under Linux isn 't safe. As I said, it's much better to compile the kernel. Read some howto, the link is above or search the forum.

1-mount /dev/hda4 /mnt/windows -t ntfs -r
2-mount /dev/hda4 /mnt/windows -t ntfs -r -o umask=0222
3-mount /dev/hda4 /mnt/windows -t ntfs -r -o umask=0222,uid=flatcap,gid=winuser
4-mount /dev/hda4 /mnt/windows -t ntfs -o rw
 
  


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
slackware 9.1 mounting problems (cd drive, cd writer drive, win partition (ntfs)) mr.gizm0 Slackware 8 05-11-2004 07:23 PM
Problem mounting Win XP partition with samba Aneb Linux - Software 2 03-09-2004 09:25 AM
Mounting a linux partition on my secondary IDE linuxjuggler Linux - Newbie 1 12-17-2003 02:58 PM
mounting Win XP ntfs partition on linux need help crittman Linux - Software 6 12-04-2003 11:56 PM
Mandrake on primary HD, Win on secondary, dual boot? XDude Linux - Newbie 12 07-15-2003 01:50 AM


All times are GMT -5. The time now is 04:58 PM.

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