Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Jul 2005 21:49:04 +0200
From:      =?ISO-8859-1?Q?Bj=F6rn_K=F6nig?= <bkoenig@cs.tu-berlin.de>
To:        Mikko Heiskanen <mikko@whitecortex.net>
Cc:        questions@freebsd.org
Subject:   Re: dualboot winxp & freebsd
Message-ID:  <42EA8830.8050305@cs.tu-berlin.de>
In-Reply-To: <e30eab2604e58a156191ab8e6e07ed1d@whitecortex.net>
References:  <e30eab2604e58a156191ab8e6e07ed1d@whitecortex.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42EA8830.8050305>