From owner-freebsd-current Thu Dec 5 12:29: 0 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 89BFD37B401 for ; Thu, 5 Dec 2002 12:28:59 -0800 (PST) Received: from kathmandu.sun.com (kathmandu.sun.com [192.18.98.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id E0D4F43EA9 for ; Thu, 5 Dec 2002 12:28:58 -0800 (PST) (envelope-from tomppa@finland.sun.com) Received: from sunfin.Finland.Sun.COM ([129.159.101.10]) by kathmandu.sun.com (8.9.3+Sun/8.9.3) with ESMTP id NAA01635; Thu, 5 Dec 2002 13:28:52 -0700 (MST) Received: from ultrahot.Finland.Sun.COM (ultrahot [129.159.101.87]) by sunfin.Finland.Sun.COM (8.12.2+Sun/8.12.2/ENSMAIL,v2.3beta) with ESMTP id gB5KSoq5020320; Thu, 5 Dec 2002 22:28:51 +0200 (EET) Received: from ultrahot.Finland.Sun.COM (localhost [127.0.0.1]) by ultrahot.Finland.Sun.COM (8.12.2+Sun/8.12.2) with ESMTP id gB5KSo96022690; Thu, 5 Dec 2002 22:28:50 +0200 (EET) Received: (from tomppa@localhost) by ultrahot.Finland.Sun.COM (8.12.2+Sun/8.12.2/Submit) id gB5KSndx022687; Thu, 5 Dec 2002 22:28:49 +0200 (EET) From: Tomi Vainio - Sun Finland - MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15855.46849.427778.242002@ultrahot.finland.sun.com> Date: Thu, 5 Dec 2002 22:28:49 +0200 To: Giorgos Keramidas Cc: freebsd-current@FreeBSD.ORG Subject: Re: Creating bootsector file for W2k boot menu In-Reply-To: <20021205142947.GB3654@gothmog.gr> References: <15854.32811.323124.889597@ultrahot.finland.sun.com> <20021205142947.GB3654@gothmog.gr> X-Mailer: VM 7.07 under 21.4 (patch 9) "Informed Management" XEmacs Lucid Reply-To: Tomi.Vainio@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 Giorgos Keramidas writes: > > 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... > Hi, Your idea is correct but this gives just "Boot error". I need to make a boot sector which contains information that I'm booting from third physical disk. I think normally there is a value of 0x80 which means first disk. Old Makefile option changed just this value. Tomppa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message