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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
06-01-2006, 08:20 AM
|
#1
|
Member
Registered: Jan 2005
Distribution: Ubuntu: Breezy & Dapper
Posts: 33
Rep:
|
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
|
|
|
06-01-2006, 08:23 AM
|
#2
|
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464
Rep:
|
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).
|
|
|
06-01-2006, 08:25 AM
|
#3
|
Member
Registered: Jan 2005
Distribution: Ubuntu: Breezy & Dapper
Posts: 33
Original Poster
Rep:
|
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.
|
|
|
06-01-2006, 08:31 AM
|
#4
|
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464
Rep:
|
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.
|
|
|
06-01-2006, 08:34 AM
|
#5
|
Member
Registered: Jan 2005
Distribution: Ubuntu: Breezy & Dapper
Posts: 33
Original Poster
Rep:
|
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!
|
|
|
06-01-2006, 08:36 AM
|
#6
|
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464
Rep:
|
No problem.
|
|
|
All times are GMT -5. The time now is 09:03 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|