*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.
Hi, I'm all new to FreeBSD, and to *BSD's in general, and it's working fine for me so far. I'm dualbooting with Windows XP, which is on the first partition on the drive. When i installed FreeBSD 5.0 it corrupted my WinXP-partition somehow, so after a few days of BSD-experimenting, i wanted to install WinXP again. I made a fresh install and everything, but now my bootloader is missing. I don't have a diskdrive because mine is broken right now, so i can't access FreeBSD. I've tried using the CD to install the bootloader again, which i used to be able to do with various Linux-dists, but it hasn't worked so far.
My question is, how do i get to a shell of some sorts in FreeBSD so i can install the bootloader again, and how do i install it again? Lilo was very effective on this, and GRUB too, but i have zero knowledge of the FreeBSD-bootloader.
23 views, but no answer what so ever? Someone must have at least one tip to share. I would be surprised if something like this hasn't ever happened to any of you
I'm not familiar with BSD's bootloader either, so all i can offer is, if you desperately need to get into windows, grab a windows bootdisk, boot into DOS and type: fdisk /mbr and that will place windows bootloader in the MBR.
I AM in windows. My problem is that i can't get into FreeBSD. I have a windows bootloader in the MBR, and i want to know how i replace that with a BSD-bootloader without formatting my BSD-drive and risking that my windows-partition gets corrupted again.
Just to reassure you, LILO boots FreeBSD no problem. I think FreeBSD has its own multiboot capable bootloder, but I could never find out how to use it, and like GrimReaper says, it's really easy just to get a Slackware CD or somesuch and install LILO in your MBR, so long as you know the syntax of the config file.
No, LILO only runs in Linux. But if you happen to have a bootable Linux CD hanging around, it's the easiest choice. You don't need to actually install Linux to use LILO.
Download a copy of linux that fits on a floppy and is bootable.
Tom's boot disk is nice. (search at google)
Boot the floppy. During the boot process note the partitions discovered by the kernel.
determine which device file in the /dev directory represents
your BSD root partition. try mounting/viewing all of them if necessary.
once you find your BSD root partition, create a directory and mount it using this directory as a mount point.
now you should have access to your BSD boot loader.
Don't forget to chroot, or you won't be able to do anything
Originally posted by kenulla Download a copy of linux that fits on a floppy and is bootable.
Tom's boot disk is nice. (search at google)
Boot the floppy. During the boot process note the partitions discovered by the kernel.
determine which device file in the /dev directory represents
your BSD root partition. try mounting/viewing all of them if necessary.
once you find your BSD root partition, create a directory and mount it using this directory as a mount point.
now you should have access to your BSD boot loader.
Don't forget to chroot, or you won't be able to do anything
As i said:
Quote:
Originally posted by Creep I don't have a diskdrive because mine is broken right now
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.