From owner-freebsd-stable@FreeBSD.ORG Sat Jan 8 10:56:11 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 5EBFA16A4CE for ; Sat, 8 Jan 2005 10:56:11 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id F307C43D45 for ; Sat, 8 Jan 2005 10:56:10 +0000 (GMT) (envelope-from elvstone@gmail.com) Received: by rproxy.gmail.com with SMTP id j1so170201rnf for ; Sat, 08 Jan 2005 02:56:10 -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=qBtHmIXTPiS4Vi04xDCO7GIWCsy9Bjq6jSS879QGcxToXYtTGdza5xoYUPH2kuembnjx5zdZGOzu8DphTtEZhztqf0FruldnuSInFewUAqCnix/cFpCh/hSLviyeMVMRushOddnom9PA1bQUDyhR132y3NT9MSs18fQbX9sLsYA= Received: by 10.38.150.39 with SMTP id x39mr319029rnd; Sat, 08 Jan 2005 02:56:09 -0800 (PST) Received: by 10.38.70.58 with HTTP; Sat, 8 Jan 2005 02:56:09 -0800 (PST) Message-ID: <751a4f8705010802562888ecd5@mail.gmail.com> Date: Sat, 8 Jan 2005 11:56:09 +0100 From: Aron Stansvik To: stable@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Booting 5.3R on second disk using NTLDR 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 10:56:11 -0000 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