A perfectly functioning 13.1, while there was not as much as a keyboard interrupt, suddenly rebooted, and the boot process was stuck with "Mounting from ZFS:zroot/ROOT/default failed with error 2". I tried booting from multiboot, tried single user mode, tried kernel.old, the same error.
Found this solution in the forum from vermaden :
I downloaded 13.1 memstick.img, DDd that to a USB drive, ready to boot from the USB image. But how do I attach the GELI device? I don't have an encrypted disk, "?" from mountroot prompt shows:
List of GEOM managed disk devices:
gpt/zfs0 gpt/swap0 gpt/gptboot0 gpt/efiboot0 nvd0p4 nvd0p3 nvd0p2 nvd0
When I boot from the USB, how do I attach any of these devices? Which one? By what command syntax? Will it give me root prompt as below? Please help.
Thank you.
Found this solution in the forum from vermaden :
You need to 'regenerate' the /boot/zfs/zpool.cache file.
To do that, boot from FreeBSD live CD, then after attaching the GELI devices do:
Code:# zpool import -f -o cachefile=/tmp/zpool.cache -o altroot=/mnt YourPoolName # cp /tmp/zpool.cache /mnt/boot/zfs/zpool.cache # zpool export YourPoolName # zpool import YourPoolName [/QUOTE]
I downloaded 13.1 memstick.img, DDd that to a USB drive, ready to boot from the USB image. But how do I attach the GELI device? I don't have an encrypted disk, "?" from mountroot prompt shows:
List of GEOM managed disk devices:
gpt/zfs0 gpt/swap0 gpt/gptboot0 gpt/efiboot0 nvd0p4 nvd0p3 nvd0p2 nvd0
When I boot from the USB, how do I attach any of these devices? Which one? By what command syntax? Will it give me root prompt as below? Please help.
Thank you.