Re: Blinking cursor after update

From: lain. <lain_at_fair.moe>
Date: Wed, 13 Dec 2023 04:00:09 UTC
On 2023年12月13日 10:52, the silly lain. claimed to have said:
> I have done freebsd-update fetch and install to apply the security fix
> for nfsclient, only to see my NAS server being unable to boot.
> When booting, I get greeted by just a flashing cursor and nothing else.
> Checking my installation under a live USB, I can confirm my ZFS datasets
> are still there, so does the rest of the installation.
> So how can I get this thing to boot again?

Hello me,

That sounds terrible, so please follow the following instructions:
1. Boot into a Live USB.
2. On the bootloader, press 1, select "Live CD", username is root, no
password.
3. Mount the filesystem:

zpool import zroot
zfs mount zroot/ROOT/default /mnt
mount -t devfs devfs /mnt/dev
mount -t procfs proc /mnt/proc
chroot /mnt

4. Repair the bootloader which freebsd-update just fucked up:

gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ada0

5. Exit and reboot, don't forget to remove the USB drive before your NAS
boots up.
6. ??????
7. PROFIT!

-- 
lain.

Did you know that?
90% of all emails sent on a daily basis are being sent in plain text, and it's super easy to intercept emails as they flow over the internet?
Never send passwords, tokens, personal information, or other volunerable information without proper PGP encryption!

If you're writing your emails unencrypted, please consider sending PGP encrypted emails for security reasons.
You can find my PGP public key at: https://fair.moe/lain.asc

Every good email client is able to send encrypted emails.
If yours can't, then you should consider switching to a secure email client, because yours just sucks.

My recommendations are Claws Mail or NeoMutt.
For instructions on how to encrypt your emails:
https://unixsheikh.com/tutorials/gnupg-tutorial.html