From owner-freebsd-questions@FreeBSD.ORG Mon Jan 31 10:16:29 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 50B2216A4D0 for ; Mon, 31 Jan 2005 10:16:29 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id A204A43D53 for ; Mon, 31 Jan 2005 10:16:28 +0000 (GMT) (envelope-from rakhesh.s@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so664426wra for ; Mon, 31 Jan 2005 02:16:26 -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=gkjY6MNJnyCL0B3nS/dfoHRTArjJc8cmyN685JouBArtnYXhEZSzWr7FwVE0/9EEG7L5oBDRvAotoMOc7G16IFVNClONU/FZbg5rkBbUixUGuLehHs3GoosGxpVQvcoZgREhwzSQQoWm4EVWa1Q4xwYoSsZ4hk3kwwY+9b+KT9s= Received: by 10.54.23.55 with SMTP id 55mr329310wrw; Mon, 31 Jan 2005 02:16:25 -0800 (PST) Received: by 10.54.30.9 with HTTP; Mon, 31 Jan 2005 02:16:25 -0800 (PST) Message-ID: <38b3f6e40501310216de768e@mail.gmail.com> Date: Mon, 31 Jan 2005 14:16:25 +0400 From: Rakhesh Sasidharan To: Mark Ovens , freebsd-questions@freebsd.org In-Reply-To: <41FDEFE7.1090204@freebsd.org> 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> <41FDEFE7.1090204@freebsd.org> 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:16:29 -0000 Thanks for that link! I had read that part of the handbook a long time ago, and that's how my ideas of boot0 and boot1 and etc etc had gotten clear. Glad to see it once again -- in the context of my question! :)) So what I understand now is -- copying boot0 over to c:\bootsect.bsd will *not* work. Which explains why my MBR got messed up when I tried booting FreeBSD this way. :( But I'm still confused. How do I install boot0 using sysinstall? As far as I remm, sysinstall gives three options -- (a) leave the MBR untouched, (b) put a standard MBR, and (c) install BootEasy. My understanding is that option (b) copies boot0 to the MBR, and this that is what I had chosen while installing FreeBSD. How does one copy boot0 to a file using sysinstall?? On Mon, 31 Jan 2005 08:44:23 +0000, Mark Ovens wrote: > 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? > > > > > > Yes and yes, > http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#NT-BOOTLOADER > > Regards, > > Mark > > --- > avast! Antivirus: Outbound message clean. > Virus Database (VPS): 0504-4, 28/01/2005 > Tested on: 31/01/2005 08:44:24 > avast! - copyright (c) 2000-2004 ALWIL Software. > http://www.avast.com > > -- -- Rakhesh rax@rakhesh.com