Quote:
Originally Posted by araczek
Ultimately I just want to take the linux image (which amounts to 3 partitions of its own) and place it on the last partition.
|
GNU/Linux needs partitions so you can't wedge 3 partitions into one physical primary or extended partition. What you could do is, on your installation machine, backup the partitions to a removable USB or Firewire disk (or just put the whole disk in an encasing and save time) then on the developers machine use fdisk to create an extended partition or enlarge it respecting the original partition sizes (check source and target disks with with fdisk -l), then use 'dd' to copy the partitions over. Per partition it'll look something like 'dd if=/dev/sdb1 of=/dev/sda5 bs=4096 conv=notrunc,noerror' (see 'man dd'). If you want GUI instead of CLI, boot any Live CD that contains gparted and you'll have a comfortable Partition Magic or Acronis-like interface with which you can just copy the partitions over. After doing that you'll have to boot Centos on the target disk from a Centos installer CD in rescue mode (or a Centos Live CD) to (re-)install GRUB in the partition if you got boot problems and adjust /etc/fstab since the partition names have changed.
//Task-related link-back: [
1|
2|
3].