Linux - HardwareThis 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.
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.
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.
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.
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?
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.