From owner-freebsd-questions@FreeBSD.ORG Mon Jul 18 06:31:33 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 EB53216A41C for ; Mon, 18 Jul 2005 06:31:33 +0000 (GMT) (envelope-from NKoch@demig.de) Received: from server.absolute-media.de (server.absolute-media.de [213.239.231.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 763BB43D49 for ; Mon, 18 Jul 2005 06:31:32 +0000 (GMT) (envelope-from NKoch@demig.de) Received: from localhost (unknown [127.0.0.1]) by server.absolute-media.de (Postfix) with ESMTP id EC30589103; Mon, 18 Jul 2005 08:31:30 +0200 (CEST) Received: from server.absolute-media.de ([127.0.0.1]) by localhost (server [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 16184-09; Mon, 18 Jul 2005 08:31:26 +0200 (CEST) Received: from firewall.demig (p50838A9E.dip0.t-ipconnect.de [80.131.138.158]) by server.absolute-media.de (Postfix) with ESMTP id E8BAB880D0; Mon, 18 Jul 2005 08:31:25 +0200 (CEST) Received: from ws-ew-3 (ws-ew-3.w2kdemig [192.168.1.72]) by firewall.demig (8.13.4/8.13.1) with SMTP id j6I6RvSl098340; Mon, 18 Jul 2005 08:28:13 +0200 (CEST) (envelope-from NKoch@demig.de) From: "Norbert Koch" To: "George Ruch" , Date: Mon, 18 Jul 2005 09:28:04 +0200 Message-ID: <005701c58b6a$3c455c60$4801a8c0@ws-ew-3.W2KDEMIG> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 In-Reply-To: <42D80E2D.707@3lefties.com> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2120.0 X-Virus-Scanned: by amavisd-new X-Virus-Scanned: by amavisd-new at absolute-media.de Cc: Subject: RE: Three questions... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jul 2005 06:31:34 -0000 > Q1: I have two drives, laid out as follows: > Drive 1 > /ad0a WinXP, NTFS, 16.06GB, primary > /ad0e data, NTFS, 12.58GB, extended > > Drive 2 > /ad1a currently empty, 14.36GB, primary > (installation target) > /ad1e /ad0 backup, NTFS, 14.27GB, extended > > I'd like to use XP's NTLDR to manage the dual boot process. I've seen > the following trick for Linux ( www.redhat.com/advice/tips/dualboot.html): > > - Boot into Linux, copy the first sector of the boot partition as follows: > dd if=/dev/hdb of=/bootsect.lnx bs=512 count=1 > - Move bootsect.lnx to WinXP root (C:\), and add the following line to > boot.ini: > C:\bootsect.lnx="Linux" > > Does this approach work with FreeBSD? Logic says it should, given the > similarities, but when has logic applied consistently to computers? As I understand, you try to install from the second hard disk. When I last tried this (using FreeBSD 4) it did not work such way, because I found that in FreeBSD's boot sector code the drive number is hard-coded. So you would have to go to the source directory, change the drive number, assemble the boot sector and put it to drive C. This worked for me. Norbert