From owner-freebsd-current Thu Dec 5 8: 5: 3 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9630937B401 for ; Thu, 5 Dec 2002 08:05:01 -0800 (PST) Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8395943EA9 for ; Thu, 5 Dec 2002 08:05:00 -0800 (PST) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.gr (patr530-b238.otenet.gr [212.205.244.246]) by mailsrv.otenet.gr (8.12.6/8.12.6) with ESMTP id gB5G4vn0009788; Thu, 5 Dec 2002 18:04:58 +0200 (EET) Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.12.6/8.12.6) with ESMTP id gB5G4OBF021435; Thu, 5 Dec 2002 18:04:54 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by gothmog.gr (8.12.6/8.12.6/Submit) id gB5ETmpi004534; Thu, 5 Dec 2002 16:29:48 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Thu, 5 Dec 2002 16:29:47 +0200 From: Giorgos Keramidas To: Tomi Vainio - Sun Finland - Cc: freebsd-current@FreeBSD.ORG Subject: Re: Creating bootsector file for W2k boot menu Message-ID: <20021205142947.GB3654@gothmog.gr> References: <15854.32811.323124.889597@ultrahot.finland.sun.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <15854.32811.323124.889597@ultrahot.finland.sun.com> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 2002-12-05 00:22, Tomi Vainio - Sun Finland - wrote: > I've used Windows NT boot menu for years to boot FreeBSD from the > second disk on my machines. I've used bootpart DOS program to do this > but now I can't find correct way to do FreeBSD boot block for it. > Earlier there was a diskid definition in some Makefile to change. How > should I do this now? I have FreeBSD installed on two primary slices of my machine, as you can see from the df(1) output below. I can boot FreeBSD fine, if I copy the boot record of the slice my root partition lives in: # df / Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/ad0s1a 498078 85920 372312 19% / # dd if=/dev/ad0s1 of=/root/bsdboot.bin bs=512 count=1 Then copy bsdboot.bin to a Windows partition, say in C:\BSDBOOT.BIN and add the following to the C:\BOOT.INI file: C:\BSDBOOT.BIN="FreeBSD on ad0s1" That should be all... Giorgos. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message