Keith Watson keith.watson@kewill.com wrote:
From: David Fairey Sent: 29 January 2006 11:21
when I upgraded from a 20Gb HD to an 80Gb HD recently I used the free edition of HDClone http://www.miray.de/products/sat.hdclone.html#free. (as I had a dual boot WinXP / Ubuntu setup it got round all the irritating XP idiosyncrasies).
In the end I used the HantsLUG suggestion of "dd if=/dev/hda of=/dev/hdd" which copied 3Gb to the 40Gb including the boot sector which saved having to mess around running grub/lilo. Created a larger swap partition and a larger /var partition (box runs mainly nagios and mysql databases).
How can the root partition be resize afterwards? Or would it make sense to start using a separate /var, /usr partitions?
I used the SystemRescueCD http://www.sysresccd.org/ and the QTParted and partimage utilise it offers to shuffle my Linux partitions around (but be careful about the partition orders and names I inadvertently moved my root partition from /dev/hda5 to /dev/hda7 and Ubuntu got really snotty about it :-) ).
When resizing the root partition (hda1) does lilo need to be re-run? Reading the docs and warnings it seems it does but I'm guessing as long it's not "moved" lilo will still work?
Cheers David