LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 06-01-2006, 07:20 AM   #1
Hitty
Member
 
Registered: Jan 2005
Distribution: Ubuntu: Breezy & Dapper
Posts: 33

Rep: Reputation: 15
Can't see Slave Hard drive


Hi,

I installed ubuntu on one of my old hard drives, but decided I wanted to upgrade it a little, bought a new hard drive, reinstalled it, and now I'm trying to copy all my documents over to my new hard drive.

I set my old hard drive to Slave, and plugged it into my computer, with my new hard drive (set as master) booting up.

I've looked in every folder I can find in '/' that I think could have my second hard drive listed, and I can't find it anywhere.

I've read in other forums while I looked through google for help with this, that they're named hda, hdb, hdc, and so on. So I searched for hda and hdb (using the search tool) and still can't find it.

I wondered if anyone could tell me an easy way to view my second hard drive, and copy the documents over.


Many Thanks in Advance
 
Old 06-01-2006, 07:23 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Have you actually mounted the drive? Post the output of "fdisk -l" (that's a lowercase L, not a 1 and fdisk will probably need to be run as root).
 
Old 06-01-2006, 07:25 AM   #3
Hitty
Member
 
Registered: Jan 2005
Distribution: Ubuntu: Breezy & Dapper
Posts: 33

Original Poster
Rep: Reputation: 15
tony@beng:~$ sudo fdisk -l
Password:

Disk /dev/hda: 300.0 GB, 300069052416 bytes
255 heads, 63 sectors/track, 36481 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 36198 290760403+ 83 Linux
/dev/hda2 36199 36481 2273197+ 5 Extended
/dev/hda5 36199 36481 2273166 82 Linux swap / Solaris

Disk /dev/hdb: 82.3 GB, 82348277760 bytes
255 heads, 63 sectors/track, 10011 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 9729 78148161 83 Linux
/dev/hdb2 9730 10011 2265165 5 Extended
/dev/hdb5 9730 10011 2265133+ 82 Linux swap / Solaris
tony@beng:~$



Thats my entire output from it.
 
Old 06-01-2006, 07:31 AM   #4
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
It looks like you want to mount /dev/hdb1. Make a directory to mount your drive, with mkdir, e.g. "mkdir /mnt/old" (you may need to use sudo, depending on where you're trying to create the directory). Then, mount the device with "sudo mount -t ext3 /dev/hdb1 /mnt/old" (replacing "/mnt/old" with whatever directory you've chosen). You should now be able to cd into that directory and access the files.
 
Old 06-01-2006, 07:34 AM   #5
Hitty
Member
 
Registered: Jan 2005
Distribution: Ubuntu: Breezy & Dapper
Posts: 33

Original Poster
Rep: Reputation: 15
I can!

Thanks a lot for the help! I'm writing that down for the next time I have a problem with this, no doubt I will


Again, Thanks a lot for the help!
 
Old 06-01-2006, 07:36 AM   #6
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
No problem.
 
  


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
Cannot Mount slave Hard Drive natewlew Linux - Hardware 3 03-21-2006 11:22 PM
Slave Hard Drive dudeman41465 Linux - Hardware 12 06-28-2005 06:19 AM
why can't i find my 2nd hard drive which is a slave Reaper69 Linux - Hardware 14 07-15-2004 12:25 PM
3rd Hard drive as slave to CDRW?? rberry88 Linux - General 2 12-07-2003 12:00 PM
installing Linux on slave hard drive Creightin Linux - Software 2 03-12-2001 09:59 AM

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

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