From owner-freebsd-stable@FreeBSD.ORG Sat Jan 8 15:00:50 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3D7CF16A558 for ; Sat, 8 Jan 2005 15:00:50 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 94FD943D31 for ; Sat, 8 Jan 2005 15:00:49 +0000 (GMT) (envelope-from elvstone@gmail.com) Received: by rproxy.gmail.com with SMTP id j1so198435rnf for ; Sat, 08 Jan 2005 07:00:43 -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=JNeSlrY1YaTuTFtaj1ClrlLLsICKnRebKUu0dRonfR/bHar2m2BT0VgwLJb+arUTooIl0kfjvh9NPdzAT2Lnw+Tbx9rypGavn33tfwzCvOi4+tMTI4bn4s2esq0HbgVOoch4sQEqd6TzgTneRw5F9FgUk1kuzirDngtIhopiuqY= Received: by 10.38.70.45 with SMTP id s45mr270331rna; Sat, 08 Jan 2005 07:00:43 -0800 (PST) Received: by 10.38.70.58 with HTTP; Sat, 8 Jan 2005 07:00:43 -0800 (PST) Message-ID: <751a4f8705010807004484cfba@mail.gmail.com> Date: Sat, 8 Jan 2005 16:00:43 +0100 From: Aron Stansvik To: stable@freebsd.org In-Reply-To: <751a4f8705010802562888ecd5@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <751a4f8705010802562888ecd5@mail.gmail.com> Subject: Re: Booting 5.3R on second disk using NTLDR (Impossible?) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Aron Stansvik List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Jan 2005 15:00:50 -0000 I did some in the comp.unix.bsd.freebsd news group, and I found some people with the same problem. I'm suspecting that it is impossible to boot FreeBSD by using NTLDR to load the FreeBSD boot sector from a file when FreeBSD is placed on a second disk. Can anyone confirm that this is the case? (the news group postings were very old). And why is it so? Thanks for any answers. Aron On Sat, 8 Jan 2005 11:56:09 +0100, Aron Stansvik wrote: > Hello. > > I've been struggling with a dual boot setup for the best part of two > days here, and I'm not going to go outline the hazzles I've been > through. This is where I am now: > > ad0 = Windows XP Professional > ad1 = FreeBSD 5.3-RELEASE > > Both OSs were installed from scratch, and ad0 and ad1 are set to > master and slave respectively. No cable select. I did the installation > in this order: > > 1) Make sure ad0 is the only connected disk. > 2) Install Windows XP Professional on it. > 3) Make sure ad1 is the only connected disk. > 3) Install a Standard FreeBSD installation. > > This because I'm in a paranoid state by now, so I want to make sure > Windows don't mess the FreeBSD disk up (and vice versa by user error). > > During FreeBSD installation, I choose "Install a standard MBR (no boot > manager)", I then booted the system with the kernel from the CD and > the root from my new install, by doing boot -a and then specify > ufs:ad1s1a as my root. When 5.3 was booted, I then did: > > 1) dd if=/dev/ad1s1 of=/tmp/bootsect.bsd bs=512 count=1 > 2) scp /tmp/bootsect.bsd :/tmp > 3) Halt the system > 4) Connect ad0 > 5) Boot Windows XP > 6) scp :/tmp/bootsect.bsd c:\ > 7) Append this to c:\boot.ini: > c:\bootsect.bsd = "FreeBSD 5.3-RELEASE" > 8) Reboot and choose "FreeBSD 5.3-RELEASE" at the NTLDR boot menu > 9) "Boot error" > > Anyone know what I've done wrong? I've followed the short instructions at: > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#NT-BOOTLOADER > > and I've Googled and read both boot(8) and boot0cfg(8) to look for > something that I've done wrong or something that could help me get > this to work. > > It was a long time since I set up a dual boot, but I need it this way > because it's my parents new computer, and me and my brother want > something else but Windows when we're there. I remember setting up > NTLDR to boot Linux years ago, but then it was on the same disk. > > Thanks a lot for any answers! > > Best regards, > Aron Stansvik >