There have been plenty of times by now that I have made some sort of adjustment on my system and then it doesn't boot. We know the usual suspects are
If you can get to single-user mode (another boot menu item), the changes will be easy to apply. First,
You can use a usb stick to boot and from there mount the drives in your pc, make needed adjustments and get everything back to normal again. This is where it can be fun, and when I say fun I mean not quite a nightmare though it is a real special pain. You can probably use any bootable BSD which offers shell access to the machine, but since discovering NomadBSD, it has become my preference. What NomadBSD has is a complete system which is self-contained within the usb media. So if you are short of time and cannot fix your system, you can use it to get online to do something important, such as check your work schedule. Of course, this immediate need situation means that you previously setup a web browser and installed and configured an addon (such as blur by Abine) which stores your passwords, and you had made any other needed adjustments to suit your needs. So, getting online you have the solution to the problem and you've written it down and now you need to fix whatever is wrong on the HDD of your system.
What you need to do is mount the HDD of your system into the usb media that is loaded. There should be a directory
With ZFS, there is a special command which will do what we need, change zroot to the name of your pool.
Many times the mistake was made or is corrected in either
or
Only you can know what the problem and solution are. Now that you have access to your HDD you can make the corrections and reboot. That
While tinkering with your system in ways that can only truly be done when it is open source, because you use FreeBSD for your need of control over all of it, you are setting yourself up with the potential for mistakes. There is nothing wrong with unintentionally doing something incorrectly, it is the surest way to learn. We may read somewhere how to do something but unknowingly miss a step or configure something wrong or assume their technique will work on our system. The worst of these experiences involve Boot blockers and unfortunately they can at least temporarily halt all further progress.
No comments:
Post a Comment