LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   mounting secondary win partition? (https://www.linuxquestions.org/questions/linux-newbie-8/mounting-secondary-win-partition-103029/)

Gweilo 10-12-2003 07:48 AM

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

michaelk 10-12-2003 08:13 AM

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.

Gweilo 10-12-2003 08:22 AM

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.

martina-cz 10-12-2003 08:24 AM

Try this: http://linux-ntfs.sourceforge.net/info/redhat.html

michaelk 10-12-2003 08:26 AM

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

BTW: Searching first will lead you to lots of answers.

Gweilo 10-12-2003 09:03 AM

thanks a lot! it works fine now

Gweilo 10-12-2003 09:08 AM

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.

martina-cz 10-12-2003 09:18 AM

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

Gweilo 10-12-2003 09:25 AM

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.

martina-cz 10-12-2003 09:46 AM

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


All times are GMT -5. The time now is 05:47 AM.