*BSDThis forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I've decided to give FreeBSD 5.2.1 a second shot but I'm getting an error trying to boot win2k:
"NTLDR is missing"
I've seen some other threads here with similar problems regarding Fedora, but it did not help in my case. I also looked at a couple of links from google but they only tell how to retore windows boot loader and I don't want that... My partitions looks like this in a 20GB hardrive:
The unformatted slice I was planning to format later to make a common fat for both OS's. The partition with "*" is swap. During the installation I made sure that win2k partition (fat32) is set as bootable and so is BSD. I can boot FreeBSD without a single problem (and it boots amazingly fast), but when I choose "F1 = DOS" during the boot I got the NTLDR missing error. I can also access win2k partition through BSD without any problems.
There's nothing important on any of those partitions, I'm just testing FreeBSD and Win2k so I can later user FreeBSD in another box. So any suggestions, as crazy as it can be, would be great .
Thanks a lot in advance fellows!
Since we are at this, question:
What if booting with win2k CD and choosing fixmbr and/or booting with a win98 boot disk and typing fdisk /mbr does not restore the Windows bootloader? Because I've tried both solutions, and I still the same error, plus I cannot boot into FreeBSD anymore . So, all questions:
1 - How to restore my boot loader?
2 - How to safely install FreeBSD and still be able to boot both Win2k and BSD?
Last edited by Mega Man X; 04-12-2004 at 09:35 PM.
Well, the fdisk /mbr wipes the MBR completely, so you'll need a new bootloader installed. I'm not too handy with installing grub from a floppy disk (if it can be done), but I do know there are some other bootloaders out there that you can use to try to salvage your installs. I used one recently, but I forget its name. If I think of it, I'll post it back here.
In the meantime, do you have access to a CD-R? Maybe you can use a http://www.freesbie.org boot disk to get into FreeBSD and fix the boot problems you are having. (You might be able to do it with Knoppix too, but I don't know what their support for FreeBSD filesystems is like).
I could manage to fix the MBR, now it boots win2k normally. What I did was, to boot with a win98 boot disk and at the prompt, I did:
A:\ sys c:
That restored the system files. Problem is, it's a win98 boot disk, so I've faced yet another problem . I could not boot win2k with a win98 boot loader. I fired up Win2k Rescue Mode and fixed the installation. Now it boots fine. Its all a matter to reinstall FreeBSD boot loader again . I took a look at freesbie, I've never heard of it before, but looks quite sweet . I will give it a shot too.
You should be able to get back into the FreeBSD installation with a good bootloader. I've generally found FreeBSD to be pretty good about working with existing partitions, so good luck getting the dual boot working. I think you'll be happy with FreeBSD...it's an awesome OS. Check out the BSD Forums as well....you can get lots of good help there.
Well, I still cannot boot FreeBSD. I've tried to make a clean install of both systems, but still the same problem. I then installed grub and either system I try to boot, I get:
Invalid Partition Table
I then played a little around Freebsd's ftp and downloaded two tools, rawrite.exe and fdimage.exe and boot.bin image. I tried to create under Win2k a boot disk with both fdimage and rawrite using boot.bin image. When I use the disk to boot, I surprisingly get:
Invalid Partition Table.
I've two questions though:
1 - Is it possible to create a boot disk, say with grub, that I can use it when I want to boot freeBSD, letting the MBR untouched? I've found some ways to use NTLDR to also boot freeBSD, but it's way to much work. A boot disk would be nice, how do I go by doing it?
2 - I'm planning to download Freesbie. I just wonder if it works like knoppix where we can, if we want, to also install it on the HD?. If so, does it use the same boot manager as FreeBSD (which clearly does not work for me..ghehe)?(I could not find any of those info at their page)
Thanks in advance!
Last edited by Mega Man X; 04-13-2004 at 12:59 PM.
Yes, you can have a floppy disk that will allow you to choose which OS to boot into, or to just use when you want to boot into whichever OS isn't the default. I've done it before, but it was a very long time ago, so I can't give you instructions. They should be easy to find though.
I don't know Freesbie all too much. You might want to look over their docs. You should have the option to install if you want. I think it's just a stripped down version of FreeBSD.
I've never had a problem dual booting FreeBSD. I just used the default bootloader (for multi-booting) using FreeBSD. It's ugly, but installing Grub and using a pretty Bootloader is not high on my list at this time...
Keep trying though. I think you will find BSD's are well thought out and easy to understand and the ports system is quite amazing. Kernel is easy to compile, etc... Lots of reasons to give it a try.
Marble, may I ask you something? Could you please post your partitions here ? I mean, there must be me doing something wrong. Did you do a /boot or did you install the boot loader at master boot record. My partitions looks like this:
first slice = win2k/FAT32
second slice = FAT32
third slice = Swap
fourth Slice = FreeBSD. ONLY "/" root partition
I wish I could post my actual df -h, but I cannot go to the internet with that computer .
P.S: the boot loader is ugly, but I kinda liked the Daemon made in ASCII, lol
Well, I kinda got the feeling that FAT32 as my win2k partition is doing something funny in there. I'm formating it again as NTFS, install everything again and see how it goes . I will keep you guys posted.
Now, about Freesbie, I've just downloaded and tried it out. Man, that thing is awesome... It works just as slow as Knoppix running from the CD (indeed) but when you startx, by default, it brings up a really amazinly configured XFCE4 environment. Really top notch stuff... Unfortunately, there seems to be not possible to make an HD install as Knoppix, but hey, I really loved that one ...
LOL, no, still no go. I've then installed Win2k, then FreeBSD. This time, win2k is set as NTFS. When I got into the prompt screen to boot:
F1 = ??
F2 = DOS
F3 = FreeBSD
I can boot FreeBSD normally, but when I try to boot win2k I get:
NTLDR is Missing
Press CTRL+ALT+DELETE to restart.
Guess I will have to wait for a while to play a little more with FreeBSD, afterall, I've been installing win2k and freebsd for two days in a row now . I couldn't possibly be doing anything wrong now, so my wild guess is... there's something incompatible in this machine... either FreeBSD not liking the hard-drive or something...
Thanks for the help guys, I catch ya later if I decide to run only FreeBSD or Freesbie .
Have you tried using Lilo?
I am NOT booting Win2K, but do have FreeBSD, Solaris, and Windows 98 all booting. Couple Linux distros also.
I am going to keep your 'a:\sys c:' in mind. I have seen this problem mentioned before and hope I never need to know any more about it.
Yeah, I've been googling a lot last night, and it seems to be a more common problem then I thought. Well, anyway, now I'm all set with FreeBSD only in my other machine so I can learn it a little bit. That is going to be good practice, since I could never compile a kernel successfully (shame, I know) and with BSD it's a must, since the sound card driver is not into the kernel by default.
So far, it looks cool. Sure, the first error message that I got: "libutil.so.3 not found" trying to run Blender, I had no idea how to fix(and I still don't, I've tried to enable dri and glx on the XF86Config, but that did not help..ghehe), but I'm working on it. If it was Linux, in few seconds I could find my way, but will take a time to get used to FreeBSD .