[Wolves] Moving / hard disks

James Turner james at turnersoft.co.uk
Wed Jun 1 18:34:50 BST 2005


On Wednesday 01 Jun 2005 02:09, Adam Sweet wrote:

> Of my other 2 disks, one is 30GB and contains / /usr
> /var and /tmp
>
> The other is a 60GB disk which used to contain /home
> and I would like to move everything from the 30GB disk
> to here after creating some new partitions.

Should work if you are keeping the same general partition layout (just 
everything bigger) otherwise fstab will need editing of course. I'd use the 
same general approach as you:

1. Connect the 160Gb at its intended "position" in the system (e.g. /dev/hda)
   and the old disc somewhere else (e.g. /dev/hdb)
2. Boot from live CD/recovery CD in single user mode
3. Create and format the various partitions on the 160Gb disc as needed
4. Copy the data over from the old disc (as above)
5. chroot to the new root filesystem on the 160Gb disc
6. Run grub-install
7. Reboot from the 160Gb disc

Regards,

James



More information about the Wolves mailing list