LinuxQuestions.org
Visit Jeremy's Blog.
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 02-24-2007, 07:31 PM   #1
ostrowlaw
Member
 
Registered: Dec 2006
Posts: 66

Rep: Reputation: 15
Unhappy Can't read 2nd Hard Drive


Hi,

I am using SUSE 10.2 with 2 hard drives, the first drive is a ST340016A 40 Gig SATA and the second is a WD 400BD-755M 40 Gig EIDE. The first drive is /dev/hdd, which was formatted as 100% Linux, the second drive I left intact to read from (its an XP drive). Fdisk reports 1st drive /dev/hdd - linux 40 gig, second drive /dev/sda NTFS 40 gig. BUT, I cannot read the second drive.

I know I need to mount the drive to read it, but I've been reading the posts and manuals and I can't make heads or tails how to do this. Can someone just tell me simply how to do it (or is there no simple way??).

Thanks for your help

Alan
 
Old 02-24-2007, 07:44 PM   #2
phantom_cyph
Senior Member
 
Registered: Feb 2007
Location: The Tropics
Distribution: Slackware & Derivatives
Posts: 2,472
Blog Entries: 1

Rep: Reputation: 128Reputation: 128
if the drive was an XP drive, and you dont want to use linux, connect only the 2nd drive to your motherboard, and format the drive as ext3. then reconnect the drive how you want them. your os should then read the drive since it would no longer be NTFS or FAT32. for a partitioner see:

http://gparted.sourceforge.net/livecd.php
 
Old 02-25-2007, 07:02 AM   #3
ostrowlaw
Member
 
Registered: Dec 2006
Posts: 66

Original Poster
Rep: Reputation: 15
Thanks. Sounds easy enough, too easy in fact. Just a few more questions. First, by "format" I assume that its a non-destructive format and will not take off the data, just convert the format of the drive? Also, I have the second drive jumpered as the slave. I assume that I should rejumper the drive when I remove the master, so that the second drive is now jumpered as the master? Will this make a difference when I reconnect the original Linux master drive back in after the reformat?

Thanks
Alan
 
Old 02-25-2007, 09:28 AM   #4
netsupremacy
LQ Newbie
 
Registered: Nov 2006
Distribution: SuSE 10.1, Fedora 4, dyne:bolic 2.3
Posts: 19

Rep: Reputation: 0
from the way im interpreting your question, then you want to know how to mount the drive?

if so then it is as simple as
creating a mount point:

mkdir /mnt/sda (it doesnt have to be this name or even this location)

then, mount it...

mount /dev/sda1 /mnt/sda
(if your trying to mount the first partition then it will be sda1 second is sda2 etc.)
 
Old 02-25-2007, 09:36 AM   #5
phantom_cyph
Senior Member
 
Registered: Feb 2007
Location: The Tropics
Distribution: Slackware & Derivatives
Posts: 2,472
Blog Entries: 1

Rep: Reputation: 128Reputation: 128
reformatting the drive will erase all data-so transfer files you need onto a disk or USB stick before you do it.
 
Old 02-25-2007, 09:43 AM   #6
dxqcanada
Member
 
Registered: Sep 2006
Location: Canada
Distribution: Gentoo
Posts: 702

Rep: Reputation: 43
Are you asking how to mount an NTFS partition (in your case /dev/sda1)?
 
Old 02-25-2007, 12:29 PM   #7
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
To mount an ntfs partition:

First figure out how that partition is know to your system:

do fdisk -l as root

Take note of the partition/disk you'd like to mount (what's it called? sda1, sda2, sda3, ...?)

Then you mount it by first making a mount point (as root):

mkdir /mnt/windows

Then you mount the partition (here's where you need the name of your partition), onto the mount point you just created:

mount -t ntfs /dev/sda? /mnt/windows

Then look into the /mnt/windows directory to find your data.

When you're done, you should unmount it again:

umount /dev/sda?

If you'd like to have it permanently mounted, you can add it to /etc/fstab.

Note: it may be interesting to install ntfs-3g. If you do, you'd mount the partition as:

mount -t ntfs-3g /dev/sda? /mnt/windows

Last edited by jay73; 02-25-2007 at 12:30 PM.
 
  


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
2nd hard Drive grabro Linux - Hardware 1 02-05-2005 05:49 AM
Can't read off 2nd hard disk (Mandrake 10) illiniguy3043 Linux - Hardware 1 06-28-2004 05:16 PM
2nd Hard Drive snutz411 Linux - Hardware 3 03-24-2004 12:52 PM
2nd hard drive naflan Debian 4 02-22-2004 02:55 PM
2nd hard drive jarrodatt Linux - Hardware 1 11-12-2002 02:31 AM

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

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