Advice needed on best way to upgrade a VMware VM from 2.1.5 to 2.3.4
-
I'm trying to upgrade a VM from 2.1.5 to 2.3.4.
Autoupdate results in a system that fails to boot - "kernel not found".
Is it possible to update from 2.1.5 to 2.3.4?
Can I just backup the settings, re-install 2.3.4 and then restore from the backup?
-
Running the upgrade from the command line shows a load of "out of space" errors, so the disk is too small.
-
did you try updating it to something between.. Major changes from 2.1 to 2.3
https://doc.pfsense.org/index.php/Upgrade_Guide#pfSense_Upgrade_Guide
I do believe the disk drivers in freebsd changed, Are you running this on esxi, workstation? what? you could try running
"For a full install, running /usr/local/sbin/ufslabels.sh before the upgrade will convert /etc/fstab to UFS labels rather than disk device names bypassing any device name issues that could arise due to the switch. " -
Thanks - I'll give that a try once I've worked out how to get some more disk space.
-
more disk space? If you were out of disk space that could of been problem too.
-
Indeed - that's why I mentioned it in a follow up I posted ;)
-
how many packages are you running that your out of space, are you using squid? How much space did you give pfsense as a vm? I have ran through multiple multiple upgrades and pfsense has its 4GB disk I gave it.. It has never come close to using up that space. Squid with a cache could suck it up fast though, etc.
-
This one only has 2GB (it's been around for a long time now).
I've downloaded a copy of the VM locally to see if I can just install 2.3.4 into the VM after increasing the disk size (looks tricky to dynamically resize under FreeBSD 8) and then restore settings from a backup.
Still waiting as the restore from backup restart is taking a long, long time as there is no internet connection (IPs in the restore don't work here) and pfSense-core is taking forever to timeout when trying to download meta data / package lists, etc. It may be quicker to do this again, after hacking the backup file to set a valid WAN IP ;)
-
2GB.. Yeah that is most likely your problem.. UGGHH that is small.. How much space was free before the upgrade attempt?
-
67% used (of 1GB).
-
thought you said you had 2GB.. You only have 1GB?
-
2GB disk, partitioned by the original install - 1GB UFS and 1GB swap.
I've got it going now by creating a new VM and restoring from a backup - only thing missing was the OpenVPN client export, but that was easy to fix :)