LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 05-15-2005, 02:22 PM   #1
Free-Blade
Member
 
Registered: Sep 2004
Posts: 37

Rep: Reputation: 15
How to get Fedora2 to detect my NTFS hard disk


I really don't know what to do,
I want to move my windows NTFS hard disk to my linux computer so i can get the data off of it and put it on the linux hard disk.

I installed the NTFS driver, but that didn't work.
when the computer starts up it recognized the drive, but when i check for the drive in the terminal it just doesn't show up!

The same thing happened when i installed this hard drive (250GB Western Digital SATA) on my windows computer, but i just installed the drivers from the site and it worked fine.

Problem is there are NO drivers for this hard drive for linux! i am completely lost.

Anyone here have any idea what i should do? it would be greatly appreciated.

Details of driver and my system:
Main hard disk:
200GB western digital IDE (this one works fine)
Hard disk i can't mount:
250GB SATA western digital
1.6GB processor
I run Fedora 2

if any more information that you need to help me just ask.

Thx in advance
 
Old 05-15-2005, 02:36 PM   #2
mugstar
Member
 
Registered: Jun 2004
Location: Scotland
Distribution: Anything that'll install...
Posts: 305

Rep: Reputation: 30
You'll need to create a mount point for the new drive by doing `mkdir /mnt/ntfs-drive`, then edit your /etc/fstab to tell the system what to do with the new drive. There's a decent explanation of what /etc/fstab is and does here.
 
Old 05-15-2005, 02:53 PM   #3
mooman_fl
LQ Newbie
 
Registered: Jun 2002
Posts: 6

Rep: Reputation: 0
If you would like to mount it temporarily try making a directory to mount it like said above then use "mount -t ntfs /dev/hda2 /mnt/ntfs-drive"

Of course replace the /dev/hda2 part with the appropriate device. For more info type "man mount" at the command line for the man pages.
 
Old 05-16-2005, 01:21 PM   #4
Free-Blade
Member
 
Registered: Sep 2004
Posts: 37

Original Poster
Rep: Reputation: 15
K i would try what you guys have told me, but the only problem is that i don't know how to find the appropriate device!

"Of course replace the /dev/hda2 part with the appropriate device"
I actually don't know what my drive actually is! is there any comand i can type in to figure out what it is called?
Oh and don't fotget that the drive is SATA, i don't know if that has any effect or not.

thanks for the help guys.
 
Old 05-16-2005, 03:57 PM   #5
mooman_fl
LQ Newbie
 
Registered: Jun 2002
Posts: 6

Rep: Reputation: 0
If this is the only sata drive on your system and you only have one partition on it:

make a directory in /mnt like so: mkdir /mnt/sata-drive

then mount it like so: mount -t ntfs /dev/sda1 /mnt/sata-drive

of course you must do this as root or su


alternatively you can try to add a line to your fstab:

/dev/sda1 /mnt/sata-drive ntfs users,defaults 0 0


Then reprocess your fstab with: mount -a
 
Old 05-17-2005, 02:50 AM   #6
Free-Blade
Member
 
Registered: Sep 2004
Posts: 37

Original Poster
Rep: Reputation: 15
I did the following:
I honistly don't know what to do anymore:
daan@localhost daan]$ su -
Password:
[root@localhost root]# mkdir /mnt/sata-drive
[root@localhost root]# mount -t ntfs /dev/sda1 /mnt/sata-drive
mount: /dev/sda1 is not a valid block device
[root@localhost root]#

thx for the help, i am honistly really apreciating it

any more idea's?
 
Old 05-17-2005, 04:45 AM   #7
andygo
Member
 
Registered: May 2005
Location: Ukraine, Kiev
Distribution: Gentoo, Kubuntu
Posts: 112

Rep: Reputation: 15
don't give up %-)

!!!try to understand the idea of /dev file system in general!!!
if /dev/sda1 is not a valid device then may be /dev/sda2 is valid %-)
if not - check /dev/sdb1 until you reach the corner of the world b:-)
also you may try the same with command cfdisk /dev/sda if not valid then
cfdisk /dev/sdb then
cfdisk /dev/sdc then
cfdisk /dev/sdd
cfdisk will show you the whole table of the device specified
then you'll know which to mount
and don't forget to have fun
 
Old 05-17-2005, 04:49 AM   #8
andygo
Member
 
Registered: May 2005
Location: Ukraine, Kiev
Distribution: Gentoo, Kubuntu
Posts: 112

Rep: Reputation: 15
in mandrake linux there is diskdrake utility i think DiskDruid may also help
 
Old 05-17-2005, 05:38 AM   #9
Free-Blade
Member
 
Registered: Sep 2004
Posts: 37

Original Poster
Rep: Reputation: 15
the help is really appreciated.. i tried all of the ones you said...
sda1, sda2, sda3 then sdb1, sdb2, sdb3, then sdd1, and so on an on... i went to 6 for each of those!!!!!
i sware to god linux is starting to get on my nerves again!
gonna keep on trying but i am seeing no light at the end of the tunnel

THE strangest thing though!!!! when i start up the computer linux actually recognizes the damn drive! (when its searching for new hardware)
strangly enough it says serial ata 150 (it should be 250)
i am not sure what to do.

what i am going to try next is get my other SATA drive, the one thats only 120GB and see if it actually works with that one because the 250 gb drive was not detected by windows either... i had to install a driver for the system to recognize it. (can't really do that for linux though)

k again, any more idea's just tell me, i will post if the other SATA drive worked.

Last edited by Free-Blade; 05-17-2005 at 06:08 AM.
 
Old 05-17-2005, 06:17 AM   #10
Free-Blade
Member
 
Registered: Sep 2004
Posts: 37

Original Poster
Rep: Reputation: 15
k even my other SATA drive didn't work!!!! i am completely lost now

hmpf, linux can make me so mad!
i feel like thowing the computer out the window hahaha

:'( anyone got any more idea's?
 
Old 05-17-2005, 07:08 AM   #11
mjjzf
Member
 
Registered: Feb 2004
Location: Valby, Denmark / Citizen of the Web
Distribution: Slackware 14.1
Posts: 879

Rep: Reputation: 39
Have you installed the RPM for NTFS-support?
 
Old 05-17-2005, 07:16 AM   #12
Free-Blade
Member
 
Registered: Sep 2004
Posts: 37

Original Poster
Rep: Reputation: 15
well i did, from sourceforge or something like that, but i am thinking that i installed it wrong :S i can't think of any other reason why it wouldn't work.

On that site they first tell you to find out which kernel you have.
so i did that and i know i need this file:
2.6.5-1.358 i686

i downloaded that and installed it

Now here is where it gets kind of strange:
I need to type
/sbin/modprobe ntfs
then dmesg | grep NTFS
if i don't do this the ntfs system doesn't show up when i type

cat / proc/filesystems

is this normal? how do i know that its actually reading it properly?

OH and yes one more thing,

when i type
/sbin/fdisk -l
only my IDE hard disk shows up! i can't even see the ntfs partion....

The thing is at first i thought this was because the hard disk needed drivers, but i actually pluged in my other SATA drive and that one didn't show up either!

Last edited by Free-Blade; 05-17-2005 at 07:20 AM.
 
Old 05-17-2005, 07:36 AM   #13
andygo
Member
 
Registered: May 2005
Location: Ukraine, Kiev
Distribution: Gentoo, Kubuntu
Posts: 112

Rep: Reputation: 15
one thing is for sure -don't throw your linux box out%-) lets play pretend you want to install linux on your sata drive unplug other drives and boot from installation CD it will do the dirty job 4 U and tell you the right device file for you drive. don't proseed the install proces just reboot
andother thing - check if your kernel supports NTFS and SATA - if not -compile your kernel
 
Old 05-17-2005, 07:44 AM   #14
Free-Blade
Member
 
Registered: Sep 2004
Posts: 37

Original Poster
Rep: Reputation: 15
OH! i think i might know what the problem is.... maybe my kernel doesn't support sata! how can i check if it can support it or not?

I kinda gave up, i put the hard drive back in my windows machine (just for an hour) i want to watch a movie,...

i will try the acting like i am going to install linux on the SATA drive, but i want to check if the kernel can support sata first
 
Old 05-17-2005, 09:56 AM   #15
andygo
Member
 
Registered: May 2005
Location: Ukraine, Kiev
Distribution: Gentoo, Kubuntu
Posts: 112

Rep: Reputation: 15
switch the distro

last time i tried to mount NTFS to Fedora3 I found out that it's default kernel doesn't support NTFS that makes me think that fedora2 doesn't support it either any way you have to recompile your kernel or switch the distro - Mandrake doesn't have such problems

try this #lsmod | grep sata - but I'm not sure if it can help
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How to detect hot swapped hard disk (in a modular bay). mrgordonz Linux - Hardware 0 08-15-2004 10:18 PM
moving hard disk with fedora2 to another computer?? new22linux Fedora - Installation 1 06-05-2004 12:45 PM
disk druid fail to detect usb hard drive zlizli Linux - Laptop and Netbook 1 02-09-2004 03:14 PM
Script to detect hard disk size rajatgarg Programming 4 11-07-2003 06:46 PM
BIOS does not detect hard disk after Red Hat installation !! samik Linux - Hardware 2 10-12-2003 06:38 AM


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