Petre Bandac wrote:

I have the following configuration

ad0s1 - win xp with ntfs ad0s2 - freebsd

they were installed in the above order, so now I can use only freebsd

is there a way to configure freebsd's boot loader to be able to boot
from the win partition (I googled around and found boot0cfg (8), but
didn't have the time to play with it)

Yes, this is possible.

    # sysctl kern.geom.debugflags=16    // make the MBR writable
    # boot0cfg -s 1 /dev/ad0            // set default selection

You'll find further information and even examples in the manpage of boot0cfg.

what I want to know is if (making a similarity with linux's lilo) I can
make the boot loader to  have the options 1) boot win, 2) boot freebsd

This should be the default behaviour of boot0. In case you didn't installed it yet you can do it with

    # sysctl kern.geom.debugflags=16    // make the MBR writable
    # boot0cfg -B /dev/ad0              // install boot0

Regards Björn


--
Björn König ([EMAIL PROTECTED])
student at the Technische Universität Berlin
http://bkoenig.alpha-tierchen.de/
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to