From owner-freebsd-questions@FreeBSD.ORG Fri Jul 29 19:49:39 2005 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7B34D16A41F for ; Fri, 29 Jul 2005 19:49:39 +0000 (GMT) (envelope-from bkoenig@cs.tu-berlin.de) Received: from jupiter.efacilitas.de (85-10-196-108.clients.your-server.de [85.10.196.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0760E43D45 for ; Fri, 29 Jul 2005 19:49:39 +0000 (GMT) (envelope-from bkoenig@cs.tu-berlin.de) Received: from eurystheus.local (port-212-202-37-29.dynamic.qsc.de [212.202.37.29]) by jupiter.efacilitas.de (Postfix) with ESMTP id 3B350C3ECE7; Fri, 29 Jul 2005 21:55:00 +0000 (UTC) Received: from localhost (eurystheus.local [192.168.1.67]) by eurystheus.local (Postfix) with ESMTP id BF97E12B1C5; Fri, 29 Jul 2005 21:49:10 +0200 (CEST) Received: from eurystheus.local ([192.168.1.67]) by localhost (eurystheus.locaL [192.168.1.67]) (amavisd-new, port 10024) with ESMTP id 29721-01; Fri, 29 Jul 2005 21:49:05 +0200 (CEST) Received: from [192.168.1.67] (eurystheus.local [192.168.1.67]) by eurystheus.local (Postfix) with ESMTP id C79C412B02A; Fri, 29 Jul 2005 21:49:04 +0200 (CEST) Message-ID: <42EA8830.8050305@cs.tu-berlin.de> Date: Fri, 29 Jul 2005 21:49:04 +0200 From: =?ISO-8859-1?Q?Bj=F6rn_K=F6nig?= User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.8) Gecko/20050517 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Mikko Heiskanen References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: amavisd-new at example.com Cc: questions@freebsd.org Subject: Re: dualboot winxp & freebsd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jul 2005 19:49:39 -0000 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