From owner-freebsd-questions Sun May 5 8: 0:33 2002 Delivered-To: freebsd-questions@freebsd.org Received: from smtp1.rdc-kc.rr.com (mkc-162-200.kc.rr.com [24.94.162.200]) by hub.freebsd.org (Postfix) with ESMTP id C377E37B408 for ; Sun, 5 May 2002 08:00:24 -0700 (PDT) Received: from bogart (mke-65-31-92-20.wi.rr.com [65.31.92.20]) by smtp1.rdc-kc.rr.com (8.12.2/8.12.2) with SMTP id g45F0Npt000450; Sun, 5 May 2002 10:00:23 -0500 (CDT) Message-ID: <000801c1f445$9915fb80$145c1f41@bogart> From: "Nick Lozinsky" To: "Oi Yan" , References: <20020505142346.52179.qmail@web21509.mail.yahoo.com> Subject: Re: dual boot Date: Sun, 5 May 2002 10:00:29 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > From: Oi Yan > To: freebsd-questions@FreeBSD.ORG > Sent: Sunday, May 05, 2002 9:23 AM > Subject: dual boot > > > Hello > I have 40 G harddisk and installed freebsd (20 G) > When I installed win2000 to the rest of the hard disk and it replaced the freebsd > boot manager (window working only) > how do I recover freebsd boot manager and also have dual boot (freebsd and > > win2000) > Thank you Hi, This is quite easy, you can use the Win2K boot manager. Depending on what you specified in the setup, BootManager, MBR or NONE, if you did BootManager and Windows is only booting, then you can go to a DOS prompt with a DOS boot disk and fdisk and then select the NON-DOS partition or the FreeBSD partition as bootable. Or you can set FreeBSD to be bootable from the Win2k boot loader; once you get your FreeBSD to load, get a fresh floppy disk and do this: # dd if=/dev/"your FreeBSD / part." of=/dev/fd0/freebsd.pbr block=512 count=1 this will create a boot record from the FreeBSD's partition. Then boot to Windows and in the C:\ drive copy the .pbr file to C:\ and edit the boot.ini file to resemble something like this: C:\freebsd.pbr="FreeBSD" Then, depending how you want to do it, make Windows boot by default; do this at a DOS prompt again with a DOS bootable disk and: fdisk /mbr, this way when you boot, the Windows 2k boot loader will load and you will see something like this: Windows 2000 Professional FreeBSD Easy. Let me know if you have any other questions regarding this procedure. Nick Lozinsky To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message