Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Dec 2023 13:00:09 +0900
From:      "lain." <lain@fair.moe>
To:        questions@freebsd.org
Subject:   Re: Blinking cursor after update
Message-ID:  <na4ydw2pq2j7hebuyeunf6qmblgsxcxfxjlmsx4bnwigwgglan@7n3uz4frltoo>
In-Reply-To: <sjkmmibz4omhb2jtrrpmvczddanpengd5mrkrc6uzclm7e5run@wel63wa2a2lw>
References:  <sjkmmibz4omhb2jtrrpmvczddanpengd5mrkrc6uzclm7e5run@wel63wa2a2lw>

next in thread | previous in thread | raw e-mail | index | archive | help

--xp2y56kusq3jd5xo
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 2023=E5=B9=B412=E6=9C=8813=E6=97=A5 10:52, the silly lain. claimed to ha=
ve 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!

--=20
lain.

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

If you're writing your emails unencrypted, please consider sending PGP encr=
ypted 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

--xp2y56kusq3jd5xo
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQGzBAABCAAdFiEEozVhUpXECiNYIKIXtWNzC1Y29b0FAmV5LEUACgkQtWNzC1Y2
9b2mfgwAvoi7LbycSn9R7Rhaq+f+t4cpX2rBZjkIFu9fhdeN8Gg/qRoK/taF9HeJ
rLZZjRCfy8NuyCt6Z5CbBdU5RxOAcAJVkZRwD46sm8n47sA04z5h/Md89xSCePEp
jBJ8fLpo/fbnohn2K1Wv+/RmhWKUY30vqODGcqowYhr0Ff7E+20ipCayXSwc+kE0
Ns51pYzRcQ4RqHHE/zc1RA+9mmrH8z45/9Opc5rPR3k3rR91+ZoT9qURRjXrlcVX
S/tSPrYfZE4jQCjlRDE3STtNFKC2I5w5lcM6KkylJbRM/E8W25UH99diqcYd/9ow
E/2/LTi3ShjvzZZkUyq82aNbzU1hSYs0G/pXCxD0WZpqoHSlL6z8anqFwYTh4emf
sOzY3bgj1WmHk240y3LkOHHR+e5CEo1asDG1SG+UamaCHzTe9Ca5bMu9t2SSEnmB
bjsgdxxvGnySBBW7nS4DTlf6+J+9M7td9mFi40s3l44eRq8M65NPb96bOC9tLfZm
npp9tTG4
=EAVc
-----END PGP SIGNATURE-----

--xp2y56kusq3jd5xo--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?na4ydw2pq2j7hebuyeunf6qmblgsxcxfxjlmsx4bnwigwgglan>