LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-29-2009, 05:57 AM   #1
sickwitted
LQ Newbie
 
Registered: Dec 2007
Posts: 4

Rep: Reputation: 0
how do I mount a new secondary IDE?


My girlfriends laptop crashed so I took her ntfs hdd out and connected it to my linux desktop. It shows up in setup but I can't figure out how to mount it whilst in linux so I can back it up.
 
Old 08-29-2009, 06:17 AM   #2
edenCC
Member
 
Registered: May 2006
Location: Gz,China
Distribution: RH,FB
Posts: 196
Blog Entries: 1

Rep: Reputation: 32
first, using fdisk to display all the partitions, and then mount the partitions one by one:

mkdir /mnt/sdb1
mount /dev/sdb1 /mnt/sdb1
mount /dev/sdb2 /mnt/sdb2

Note: some versions of linux releases may not support ntfs well, and you might need to compile it as an kernel module and load it yourself.

Good luck - jc
 
Old 08-29-2009, 08:35 AM   #3
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,970

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
Hello,

if your linux cannot handle ntfs, I'd recommend to boot your Computer with a slax-live-CD. Slax handles windows-partitions very well and will mount all detected devices while booting. You'll only have to boot slax in text-mode, this is very fast.

Markus
 
Old 08-30-2009, 09:09 PM   #4
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,126

Rep: Reputation: 2456Reputation: 2456Reputation: 2456Reputation: 2456Reputation: 2456Reputation: 2456Reputation: 2456Reputation: 2456Reputation: 2456Reputation: 2456Reputation: 2456
Quote:
Originally Posted by sickwitted View Post
My girlfriends laptop crashed so I took her ntfs hdd out and connected it to my linux desktop. It shows up in setup but I can't figure out how to mount it whilst in linux so I can back it up.
Did the laptop die, or the hard drive?? If the drive is dead, you obviously won't be able to mount it.

You don't say what version/distro of Linux you're using, but most Linux distros these days, can mount Windows partitions in at least read-only mode. The ntfs-3g stuff is usually present, and can be loaded with a 'modprobe' command, if it isn't already. Read the man page for mount, but "mount -t ntfs <device name> <mount point>", like "mount -t ntfs /dev/sdc1 /media". Make sure the mount point directory is there, and you may have to be root to issue that command.

Make sure you get the right /dev id. Disconnect the windows drive and boot. Do an 'ls /dev/sd*' (could also be hd*, depending on your distro), and see what's there. Shutdown, plug in the Windows drive, and boot up again, and repeat the ls command. You should see the new devices, each one should have an entry...if you've got two partitions, and it's the second drive, it'll probably show up as /dev/sdb1 and /dev/sdb1.

Another cheap thing to try, is to get a USB external enclosure for the drive. They're pretty cheap (probably about $25 or so), and make the laptop drive an external, USB/Firewire device. Just plug it in, and it should automount, just like any other USB flash drive.
 
  


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
adding 40 gig as slave on secondary ide hbob49 Suse/Novell 3 01-02-2008 02:23 PM
Western Digital WD 80 gb - secondary IDE no 80 conductor dushkinup Linux - Hardware 1 04-07-2004 10:29 AM
Mounting a linux partition on my secondary IDE linuxjuggler Linux - Newbie 1 12-17-2003 01:58 PM
Mounting a hard-drive on secondary ide linuxjuggler Linux - Newbie 1 12-16-2003 12:15 AM
URGENT!!! adding ide(hdb-secondary hard-disk) to redhat 7.1 gigya Linux - Software 3 05-02-2002 04:03 AM


All times are GMT -5. The time now is 04:54 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration