From owner-freebsd-questions@FreeBSD.ORG Sun Jan 30 06:47:46 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 E6ECF16A4CE for ; Sun, 30 Jan 2005 06:47:46 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C52E43D46 for ; Sun, 30 Jan 2005 06:47:46 +0000 (GMT) (envelope-from rakhesh.s@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so565554wra for ; Sat, 29 Jan 2005 22:47:41 -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:mime-version:content-type:content-transfer-encoding; b=Iy3ziAUNCxJ7m54/6YZKPxteKbMRpM5ztb0aMWnFthPyR08/5mB9Ct8aid8Z1C6+mkf6vbVco1X8AK7GW9/ptL3I5dBoBOL//Yj0Be9jLnjHNh4FmQRXKIL7N3ND9BknjucCC/ZuCWPX/801WiNOPM1Tjs6VdwmU3BPJgpJk8zs= Received: by 10.54.41.37 with SMTP id o37mr362138wro; Sat, 29 Jan 2005 22:47:41 -0800 (PST) Received: by 10.54.30.13 with HTTP; Sat, 29 Jan 2005 22:47:41 -0800 (PST) Message-ID: <38b3f6e40501292247696b96b@mail.gmail.com> Date: Sun, 30 Jan 2005 10:47:41 +0400 From: Rakhesh Sasidharan To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: 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 06:47:47 -0000 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