LinHES Forums http://forum.linhes.org/ |
|
transfered LinHES from an IDE drive to SATA drive - help :) http://forum.linhes.org/viewtopic.php?f=22&t=20617 |
Page 1 of 1 |
Author: | graysky [ Sat Nov 28, 2009 3:16 am ] |
Post subject: | transfered LinHES from an IDE drive to SATA drive - help :) |
My old LinHES hdd is getting old and I want to transfer it to a new drive on a newer motherboard. Both boards have the same chipsets, one is slightly newer with SATA1 onbaord (SiI chipset). Note: both boards are old, but again, use the same chipset if this matters. Old board: Asus A7N8X-VM and new board: Asus A7N8X Deluxe. 1) I used gparted to copy my functional LinHES partition from old HDD (IDE) to new HDD (SATA). 2) I manually created swap 3) I manually created a new /myth and copied over the old /myth 4) I adjusted the /etc/fstab (not using uuids but just /dev/sda1, /dev/sda2, /dev/sda3) 5) I installed grub on the new HDD with a live Arch CD so it would work which it does I can't boot the new drive. It displays the grub menu and tries to boot, but it can't find the root device '/dev/sda1' and drops me to a recovery shell. I'm wondering if LinHES installed to an IDE system and manually xfered to a SATA system is missing the SATA hooks? Help |
Author: | graysky [ Sat Nov 28, 2009 5:40 am ] |
Post subject: | |
I suspected that I had to re-run mkinitcpio to get the sata hooks in there, so I followed an Arch wiki page I used to install Arch from within a Live Ubuntu CD once in the past. See this article. Basically, I booted into my live arch cd then did: Code: # mkdir /newarch
# mount /dev/sda1 /newarch # cd /newarch/dev # rm console ; mknod -m 600 console c 5 1 # rm null ; mknod -m 666 null c 1 3 # rm zero ; mknod -m 666 zero c 1 5 # mount -o bind /dev /newarch/dev # mount -t proc none /newarch/proc # mount -o bind /sys /newarch/sys # chroot /newarch /bin/bash # mkinitcpio -p kernel26 Then I rebooted and everything was great! Hope someone else finds this useful. |
Author: | pelrun [ Tue Feb 23, 2010 7:44 pm ] |
Post subject: | |
I had the same problem after completely upgrading the hardware in my system (except the hard drives, of course) - this procedure worked like a charm! |
Author: | graysky [ Wed Feb 24, 2010 2:47 pm ] |
Post subject: | |
Cool man, glad someone else found it useful. It has saved me several times now. |
Author: | stevenj [ Tue Jan 25, 2011 11:16 pm ] |
Post subject: | |
Just want to say that this also worked for me when moving my PATA drive with R6.03 on it from an old system to a new one. I did use a PATA-to-SATA adapter on the drive to plug it into a SATA port on the motherboard, but I think these steps would have been necessary even if I plugged it into a PATA port on the motherboard. Thanks graysky. |
Author: | marc.aronson [ Sun Oct 09, 2011 11:30 pm ] |
Post subject: | |
This looks like it will be very useful for my situation. I don't have an ARCH live CD -- can I do this by booting a LINHES live CD? |
Author: | jams [ Mon Oct 10, 2011 11:31 am ] |
Post subject: | |
Yes the procedure will work with the linhes install cd. |
Author: | graysky [ Mon Oct 10, 2011 12:40 pm ] |
Post subject: | |
Glad people are still getting some mileage on my random thoughts |
Author: | marc.aronson [ Tue Oct 11, 2011 9:27 am ] |
Post subject: | |
I can confirm that it worked like a champ for me. I've been looking for a way to do this for years -- thanks for publishing this! Marc |
Author: | Ryan555 [ Sat Oct 15, 2011 5:46 am ] |
Post subject: | |
Just wondering if you could use Clonezilla to copy to a new HDD. Has anyone tried it, or know if it would work? http://clonezilla.org/ |
Author: | graysky [ Sat Oct 15, 2011 7:50 am ] |
Post subject: | |
@ryan - to move the data you can probably use it but you will still have to rebuilt your kernel if the hardware is different. In my opinion, manually partitioning and formatting + rsync is the safest way to go. |
Author: | marc.aronson [ Sat Oct 15, 2011 9:11 am ] |
Post subject: | |
Ryan, Graysky is spot on. Cloning will work if the hardware is similar enough, but I had never been successful doing cloning, copying or anything else until I follow Graysky;'s instructions when I was moving from a machine with the root partition connected via IDE to a a machine with the root partition connected via SATA. |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |