dualboot winxp & freebsd

Björn König bkoenig at cs.tu-berlin.de
Fri Jul 29 19:49:39 GMT 2005


Mikko Heiskanen wrote:

> it seems it's so common knowledge to achieve this,
> that there isn't any info anywhere about it.
> So, I have a winxp hard disk at the end of a sata pci-card,
> and freebsd harddisk straight in the motherboard ide connection.
> 
> So if both are connected, freebsd starts,
> and if I take cabled off the freebsd harddisk, windows starts.
> I cannot choose it from the bios that windows would make it first.

I think you can choose 'SCSI' in your BIOS. Although it is not a SCSI 
controller it should work.

> Secondly, I wouldn't want any gag or grub or any other "external" programs;
> I'm quite sure freebsd's own bootloader can do it without problems.
> 
> Question remains: how? I vaguely remember I had done it before.

# sysctl kern.geom.debugflags=16    // make the MBR writable temporarily
# boot0cfg -B                       // install the boot0 boot loader

See also the manpage boot0cfg(8).


Regards Björn


More information about the freebsd-questions mailing list