Imaging partitions to larger drives

I just completed a Ghost disk clone of a default partitioned Ubuntu install.

The source contains:
/dev/sda1, 300GB, 83, Linux
/dev/sda2, 200MB, 5, Extended
/dev/sda5, 200MB, 82, Linux Swap

The new destination is boot able, but the partition map is different.

/dev/sda1, 900GB, 83, Linux
/dev/sda2, 200MB, f, W95 Ext’d (LBA)
/dev/sda5, 200MB, 82, Linux Swap

Can I change the ID for that partition with fdisk?

–tj

Okay, it looks like after the Ghost the swap didn’t turn back on.

I ran the following commands to enable that partition: swapon /dev/sda5

I’m assuming changing the label for the extended partition is fine. I changed it to match the source, which was 5.

I’ve moved this to the https://community.ubuntu.com/c/support-help-requests category because this site isn’t designed to take tech support questions. Sorry. I’d recommend using one of the official support channels listed on the https://community.ubuntu.com/t/finding-help/712 page