You are not logged in.
My be/fe mythtv box currently has 1- 1TB drive in it partitioned as sda1 /boot, sda2 swap, sda3 /, and sda4 /home.
I've recently happened upon a new WD 150 GB velociraptor through a fortunate series of warranty events, and I would like it and move the root, boot, and swap partitions to it. This would be to relieve some I/O from the 1TB as it's used for recording, as well as provide more space for and speed up mysql. Reinstalling is really not an option due to a very specific setup that took many, many hours, and very specific versions of certain packages (including the kernel) in order to not break my perfect video and ir receiver.
I have access to tools such as ERD and acronis which can read and copy ext2/3 (don't know about 4, only home is ext4 anyways) to the new drive leaving me only to fix grub and fstab I think. Should I instead boot single user, partition as needed, cp -ax the necessary partitions, chroot and install grub? I'm really at a loss on how to go about doing this, and my search-fu has yet to figure out a way I see fit. Any advice?
Offline
rsync -avxHAXS --delete --progress / /new-root
rsync -avxHAXS --delete --progress /boot /new-boot
as for swap u just mkswap-it , only thing left is grub,syslinux,lilo or w/e you use to create on new harddrive, even tho it is not really important IMO because you can leave /boot on old drive and boot from it.
O' rly ? Ya rly Oo
Offline
And then what all needs changed? Fstab, I can do. Grub to point at the new root? how?
Offline
I think I got it, thanks!
Offline