LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Get Windows partitions to Linux (https://www.linuxquestions.org/questions/linux-newbie-8/get-windows-partitions-to-linux-488031/)

unknowwhere 09-29-2006 11:55 AM

Get Windows partitions to Linux
 
I have just intall the Fedora Core 4 to may laptop. I am a student. I studying about the "Programming in Multi Environment" . So that I have to take the Source Code from Windows to Linux to test.
But after I install FC4 . Linux can't see my 3 Partitions in NTFS. Please help me to get that 3 Partitions. Thanks very much.!!!

got_nix 09-29-2006 12:16 PM

fedora probably picked it up but didn't auto mount it. your gonna have to mount it from the terminal manually. and to make your life easier put it in the fstab files so it auto mounts each time

/etc/fstab

example of mount command from terminal

Code:

mkdir /mnt/windows
 mount /dev/hda1 /mnt/windows -t ntfs -r


pljvaldez 09-29-2006 12:18 PM

fdisk -l should show your 3 NTFS partitions. Then you have to mount them. Make a directory under the /mnt directory (i.e. /mnt/windows1, /mnt/windows2, /mnt/windows3). Then you just have to mount each of them with mount -t ntfs -o ro,umask=0222 /dev/hda1 /mnt/windows1. change /dev/hda1 to whichever partition you see from the output of fdisk. Note that you can only read from NTFS, not write to it. If you need write access, you should create a shared fat32 partition. If you want this partition to mount whenever you boot up, put it in /etc/fstab.

unknowwhere 09-29-2006 09:55 PM

Thanks gol_nix, pljvaldez very much.
I try to use the mount /dev/hda1 /mnt/windows -t ntfs -r but still error. The Error message is : unknow file system type "ntfs"
What would I do next to correct this problem?

SlackDaemon 09-29-2006 10:20 PM

Your kernel doesn't seem to have ntfs support built in. You'll need to download a kernel module:

http://www.linux-ntfs.org/content/view/129/

Download the appropriate RPM. Install it then do a modprobe ntfs.
After thats done, try mounting your ntfs filesystem.

mount -t ntfs /dev/hda1 /mnt/windows

sn68 09-29-2006 10:23 PM

you have to install kernel-ntfs or kernel-module-ntfs (i dont remember exactly, u can search & find out) with same version as your kernel for fedora to read ntfs. You can search for these packages here

Edit: Oops,late by 3 mins


All times are GMT -5. The time now is 09:55 PM.