*BSDThis forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have installed FreeBSD 9.1, which was working fine, but I made a mistake and I cannot boot anymore, I get "Missing boot loader" when, like usual, I want to boot directly on FreeBSD DD.
MBR is on sda, I use Grub2 to launch all my OS (excepted FreeBSD)..
I wanted to configurate files in Fedora to boot FreeBSD from Fedora Grub, and I unfortunately put a flag on sdc1 from Gparted, and I cannot boot anymore when I start directly on the FreeBSD DD.
So, is this command right to re-install the boot loader, being in "Single user" with the ISO DVD :
Code:
fdisk -B -b /boot/boot0 /dev/ad3
or this one :
Code:
fdisk -B -b /boot/boot0 ada3
And '3' is tne right number ?
I should like to avoid to increase my Grub, or have to re-install the all FreeBSD.
Thank you for your answer, and sorry for my english, I am French...
You should be able to re-install just grub or grub2 and get it working. Perform a web search for "freebsd reinstall grub" and evaluate which problem/solution options look best to you. Don't embark on something you question, or don't understand well enough to grasp the idea of what it's intention is.
I just have no real experience with that distro. But to me, grub2 is newer, you can boot off of a CD or thumbstick, and install grub2 on the hard drive. What I'd do is see about the configuration files you have which can identify the distribution, however grub is also capable of scanning and locating distributions for you so that it will create it's own config.
I have no problem with Fedora Grub, it is not able to boot FreeBSD right now, but it does not matter, I can read ufs partition at least and boot the other OSs, Grub2 automatically recognizes them (Win, Linux), but not BSD OS (and nor Solaris, AIX, I think).
For booting FreeBSD, I change the boot drive in the BIOS, but now I can't any more boot it at all without the boot loader.
Yes, one solution can be in installing Grub2 in FreeBSD, but the command to do it is not easier than re-installing the simple Boot Loader, that's why I asked how to do it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.