LinuxQuestions.org
Review your favorite Linux distribution.
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 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: China
Distribution: Debian
Posts: 198
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,979

Rep: Reputation: Disabled
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
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
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



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 / openSUSE 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

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

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