You are not logged in.

#1 2010-04-29 14:45:56

sgeorge
Member
Registered: 2009-10-13
Posts: 19

Migrating an existing archlinux installation to another hardware

hi,

I have an existing archlinux installation on a P4 and IDE HDD.
I want to move it to another core2duo machine with SATA HDD.

How do I go about it?

I don't want to loose any configurations I have made

Thanks

--Siju

Offline

#2 2010-04-29 15:32:57

nsa.wijayanto
Member
From: solo-id
Registered: 2009-09-29
Posts: 28

Re: Migrating an existing archlinux installation to another hardware

As for me, I usually did this:

1. boot another live distro (arch live cd for example)
2. mount the original partition and target partition.
3. use cp -a from original to target.
4. chroot to target (after bind mount /dev, mount the /proc and /sys)
4. alter /etc/fstab and /boot/grub/menu.lst to reflect target partition (location and UUID).
5. alter /etc/mkinitcpio.conf (add scsi and sata hook).
6. update the initramfs.
7. install grub.
8. Done.


Eee PC 2G Surf (700)

Offline

#3 2010-04-29 15:33:43

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Migrating an existing archlinux installation to another hardware

Copy everything over or dd it, boot a live cd on the new box, chroot into your installation, edit rc.conf so it loads the right modules upon boot, rebuild the initcpio image and you should be good to go.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

Board footer

Powered by FluxBB