From owner-freebsd-questions@FreeBSD.ORG Sun Jan 30 07:11:38 2005 Return-Path: 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 7138216A4CE for ; Sun, 30 Jan 2005 07:11:38 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1451243D2F for ; Sun, 30 Jan 2005 07:11:38 +0000 (GMT) (envelope-from rakhesh.s@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so566351wra for ; Sat, 29 Jan 2005 23:11:37 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=tP3WYESVIRBhgGMXcbwHem74lwKo1AYN2BdR38crfjPh2tciO/BLfEgOUhQAiLJfuZ5ZXcSPwst/v1+M/frEAT0d3XTD9UVStghrTCWNpdxcKeQS/su/6R+c4cg4B3xh53bWyU6R9UY7AJipOCMuW/h4Pth9S23psKYIxzUV7nI= Received: by 10.54.38.72 with SMTP id l72mr210442wrl; Sat, 29 Jan 2005 23:11:37 -0800 (PST) Received: by 10.54.30.13 with HTTP; Sat, 29 Jan 2005 23:11:37 -0800 (PST) Message-ID: <38b3f6e4050129231132f8e743@mail.gmail.com> Date: Sun, 30 Jan 2005 11:11:37 +0400 From: Rakhesh Sasidharan To: freebsd-questions@freebsd.org In-Reply-To: <38b3f6e40501292247696b96b@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <38b3f6e40501292247696b96b@mail.gmail.com> Subject: Re: Booting FreeBSD-5.3 from NTLDR X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: rax@rakhesh.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Jan 2005 07:11:38 -0000 I didnt see a copy of this mail returned to me, so am sure if it has reached the list. Since I just subscribed, its possible something is wrong -- and so am resending it. Sorry for the inconv. :)) On Sun, 30 Jan 2005 10:47:41 +0400, Rakhesh Sasidharan wrote: > Hi, > > Are there any issues in booting FreeBSD using NTLDR? My machine has > Windows XP, Fedora Core 3, and FreeBSD-5.3, and while I know I can use > GRUB to boot FreeBSD, I want to try booting it using NTLDR. Just for > kicks -- its something I haven't tried so far. :)) > > My ad0 disk has WinXP (and NTLDR), while ad1 has FreeBSD. I tried the > usual suggestions of extracting the first 512 bytes of "/dev/ad1" > (using "dd") into a file and telling NTLDR to use that file for > booting. But it doesn't work. Then I tried extracting 512 bytes from > other locations like "/dev/ad1s1" and "/dev/ad1s1a" and "/dev/ad1s1c", > but to no avail. Finally I even tried copying over copying > "/boot/boot1" (and even "/boot/boot2" and "/boot/loader" coz I was at > my wits end) to a file, and telling NTLDR to use that file for booting > -- but again nada! Most of the times I'd get a "Boot Error" message, > while at other times nothing happens. > > Searching around on Google, I found a post to freebsd-stable that asks > the same question > (http://www.mail-archive.com/freebsd-stable@freebsd.org/msg64950.html). > The reply given there was to use this program called BOOTPART (can be > run from Windows, it extracts the bootsector of any partition you > specify, which can then be used to boot into that partition using > NTLDR). Using that program does allow me extract the bootsectors of > the FreeBSD partition, and use that from NTLDR to boot into it -- but > I am still stumped -- how does this program manage to extract the > bootsectors, while "dd" is not? I've used the "dd" method to > successfully boot into Fedora Core 3 using NTLDR, so I know it > generally does the job. > > Any suggestions folks? Is there some incompatibility thing with NTLDR, > or am I going wrong somewhere? > > Thanks, > Rakhesh > -- Rakhesh rax@rakhesh.com