Hi blues,
**** Warning use the below at your own risk *****
>>>> My steps to clone RAQ OS Hard disk and still able to resize /home, /tmp slice. <<<<<
Actually, quite simple. We only clone disk slices selectively and create the others.
1) Image over the partition info from source to destination disk.
dd if=/dev/<source slice 0> of=/dev/<destination slice 0> bs=512 count=1
2) Reboot server (with both hard disks)
3) fdisk, delete and re-create other partition to resize.
*** Keep / and /var - dont touch ****
4) Reboot server
5) dd / and /var
dd if=/dev/<source slice 0> of=/dev/<destination slice 0> conv=noerror,sync bs=4k
6) mkswap on destination disk
7) mkfs.ext3 /home on destination disk
8) mkfs.ext3 /tmp on destination disk
9) mount <destination disk, home slice>
10) cp -a /home/* /<destination disk, home slice>
ps: Have used the above to clone SUN Cobalt RAQ with BQ-CentOS4
Cheers
patrick