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 10-12-2003, 08:59 PM   #1
lramos85
Member
 
Registered: Sep 2003
Location: Riverside, Ca
Distribution: Gentoo, FC3
Posts: 125

Rep: Reputation: 15
I have an ntfs harddrive how can I ...


I have an external harddrive that has tons of information and I used to use it in windows xp so its ntfs, how can I change this or how can i see ntfs format in red hat linux 9, plus I have no idea on how to mount it, can anyone help me? Thanks
 
Old 10-12-2003, 09:12 PM   #2
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
if you can't see your windows partition as well as the external partition, then go here and download and install redhat ntfs support. you have to download the package that matches your kernel version.

http://linux-ntfs.sourceforge.net/info/redhat.html

you'll then need to edit your /etc/fstab file to include your windows partition and external hard drive partition.

open up a shell terminal and use these commands first:

1. mkdir /mnt/winxp
2. mkdir /mnt/windata

these will create your mount points for your windows hard drives.

now the tricky part since i don't know how you have your external hard drive setup, you'll need to find the device block label for your external hdd.

you can try this command for that:

3. fdisk -l

that's a little "L" after the hyphen.

now you'll have to edit /etc/fstab to create disk entries for mounting.

/dev/hda1 /mnt/winxp ntfs auto, ro 0 0
/dev/hdXY /mnt/windata ntfs auto, ro 0 0

the X in the device block identifier is a letter of some sort like 'a', 'b', 'c', etc... the Y maybe a number like '1', '2', '3'. that all depends on how your external hard drive is hooked up.

then use the mount command as root (su into root in a shell terminal)
4. mount /dev/hda1
5. mount /dev/hdXY
 
Old 10-12-2003, 11:01 PM   #3
lramos85
Member
 
Registered: Sep 2003
Location: Riverside, Ca
Distribution: Gentoo, FC3
Posts: 125

Original Poster
Rep: Reputation: 15
Dont have fdisk

The donwload and install of the ntfs driver worked but i think i don't have fdisk cause I can't use that or any other fdisk command where can I get it?
 
Old 10-12-2003, 11:20 PM   #4
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Use su dash instead of su to become root user ie (su blank space dash)

su -

then run fdisk.
 
Old 10-12-2003, 11:22 PM   #5
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
for me even as root it's not in the path.

i use as root:

/sbin/fdisk -l
 
Old 10-13-2003, 10:42 AM   #6
skulgu
LQ Newbie
 
Registered: Oct 2003
Posts: 2

Rep: Reputation: 0
i cant reach my hard drive

i installed linux, properly. it works fine, now. But i cant find my hard drive in the /dev folder. i think it is supposed to be there.
anybody cant help me!
 
Old 10-13-2003, 09:13 PM   #7
lramos85
Member
 
Registered: Sep 2003
Location: Riverside, Ca
Distribution: Gentoo, FC3
Posts: 125

Original Poster
Rep: Reputation: 15
Thank You guys

Thanks people, i got my external ntfs hardrive working plus now I can see my windows C: drive, this is cool. I just follow all the instructions. Thanks
 
Old 10-14-2003, 06:05 PM   #8
skulgu
LQ Newbie
 
Registered: Oct 2003
Posts: 2

Rep: Reputation: 0
hi

i followed the instructions...
when i went to that site to download driver , i didn't know what my kernel version and Cpu were(My Cpu is p III 654). So i downloaded randomly a driver.
After i installed it, i opened the terminal to enter the instruction..
i enter this..
/dev/hdb1 /mnt/windata ntfs auto, ro 00
the answer was..
bash: /dev/hdb1: Permission denied
fdisk -l command works..
Disk /dev/hda: 20.5 GB, 20547841536 bytes
255 heads, 63 sectors/track, 2498 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 637 5116671 7 HPFS/NTFS
/dev/hda2 638 2498 14948482+ 83 Linux

Disk /dev/hdb: 60.0 GB, 60022480896 bytes
255 heads, 63 sectors/track, 7297 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 7296 58605088+ 7 HPFS/NTFS


also..i entered "mount /dev/hda1" ..the anwer was:mount:
can't find /dev/hda1 in /etc/fstab or /etc/mtab



so please help me
 
Old 10-21-2003, 11:21 PM   #9
drumlinuxuser
LQ Newbie
 
Registered: Oct 2003
Posts: 15

Rep: Reputation: 0
Hi, I've been searching on here about mounting my NTFS partition nad I can't get it to work. I installed the new kernal update for NTFS, I add the entry into the fstab file , and when I go to mount I get "ntfs not supported by the kernel" although I've installed the kernel. Now I DID goof and installed the kernel update for a different kernel than my version. Is that bad? I try to install the version for my kernel, and I get 'kernel already installed" Is there a way to uninstall the kernel update ? What do I do to get this to work? ..
 
  


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
can't mount external usb ntfs harddrive etienne.navarro Mandriva 1 10-27-2005 12:54 PM
Can access Harddrive (NTFS) but not WRITE. barton Slackware 5 11-28-2004 09:04 PM
USB Harddrive - NTFS mst700 Linux - Newbie 1 07-07-2004 04:26 PM
Macromedia on NTFS harddrive jwjody Linux - Software 5 06-05-2004 09:39 PM
Sharing a harddrive partition (NTFS) on Linux with Windows XP Home. squall14716 Linux - General 21 10-07-2003 05:06 PM

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

All times are GMT -5. The time now is 09:17 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