HELP WITH BRICKED PFSENSE VM
-
So I just updated to pfsense 23.5 or whatever the new update is a couple days ago. Restarted my server afterwards and everything was fine. Now, today the power company was doing something with the lines and cut the power off for a few hours and when it kicked back on, I had no internet. Restarted the server, modem, switch and still no change. Ended up having to kick my modem out of bridge mode and change ip addresses on the pc to get access into the proxmox gui and my pfsense vm is stuck on this screen.
i cant shutdown or reset it from here, gives me a "can't lock file '/var/lock/qemu-server/lock-100.conf' - got timeout (500)" error. Tried "qm unlock 100", but that timed out as well. Reboot the server, let it boot up and it does the same thing again. Not sure what happened the third time, but it went to a "loading boot options" screen then said boot from ipv4, boot from ipv6, then boot64, then it fails and kicked me into the UEFI shell and says "Failed to start Boot0002 "UEFI QEMU DVD-ROM" Time out".
.Tried resetting a few more times and couldnt get it to stop booting into that, so i typed reset and it rebooted the vm. When it got back to that boot options loading screen, I hit escape and it brought me into the boot menu. i disabled secure boot and it started booting normal again, but then froze at the same place as before.
Now that I've gotten back to this screen and read everything, I can see it says "cant find '/etc/hostid'. It's 3:30am and im tired after spending the last 4 hours trying to fix this.
any ideas what might have happened and if there is a way to fix it without having to kill the VM and reinstall?
Also posting on proxmox forum since I'm not sure if it's a pfsense issue or proxmox....
-
Filesystem Error, try the manual filesystem check: https://docs.netgate.com/pfsense/en/latest/troubleshooting/filesystem-check.html#manual-filesystem-check
-Rico
-
J jimp moved this topic from Problems Installing or Upgrading pfSense Software on
-
J jimp moved this topic from General pfSense Questions on
-
@Rico ok I will check in a bit when I get home.
Thank you
-
This post is deleted! -
@Rico
ok it wouldnt let me boot into single user mode normally. it would freeze at the same screen. tried boot options and those didnt work, went to boot environment and the first option (cant remember what it was, zfs i think...) had 3 choices. so i switched to number 2 of 3, hit backspace, boot into single user and it loaded!but when i put in the file check command, it says this
update: im so confused. i entered /sbin/reboot and now its booting fine
Update again: won’t load the wan and when booting up it says static routes are unavailable
-
Finally got it running and recognizing the WAN.
I deleted the EFI disk and it finally booted decent-ish. froze at the same screen, but if i goto boot environment, cycle through the 3 options, then hit escape and press 1 to boot to multi user, it boots fine
sooo, no idea whats going on there. As soon as i re-add the EFI disk, it shits the bed again.
doing the fsck command in single user still does not work either...