From owner-freebsd-current Thu Dec 5 16:28:55 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 F05D537B401 for ; Thu, 5 Dec 2002 16:28:53 -0800 (PST) Received: from majordomo.vol.cz (smtp4.vol.cz [195.250.128.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1974143EC2 for ; Thu, 5 Dec 2002 16:28:53 -0800 (PST) (envelope-from dan@obluda.cz) Received: from obluda.cz (xkulesh.vol.cz [195.250.154.106]) by majordomo.vol.cz (8.12.6/8.12.6) with ESMTP id gB60SjDR062643 for ; Fri, 6 Dec 2002 01:28:46 +0100 (CET) (envelope-from dan@obluda.cz) Message-ID: <3DEFE233.2010007@obluda.cz> Date: Fri, 06 Dec 2002 00:33:07 +0100 From: Dan Lukes User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.2b) Gecko/20021106 X-Accept-Language: en, cs MIME-Version: 1.0 To: freebsd-current@freebsd.org Subject: Re: Creating bootsector file for W2k boot menu References: <15854.32811.323124.889597_ultrahot.finland.sun.com@ns.sol.net> <20021205142947.GB3654_gothmog.gr@ns.sol.net> In-Reply-To: <15854.32811.323124.889597_ultrahot.finland.sun.com@ns.sol.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 keramida@ceid.upatras.gr wrote, On 12/05/02 17:06: > 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? > ... > # 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... Just use /boot/boot1 ( NOT /boot/boot0 !) instead of extracting this file by dd ... Dan -- Dan Lukes tel: +420 2 21914205, fax: +420 2 21914206 root of FIONet, KolejNET, webmaster of www.freebsd.cz AKA: dan@obluda.cz, dan@freebsd.cz,dan@kolej.mff.cuni.cz To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message