LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 11-10-2010, 07:41 PM   #1
hjazz6
Member
 
Registered: Jan 2009
Posts: 35

Rep: Reputation: 0
Using old hard disks in new system


Hi,

I'm going to buy a new system, and I have 2 SATA hard disks from my old
system. One is installed with a Linux OS, the other with Windows
Vista.

For the Linux hard disk, will I be able to simply use these 2 hard disks on the new system and boot up, retaining all my data? If not, how do I transfer the data from my old hard disks to my new hard disks? My old system is faulty (no signal to monitor), so I can't just copy everything directly using, say, a portable hard disk.

Thank you.

Regards,
Rayne
 
Old 11-10-2010, 07:52 PM   #2
fcintron
Member
 
Registered: Oct 2010
Location: México
Distribution: Centos
Posts: 71

Rep: Reputation: 4
Quote:
Originally Posted by hjazz6 View Post
Hi,

I'm going to buy a new system, and I have 2 SATA hard disks from my old
system. One is installed with a Linux OS, the other with Windows
Vista.

For the Linux hard disk, will I be able to simply use these 2 hard disks on the new system and boot up, retaining all my data? If not, how do I transfer the data from my old hard disks to my new hard disks? My old system is faulty (no signal to monitor), so I can't just copy everything directly using, say, a portable hard disk.

Thank you.

Regards,
Rayne
You could try to connect your 2 hds to your new system and boot it with a linux live CD like Knoppix. After that you could copy all your important files to a portable hard disk.

Regards
 
Old 11-10-2010, 08:18 PM   #3
hjazz6
Member
 
Registered: Jan 2009
Posts: 35

Original Poster
Rep: Reputation: 0
Can I just connect the old Linux hard disk to the new system, boot into the NEW linux hard disk and see the old hard disk like I would if I plug in a flash drive? Then copy the files over to the new disk?
 
Old 11-10-2010, 08:42 PM   #4
udaman
Member
 
Registered: Oct 2010
Location: New England, USA
Distribution: OpenSUSE/Slackware64/RHEL/Mythbuntu
Posts: 187

Rep: Reputation: 39
Quote:
Originally Posted by hjazz6 View Post
Can I just connect the old Linux hard disk to the new system, boot into the NEW linux hard disk and see the old hard disk like I would if I plug in a flash drive? Then copy the files over to the new disk?
Yes, you can. When you boot to the new system, run as root:
Code:
fdisk -l
You will see the new disk as /dev/sda, and any other disks as /dev/sdb, or /dev/sdc and so on. For this example will say your old Linux disk is /dev/sdb, and has three partitions, sdb1, sdb2 ,sdb3. The fdisk command will show the type of the partition, type 83 is Linux, 82 is swap.

Make a temporary mount point for each partition you want to mount under /mnt.
You can mount the old disk with:

Code:
mount /dev/sdb1 /mnt/tmp1
mount /dev/sdb2 /mnt/tmp2
This will put each partition in a separate directory. You can then copy all your files over to your new system.

Last edited by udaman; 11-10-2010 at 08:44 PM.
 
1 members found this post helpful.
  


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
Four hard disk problems over four hard disks in a row. Yaro Linux - Hardware 13 04-25-2009 06:47 PM
tried to remove linux and system cant detect hard disks? twinkie General 4 01-22-2006 12:55 PM
How many Hard disks ? BizHat.com Linux - Software 5 01-18-2005 07:38 PM
2 Hard Disks and 2 OS? How to? nbn792 Linux - General 5 12-26-2003 07:20 PM


All times are GMT -5. The time now is 03:29 AM.

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