LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-15-2012, 03:21 PM   #1
Sylo
LQ Newbie
 
Registered: Feb 2012
Posts: 5

Rep: Reputation: Disabled
Mounting More then 1 drive


I can't seem to get my drives to mount on any other mounting point other then /mnt/windows.

I am trying to say data from a dieing HD. Am trying to mount both drives then copy all of the files off the bad HD on the the good one.

But I know very little about Linux.
 
Old 02-15-2012, 03:43 PM   #2
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
You do not tell us which linux distro you are using .
But a mount command can be as a example : mount /dev/sda1 /mnt/cdrom
This command connect the partition sda1 to the directory cdrom
Mostly you neat to root to use the mount command

Last edited by ronlau9; 02-15-2012 at 03:44 PM.
 
Old 02-15-2012, 03:45 PM   #3
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2beta2 on Lenovo Thinkpad W520
Posts: 6,780

Rep: Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117
Hello, welcome to LQ.

You need first to know what is the name of your dying HD, as given by the kernel.

I suppose it is an USB one. So launch a terminal and become root (with the command 'su', or 'sudo su' if you use Ubuntu)

Then plug your HD, wait a few seconds for it to sync, then type 'dmesg|tail'

You'll see, for instance a line with 'sdb: sdb1'

Then issue for instance the command 'mount -t auto /dev/sdb1 /mnt' if you want to use the /mnt mount point.

Adapt accordingly if your drive has another name or if you want to use another mount point.
 
Old 02-15-2012, 03:50 PM   #4
Sylo
LQ Newbie
 
Registered: Feb 2012
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Didier Spaier View Post
Hello, welcome to LQ.

You need first to know what is the name of your dying HD, as given by the kernel.

I suppose it is an USB one. So launch a terminal and become root (with the command 'su', or 'sudo su' if you use Ubuntu)

Then plug your HD, wait a few seconds for it to sync, then type 'dmesg|tail'

You'll see, for instance a line with 'sdb: sdb1'

Then issue for instance the command 'mount -t auto /dev/sdb1 /mnt' if you want to use the /mnt mount point.

Adapt accordingly if your drive has another name or if you want to use another mount point.
I am using System Rescue (not sure what Linux that is). I have been using ntfs-3g -o force command.

The 2 drives:

bad drive
/dev/sdc2

Good drive (usb)
/dev/sdb1

I guess I really don't understand the mounting points. I made a folder called backup on the good drive and am trying to mount that so i can just:
cp * /mnt/windows (the bad drive so i can copy all of it) /mnt/backup

But on either drive i can only mount using the mounting point /mnt/windows. Anything says it can't find that directory.

so i can't run the command.

cp * /mnt/windows /mnt/windows that will not help me....am so lost please help!

Last edited by Sylo; 02-15-2012 at 04:19 PM.
 
Old 02-15-2012, 04:52 PM   #5
sean.ferguson
LQ Newbie
 
Registered: Feb 2012
Location: Scotland
Distribution: Ubuntu 16.04 / Debian 8 / Arch
Posts: 25

Rep: Reputation: Disabled
As root create a folder with
Code:
mkdir -p /mnt/good
then mount the good drive to that using
Code:
mount /dev/sdb1 /mnt/good
then make sure the bad drive is mounted to /mnt/windows with
Code:
ls -l /mnt/windows
if you don't get any output with that then you need to mount the bad drive with
Code:
mount /dev/sdc2 /mnt/windows
if you see your output, you can continue with
Code:
cp * -R /mnt/windows /mnt/good
and you should be golden

Last edited by sean.ferguson; 02-15-2012 at 04:53 PM.
 
Old 02-16-2012, 08:03 AM   #6
Sylo
LQ Newbie
 
Registered: Feb 2012
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by sean.ferguson View Post
As root create a folder with
Code:
mkdir -p /mnt/good
then mount the good drive to that using
Code:
mount /dev/sdb1 /mnt/good
then make sure the bad drive is mounted to /mnt/windows with
Code:
ls -l /mnt/windows
if you don't get any output with that then you need to mount the bad drive with
Code:
mount /dev/sdc2 /mnt/windows
if you see your output, you can continue with
Code:
cp * -R /mnt/windows /mnt/good
and you should be golden
Thanks for that. When I do it it says can't create directory Read-Only file system. How can I change the setting on the good usb drive to allow me to write the data to it?

Last edited by Sylo; 02-16-2012 at 08:12 AM.
 
Old 02-16-2012, 08:39 AM   #7
Sylo
LQ Newbie
 
Registered: Feb 2012
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Sylo View Post
Thanks for that. When I do it it says can't create directory Read-Only file system. How can I change the setting on the good usb drive to allow me to write the data to it?
Well after some searching around I found that I wasn't mounting the good drive with write access. So I was able to do that and I went to copy the files I wanted...got part way through the copy and the clicking noise from the bad drive starts. So I think am SoL'd on this drive.

Unless you guys know of any other way I can pull this data.
 
Old 02-16-2012, 02:52 PM   #8
sean.ferguson
LQ Newbie
 
Registered: Feb 2012
Location: Scotland
Distribution: Ubuntu 16.04 / Debian 8 / Arch
Posts: 25

Rep: Reputation: Disabled
Sylo,

Have you tried putting the hard drive in a ziplock bag and then into the freezer for the night. Its not a sure fire way to fix a dying drive, but it does prove worthy in some cases. Also, try copying over only a directory at a time rather than everything all at once and putting alot of strain on an already failing drive
 
Old 02-17-2012, 04:17 PM   #9
Sylo
LQ Newbie
 
Registered: Feb 2012
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by sean.ferguson View Post
Sylo,

Have you tried putting the hard drive in a ziplock bag and then into the freezer for the night. Its not a sure fire way to fix a dying drive, but it does prove worthy in some cases. Also, try copying over only a directory at a time rather than everything all at once and putting alot of strain on an already failing drive
Yeah I tried that too. Nothing. All I was trying to save was pictures. But no go....

O well.....
 
  


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
Problems mounting ext3 drive. Unknown drive parameters augur86 Linux - General 2 03-24-2009 06:03 AM
fedora 7: autofs is not mounting USB flash drive or DVD ROM drive Hewson Linux - General 3 05-12-2008 09:58 AM
Help on mounting Hard Disk Drive and CD-ROM drive in Dapper. ussr_1991 Ubuntu 2 08-19-2007 12:33 AM
Mounting split raid drive as normal drive via USB William_Syd Linux - Newbie 2 11-01-2006 08:07 PM
slackware 9.1 mounting problems (cd drive, cd writer drive, win partition (ntfs)) mr.gizm0 Slackware 8 05-11-2004 07:23 PM


All times are GMT -5. The time now is 11:04 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration