LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 12-31-2001, 10:02 AM   #1
eelee
LQ Newbie
 
Registered: Dec 2001
Posts: 5

Rep: Reputation: 0
Question Recognizing windows 2000 hard drive files in linux


I have a dual boot environment with
redhat linux on one hard drive (hdb)
windows 2000 professional hard drive on the other.(should be hda)

i'd like to access files on the windows 2000 drive from within linux.

i've tried "mount /dev/hda" without success.
on start up- hda is detected.
"df -h" --> doesn't list hda.

any help appreciated
 
Old 12-31-2001, 10:35 AM   #2
WindozBytes
Member
 
Registered: Aug 2001
Location: CT, USA
Distribution: Mandriva 2008
Posts: 105

Rep: Reputation: 15
Do you:

have ntfs support compiled into your kernel?

have an entry in your /etc/fstab to describe your windoze 2k drive?
 
Old 12-31-2001, 12:20 PM   #3
eelee
LQ Newbie
 
Registered: Dec 2001
Posts: 5

Original Poster
Rep: Reputation: 0
i tried adding
to fstab

/dev/hda /home/win2000 nfts defaults 0 0

created directory "/home/win2000"

tried

"mount -t nfts /dev/hda /home/win2000"

error= "nfts not supported by kernel"

so i guess i have to compile nfts into the kernel then. i'm running redhat 7.2

how do i do this?


(excuse me for adding an additional unrelated question- i just installed a linux server package on a machine. it did not ask me to set up a login and password but then prompts me when i start up the machine. so i can't log-in. is there a default login/password for linux? this is probably a total newbie question)

thanks for the prompt reply.
 
Old 12-31-2001, 12:37 PM   #4
WindozBytes
Member
 
Registered: Aug 2001
Location: CT, USA
Distribution: Mandriva 2008
Posts: 105

Rep: Reputation: 15
You should probably start with the kernel HOWTO (www.linuxdoc.org) to get some idea of what you're doing and where things could potentially go wrong.

Once you have acquired and installed the kernel source, the commands that I use are:

make mrproper
make menuconfig
make dep
make clean
make bzImage
make modules
make install
make modules_install

What you do next depends on whether you're using LILO or GRUB.

Aside:
There is another solution if you just want to be able to share files between Linux and windoze - create a fat32 partition. Both windoze and Linux will happily read/write that fs (vfat under Linux). This might also be a better solution 'cause after you get ntfs support in Linux, you won't be able to write to your windoze box, only read from it.
 
Old 12-31-2001, 12:59 PM   #5
bluecadet
Member
 
Registered: Oct 2001
Distribution: MD81 RH71
Posts: 555

Rep: Reputation: 30
if you're still using the standard rh72 kernel 2.4.7, and i assume you are, then you'll want to use the old config from that kernel. and only change the ntfs support. your existing config for that kernel shoud be /boot/config-2.4.7 or something. load that instead of trying to do it from scratch....l this would be in the menuconfig stage.

you could get the newst kernel etc.. but theres no real point.
 
Old 01-01-2002, 05:54 AM   #6
da Perp
Member
 
Registered: Oct 2001
Location: the Netherlands
Distribution: Bear Linux (LFS 3.3)
Posts: 171

Rep: Reputation: 30
not sure, but i noticed that you typed nFTs every single time, so it doesnt look like your making a typo. you do realize it's nTFs(all lowercase ofcourse) dont you?
 
Old 01-02-2002, 01:23 AM   #7
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
eelee, when you mount win 2000, you mount the partition it's on and not the entire drive. Example: mount /dev/hda1 ( if win 2000 is on hda1 ) instead of /dev/hda. The hda mounts the whole drive. You want to mount the partition win 2000 is on.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Hard drive installation error, not recognizing ISO files PDAOmega Fedora - Installation 2 07-24-2005 11:24 PM
linux and windows 2000 on seperate hard drives domon#1 Linux - Hardware 3 07-07-2005 02:43 PM
Problem recognizing hard drive Pontius Linux - Hardware 2 06-23-2004 01:09 AM
windows 2000 and linux on seperate hard drives kidquestion Linux - Newbie 0 08-07-2003 08:39 AM
mounting a windows 2000 hard drive durden2.0 Linux - Newbie 6 06-19-2003 09:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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