From owner-freebsd-questions@FreeBSD.ORG Mon Jan 31 10:21:21 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 6D05C16A4CF for ; Mon, 31 Jan 2005 10:21:21 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id D058B43D46 for ; Mon, 31 Jan 2005 10:21:20 +0000 (GMT) (envelope-from rakhesh.s@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so664843wra for ; Mon, 31 Jan 2005 02:21:17 -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:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=hEda5u0igkOurGH43PnpM4wnXXMTDyqTpVQEoJF1h2s8ktOzdWUVHSLX+b/c7qv3EDE13kWtgGa1XrCs1qK1ga8Dof5LFJbzU/pZKPDaOCydji5cvL0zcSzP+lNgKBTLNXwh1KFrQYCYfb2v52y4HDPpjPUkAWFDRiS7zKWsnL4= Received: by 10.54.16.58 with SMTP id 58mr45637wrp; Mon, 31 Jan 2005 02:21:16 -0800 (PST) Received: by 10.54.30.9 with HTTP; Mon, 31 Jan 2005 02:21:16 -0800 (PST) Message-ID: <38b3f6e405013102211008416f@mail.gmail.com> Date: Mon, 31 Jan 2005 14:21:16 +0400 From: Rakhesh Sasidharan To: "Loren M. Lang" In-Reply-To: <20050131101152.GA8619@alzatex.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <38b3f6e40501292247696b96b@mail.gmail.com> <38b3f6e4050129231132f8e743@mail.gmail.com> <41FCA314.3070602@netcabo.pt> <38b3f6e4050130033551e43818@mail.gmail.com> <20050130120618.GA21695@alzatex.com> <38b3f6e4050130235957c049c2@mail.gmail.com> <20050131101152.GA8619@alzatex.com> cc: freebsd-questions@freebsd.org cc: Joe Kraft 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: Mon, 31 Jan 2005 10:21:21 -0000 So that means I should install boot0 to the MBR of my second disk, using boot0cfg with the "-o noupdate" flag, and then extract that MBR (using "dd" for instance) to a file like c:\bootsectbsd? That should work? Or wait, maybe there's no need to extract. When I install boot0 to the MBR, possibly the boot0 file modified also, and so I just need to copy that to c:\bootsect.bsd and then boot using NTLDR. Right? On Mon, 31 Jan 2005 02:11:52 -0800, Loren M. Lang wrote: > On Mon, Jan 31, 2005 at 11:59:11AM +0400, Rakhesh Sasidharan wrote: > > > No, boot0 is just a normal file that is 512 bytes long. There is > > > nothing special about it. In it is a bootloader program that can be > > > used to boot FreeBSD, and if you run it during boot, it will read the > > > partition table and look for all OSes. I think it will modify the > > > partition table, though, marking the last OS you booted into, but that's > > > the program running doing that, the file itself is harmless. > > > > Ok. I must have used some other command then, which resulted in my > > first disk MBR getting over-written ... strange. :-/ > > > > By the way, does the fact that NTLDR is on my first disk, while > > FreeBSD (and hence its MBR boot0) is on my second disk complicate > > matters? I mean, you mention boot0 will modify my partition table to > > reflect which OS was booted last -- will it by any chance modify the > > partition table on the first disk and hence mess it? > > > > You can disable this behavior of boot0 when you install the MBR on the > second disk using the "-o noupdate" argument to boot0cfg. > > > > > -- > > Rakhesh > > rax@rakhesh.com > > -- > I sense much NT in you. > NT leads to Bluescreen. > Bluescreen leads to downtime. > Downtime leads to suffering. > NT is the path to the darkside. > Powerful Unix is. > > Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc > Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C > > -- -- Rakhesh rax@rakhesh.com