LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-18-2003, 10:00 AM   #1
kewlchen
LQ Newbie
 
Registered: Aug 2003
Posts: 9

Rep: Reputation: 0
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?
 
Old 08-18-2003, 10:45 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
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.
 
Old 08-18-2003, 10:46 AM   #3
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
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.
Do NOT write to NTFS from Linux.
It may corrupt your NTFS filesystem.
 
Old 08-18-2003, 11:24 AM   #4
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
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

Last edited by Skyline; 08-18-2003 at 11:26 AM.
 
Old 08-18-2003, 06:01 PM   #5
kewlchen
LQ Newbie
 
Registered: Aug 2003
Posts: 9

Original Poster
Rep: Reputation: 0
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.
 
Old 08-18-2003, 07:12 PM   #6
andrewlkho
Member
 
Registered: Jul 2003
Location: London
Posts: 548

Rep: Reputation: 31
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.
 
Old 08-18-2003, 07:52 PM   #7
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
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 ?
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
OT: Windows2000 Memory issue. DJ Platano General 3 08-11-2004 02:17 PM
Integration with windows2000 network irish rebel Linux - Networking 1 06-01-2004 10:19 AM
Lilo won't boot windows2000 breakerfall Linux - Software 10 06-25-2003 08:46 PM
incompatibility with Windows2000 j_topen Linux - Software 1 04-30-2003 03:59 PM
network problum with windows2000 prashu_bvp Linux - Networking 1 10-29-2002 10:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:33 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
Open Source Consulting | Domain Registration