Koozali.org: home of the SME Server

Migrating from one disk to another..

Ian Lowe

Migrating from one disk to another..
« on: August 16, 2003, 04:14:29 AM »
Okay, I have my e-smith server working with the kernel  from redhat 8.0 (2.4.18-14) which gives me support for my rocketraid 404 Hightech RAID 5 Card..

Now I want to migrate my e-smith installation across from the /dev/hde device where it was installed onto the /dev/sda virtual scsi device presented by the raid controller.

I have created a partition to act as /boot, a swap, and a huuuuuuge ext3 partition, copying the 3 partition configuration I see on the existing SME install. I can, of course, copy the data across quite happily, and have  been mounting /dev/sda3 (the big ext3 partition) on top of /home with no ill effects..

The one that has me concerned is booting up.. can I simply copy the contents of /boot across to the new partition, and change the boot= entry in lilo.conf?

Do I need to add a boot loader to the MBR on the new volume? how do I do that?

Is there a process for making a new emergency boot disk, so that I can have some confidence to change stuff, knowing that I haven't hosed my server in the process?