LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   How to mount my Windows2000 (https://www.linuxquestions.org/questions/linux-general-1/how-to-mount-my-windows2000-83111/)

kewlchen 08-18-2003 10:00 AM

How to mount my Windows2000
 
Hi everyone,

I am just a newby, and I am wondering how to mount my /dev/hda1

I typed "fdisk -l" to list my hard disk partitions, and it returns:
/dev/hda1 * 1 1275 10241406 7 HPFS/NTFS
/dev/hda2 2041 2432 3148708+ e Win95 FAT16 (LBA)
/dev/hda3 1276 1288 104422+ 83 Linux
/dev/hda4 1289 2040 6040440 f Win95 Ext'd (LBA)
/dev/hda5 1289 1992 5654848+ 83 Linux
/dev/hda6 1993 2040 385528+ 82 Linux swap

the first HPFS/NTFS partition is my windows 2000, and I created a folder named "win2K" under /mnt, and i used a command:
"mount -t ntfs /dev/hda1 /mnt/win2K"

but it returns an error "mount: fs type ntfs not supported by kernel".
I have check the mount command, but the ntfs is actually a type of mount, can anyone tell me why?

BTW, what is "LBA" and what is "Linux swap" for?

trickykid 08-18-2003 10:45 AM

Your kernel isn't compiled to support NTFS, you can either try to load the module to support it:

modprobe ntfs

Or you can recompile your kernel to support it.

LBA = Logical Block Addressing link= http://www.linux-tutorial.info/cgi-b...98&126&262&0&3
Swap = Virtual Memory allocation on the actual hard disk.

Mathieu 08-18-2003 10:46 AM

By default, most Linux distributions do not have the NTFS support module.
You will need to download and install the NTFS support drivers which are also available in RPM.
http://linux-ntfs.sourceforge.net/

Or
Re-compile your Kernel in order to add NTFS read support.


Note:
NTFS support is Read-Only. :eek:
Do NOT write to NTFS from Linux. :tisk:
It may corrupt your NTFS filesystem. :cry:

Skyline 08-18-2003 11:24 AM

Because of legal issues Red Hat doesnt include either of the NTFS drivers - follow Matheiu's link for the RPM or recompile as Tricky said.

When you get past this hurdle you might want to extend the temporary mount to :

mount -t ntfs -o ro /dev/hda1 /mnt/win2K

to ensure that you dont write to the NTFS filesystem - it will corrupt it if you do.

Eventually you might want an /etc/fstab entry : here it is:

/dev/hda1 /mnt/win2K ntfs auto,ro,umask=0222 0 0

kewlchen 08-18-2003 06:01 PM

But how can I recompile my kernel. Sorry about this but I am just a newbie. I think it will be complex. It'll be good if there is a tutorial. Thanks in advance.

andrewlkho 08-18-2003 07:12 PM

I think there's a sticky on compiling the kernel in one of the forums here, it might be in the Slackware one. If not, just google for one, you should be able to find one pretty easily.

trickykid 08-18-2003 07:52 PM

Quote:

Originally posted by ho_10
I think there's a sticky on compiling the kernel in one of the forums here, it might be in the Slackware one. If not, just google for one, you should be able to find one pretty easily.
How about the kernel howto at www.tldp.org ? :)


All times are GMT -5. The time now is 10:37 PM.