Is it really that simple?
July 5, 2005 7:58 PM
Subscribe
Can I just copy a Linux system from one disk to another and expect it to work?
My server's main disk died on me. Ouch. And then came back to life. Yay. So I copied the contents to a new disk (with similar, but not identical partitions - the disk itself is a completely different make) using rsync --archive -H (by booting the machine from CD, running in memory, and mounting both disks). After running grub-install, editing /etc/fstab, and swapping them physically (so that /dev/hda is now the copy) everything appears to work. Should it?! Or is there some evil gotcha that will bite me in several months time? This is SuSE 9.3 (installed the day before the disk died...) and everything (/boot /usr /var /etc /dev... was on the one partition.
It took me three days to get the install working, fully configured, with all my old data on it, and just half a day to copy across. I'd rather leave it like that, but am worried it was too easy.
posted by andrew cooke to computers & internet (12 comments total)
posted by pyramid termite at 8:05 PM on July 5, 2005