From owner-freebsd-questions@FreeBSD.ORG Mon Jun 6 15:49:45 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 AFADF16A41C for ; Mon, 6 Jun 2005 15:49:45 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from aiolos.otenet.gr (aiolos.otenet.gr [195.170.0.93]) by mx1.FreeBSD.org (Postfix) with ESMTP id CFAE943D4C for ; Mon, 6 Jun 2005 15:49:43 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from orion.daedalusnetworks.priv (aris.bedc.ondsl.gr [62.103.39.226]) by aiolos.otenet.gr (8.13.4/8.13.4/Debian-1) with SMTP id j56FngWT028341; Mon, 6 Jun 2005 18:49:42 +0300 Received: from orion.daedalusnetworks.priv (orion [127.0.0.1]) by orion.daedalusnetworks.priv (8.13.3/8.13.3) with ESMTP id j56Fneev002814; Mon, 6 Jun 2005 18:49:40 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by orion.daedalusnetworks.priv (8.13.3/8.13.3/Submit) id j56Fne10002813; Mon, 6 Jun 2005 18:49:40 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Mon, 6 Jun 2005 18:49:40 +0300 From: Giorgos Keramidas To: Artur Soares Message-ID: <20050606154939.GA2525@orion.daedalusnetworks.priv> References: <42A3CEDF.1060700@yahoo.com.br> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42A3CEDF.1060700@yahoo.com.br> Cc: freebsd-questions@freebsd.org Subject: Re: Question about booting with the NT booter. 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, 06 Jun 2005 15:49:45 -0000 On 2005-06-06 01:19, Artur Soares wrote: > Hi, > I am one afraid guy with this on his machine: > Disk 1 (master): 40GB - Windows XP (NTFS) on the first 10GB, FAT32 for > storage to the rest. > Disk 2 (slave): 80GB - FreeBSD 5.4 on the first 50 GB, FAT32 for storage > to the rest. > > Both are at the same IDE controller (disk 1 is ad0, disk 2 is ad1) > > I have (mis)installed the BSD boot manager to the ad1, which, since is > master, is being bipassed at the start, and windows is starting his > usual business. So I have no glimpse whatsoever of FreeBSD when I boot, > but takeing a peek via PartitionMagic, it is there. Also, I was > succesfull at all steps of the installation. > > I would like to know how to (step-by-step, talking to a noob here) enter > BSD, get the boot0 file and copy it into C: as if you were talking to a > 5 year old boy you just met on the street. Hi Artur, General questions about FreeBSD should be posted to the freebsd-questions mailing list, not doc@freebsd.org. I've already redirected this reply to that list. Having said that, the following is probably what you need to do: 1. Boot into FreeBSD 2. Install the boot0 boot manager to ad1: # boot0cfg -v /dev/ad1 3. Copy the installed boot manager to a file: # cd /tmp # dd if=/dev/ad1 of=/tmp/boot0.bin bs=512 count=1 4. Transfer the boot0.bin file to the Windows partition, by copying it to the FAT32 partition of ad0. # mount_msdosfs /dev/ad1s2 /mnt # cp /tmp/boot0.bin /mnt # sync ; umount /mnt 5. Reboot and start Windows XP 6. Copy the boot0.bin file to C:\boot0.bin 7. Configure Windows Explorer to show ALL the files (i.e. not to hide system files) 8. Remove the "read only" attribute of the C:\boot.ini file by right-clicking it and tweaking its properties. 9. Edit C:\boot.ini (with Notepad) and add a line with the location of the boot0.bin file: C:\boot0.bin="FreeBSD" 10. Set the read-only attribute of boot.ini again That should be all there is to it.