Which partition to expand when moving to a larger drive?

Started by flyboy320, February 21, 2025, 04:48:46 PM

Previous topic - Next topic
I want to replace my aging SSD with a newer and larger one. I plan on using clonezille to make the image, but it has the option to expand the unused space in the newer larger drive to fill it up instead of leaving it empty. So I have 4 partitions for my OPNSense setup;
Partition 1 260MB vfat
Partition 2 512KB
Partition 3 51.4GB ufs
Partition 4 8GB

Which would be the correct one to make larger when cloning to the new drive?

Reinstall with ZFS. It's in every conceivable way superior than UFS.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

The longer answer:

Download (backup) the config file from the GUI. Might be a good idea to write down the installed packages and settings.

Shut it down, install the new drive, and reinstall OPNsense from scratch on the new drive (with ZFS). Use 2 drives if you want a mirror backup.

Log in, upload the config file, reboot. Log in and clean up the few things that might not have come back to life.

That's how I would handle it. More work? Yes probably.

Quote from: Patrick M. Hausen on February 21, 2025, 04:59:45 PMReinstall with ZFS. It's in every conceivable way superior than UFS.


Quote from: Greg_E on February 21, 2025, 05:08:33 PMThe longer answer:

Download (backup) the config file from the GUI. Might be a good idea to write down the installed packages and settings.

Shut it down, install the new drive, and reinstall OPNsense from scratch on the new drive (with ZFS). Use 2 drives if you want a mirror backup.

Log in, upload the config file, reboot. Log in and clean up the few things that might not have come back to life.

That's how I would handle it. More work? Yes probably.



OK, I can take a hint! I'll reinstall and use ZFS this time.