Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Dec 2002 16:29:47 +0200
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Tomi Vainio - Sun Finland - <Tomi.Vainio@Sun.COM>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: Creating bootsector file for W2k boot menu
Message-ID:  <20021205142947.GB3654@gothmog.gr>
In-Reply-To: <15854.32811.323124.889597@ultrahot.finland.sun.com>
References:  <15854.32811.323124.889597@ultrahot.finland.sun.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2002-12-05 00:22, Tomi Vainio - Sun Finland - <Tomi.Vainio@Sun.COM> 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




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