Replace Linux boot disk
Posted on 2006-05-04
My current system has a RAID0 stripe in software (sda and sdb) as md0 (two SATA 250GB disks), the MBR and /boot partition are on standard IDE disk (as the md0 will not boot...software raid). This setup works very well. The boot disk (hda) is 160GB and has another partition on it that is now full. As a consiquence the disk is now 99% full. I want to replace it with a IDE 400GB unit.
My question is if I connect this 400GB IDE disk up via an external USB caddy, can I then use dd to copy the entire 160GB structure over to the 400GB disk, then do a direct swapout and it will still boot and load the md0? I will backup and restore the larger partition on hda (so i can erase and create a larger partition).
If this is not a good method...can someone suggest a better one?
BTW: the /boot partition is ext3...all others are reiser3