LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-08-2003, 05:22 PM   #1
cleeadkins
LQ Newbie
 
Registered: Oct 2003
Distribution: Redhat 9
Posts: 6

Rep: Reputation: 0
harddrives


how do i access my second harddrive
 
Old 10-08-2003, 10:28 PM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
heeh well lets just say your going to have to give more of an explanation/question as to what your referring too....is it another harddrive with a linux partition.? is it a FAT drive? is it an NTFS drive? is it a drive other than what i specified?
 
Old 10-08-2003, 11:34 PM   #3
cleeadkins
LQ Newbie
 
Registered: Oct 2003
Distribution: Redhat 9
Posts: 6

Original Poster
Rep: Reputation: 0
its a ntfs drive
 
Old 10-09-2003, 12:18 AM   #4
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
Exclamation

Be VERY VERY careful. You can read NTFS but do NOT write to it unless you know for sure it is safe with your distro. You can really hose your NTFS if it is not supported.

My two cents worth, create a fat32 partition and use that to transfer files. Both Linux and XP can read and write to fat32. That is safe.

Hope that helps.

 
Old 10-09-2003, 12:48 AM   #5
cleeadkins
LQ Newbie
 
Registered: Oct 2003
Distribution: Redhat 9
Posts: 6

Original Poster
Rep: Reputation: 0
yes thats good info but how do i go about seeing it
 
Old 10-09-2003, 01:10 AM   #6
gamu829
Member
 
Registered: Sep 2002
Location: Portland, OR, US
Distribution: Fedora 2
Posts: 47

Rep: Reputation: 15
I t would be nice if you'd tell us what Linux distribution you are using. Not all kernels supports NTFS. The stock kernels that come with RedHat 9, for example, do not support NTFS. You have to build a custom kernel. I can't speak for others, as I'm not familiar with them. Per dalek's post, using fat32 is a better (and safer) way to go as both OSes can read AND write to it safely.

You don't give any details, so for the sake of example, I will assume you have a single partition (making it partition 1) on your second harddrive, which is configured as a slave drive on your first ide channel (making it hdb). So, you are trying to mount /dev/hdb1. You need to create a mountpoint (by making a direcotry) to mount the disk on to. Traditionally, mountpoints for foreign filesystems are put under /mnt. So here is what you need to do as root:

mkdir /mnt/ntfs
mount -t ntfs /dev/hdb1 /mnt/ntfs -o ro

This will mount the NTFS partition read-only. You should see the contents of the drive by doing "ls /mnt/ntfs". If this works and you are happy with it, you can add an entry into /etc/fstab so the partition is mounted at boot time:

/dev/hdb1 /mnt/ntfs ntfs ro,auto 0 0

If you go the fat32 route, use "vfat" instead of "ntfs" for the filesystem type. You can call the mountpoint anything you want (like "/mnt/windows" or "/mnt/fat" or "/mnt/bill-blows" or whatever). You can also omit the "ro" option, as you can mount vfat/fat32 partitions read-write.

Good Luck!

Greg
 
Old 10-09-2003, 01:13 AM   #7
gamu829
Member
 
Registered: Sep 2002
Location: Portland, OR, US
Distribution: Fedora 2
Posts: 47

Rep: Reputation: 15
Sorry, I just noticed your profile indicates you are using RH 9, I wasn't paying attention. But, per my previous posrt, you can't mount an NTFS partition with RH 9 unless you build a custom kernel. And I get the imrpession you're not ready to give that a try.

Greg
 
Old 10-09-2003, 01:16 AM   #8
cleeadkins
LQ Newbie
 
Registered: Oct 2003
Distribution: Redhat 9
Posts: 6

Original Poster
Rep: Reputation: 0
ok thanks thats very helpful but unfortunatley you are right the kernel version i am running does not support ntfs. i believe i am running the latest kernel release?
 
Old 10-09-2003, 07:56 AM   #9
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,740

Rep: Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921Reputation: 5921
This is what you need:
http://linux-ntfs.sourceforge.net/info/redhat.html#down
 
  


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
2 Harddrives/2 OS/2x The Fun! niaga Linux - Newbie 3 07-27-2005 04:25 AM
two harddrives pharmd Ubuntu 7 04-18-2005 08:19 PM
2 HardDrives (need Help) IceyCold Slackware - Installation 5 10-09-2004 05:32 AM
harddrives Celestial Linux - Newbie 3 07-01-2004 03:30 PM
Harddrives Celestial Slackware 1 06-30-2004 08:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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