From owner-freebsd-questions@FreeBSD.ORG Tue Mar 15 13:11:05 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 9288616A4CE for ; Tue, 15 Mar 2005 13:11:05 +0000 (GMT) Received: from smtp14.wxs.nl (smtp14.wxs.nl [195.121.6.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id CAF3B43D48 for ; Tue, 15 Mar 2005 13:11:04 +0000 (GMT) (envelope-from freebsd@akruijff.dds.nl) Received: from smtp.planet.nl (ip51cc8423.speed.planet.nl [81.204.132.35]) by smtp14.wxs.nl (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTP id <0IDE00K3R9YFLL@smtp14.wxs.nl> for questions@freebsd.org; Tue, 15 Mar 2005 14:11:03 +0100 (CET) Received: from Alex.lan (localhost [127.0.0.1]) by smtp.planet.nl (8.13.1/8.13.1) with ESMTP id j2FDA2rs001663; Tue, 15 Mar 2005 14:10:02 +0100 Received: (from akruijff@localhost) by Alex.lan (8.13.1/8.13.1/Submit) id j2FDA1GJ001662; Tue, 15 Mar 2005 14:10:01 +0100 Content-return: prohibited Date: Tue, 15 Mar 2005 14:10:01 +0100 From: Alex de Kruijff In-reply-to: <1110852766l.3253l.2l@BARTON> To: Jason Henson Message-id: <20050315131001.GA794@Alex.lan> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: Mutt/1.4.2.1i References: <20050314161349.GA763@Alex.lan> <1110852766l.3253l.2l@BARTON> X-Authentication-warning: Alex.lan: akruijff set sender to freebsd@akruijff.dds.nl using -f cc: questions@freebsd.org Subject: Re: Boot problems afther reinstall windows X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Mar 2005 13:11:05 -0000 Windows was able to boot afhter I installed it. I never touched boot.ini. The content would have been: [boot loader] timeout=30 default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS [operating systems] multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect /NoExecute=OptIn I now use a different solution. Instead of the freebsd bootloader (boot0). I now use the windows bootloader. I copied boot1 to c:\freebsd.bin. Then modified windows boot.ini as follow: [boot loader] timeout=10 default=c:\freebsd.bin [operating systems] multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect /NoExecute=OptIn c:\freebsd.bin="FreeBSD 5" This works for me. I still wonder why the stuff below didn't work. In the past I would do this with /stand/sysinstall. But I don't dare to do this with FreeBSD 5 because of drive geometric warnings. On Tue, Mar 15, 2005 at 02:12:46AM +0000, Jason Henson wrote: > What is in your windows boot.ini file? > > > On 03/14/05 11:13:49, Alex de Kruijff wrote: > >Hi, > > > >I've recently reinstalled windows. Windows removes the MBR as you > >know. > >So ather I installed it I set partion 1 (FreeBSD) active and > >rebooted. > >Then I followed the handbook and did fdisk -B -b /boot/boot0 ad0. Now > >I > >get the orginal screen afther booting. Only it beeps when I press F2 > >(Windows). I can mount the second partion on FreeBSD, but cant boot. > >Any > >ideas to what I'm missing here? > > > ># fdisk > >******* Working on device /dev/ad0 ******* > >parameters extracted from in-core disklabel are: > >cylinders=484521 heads=16 sectors/track=63 (1008 blks/cyl) > > > >Figures below won't work with BIOS for partitions not in cyl 1 > >parameters to be used for BIOS calculations are: > >cylinders=484521 heads=16 sectors/track=63 (1008 blks/cyl) > > > >Media sector size is 512 > >Warning: BIOS sector numbering starts with sector 1 > >Information from DOS bootblock is: > >The data for partition 1 is: > >sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) > > start 63, size 20971377 (10239 Meg), flag 80 (active) > > beg: cyl 0/ head 1/ sector 1; > > end: cyl 1023/ head 104/ sector 63 > >The data for partition 2 is: > >sysid 12 (0x0c),(DOS or Windows 95 with 32 bit FAT (LBA)) > > start 20980890, size 20948760 (10228 Meg), flag 80 (active) > > beg: cyl 1023/ head 0/ sector 1; > > end: cyl 1023/ head 254/ sector 63 > >The data for partition 3 is: > >sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) > > start 41942880, size 446454288 (217995 Meg), flag 80 (active) > > beg: cyl 1023/ head 210/ sector 1; > > end: cyl 1023/ head 80/ sector 63 > >The data for partition 4 is: > > > > > >-- > >Alex > > > >Please copy the original recipients, otherwise I may not read your > >reply. > >WWW: http://www.kruijff.org/alex/FreeBSD/ > >_______________________________________________ > >freebsd-questions@freebsd.org mailing list > >http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >To unsubscribe, send any mail to "freebsd-questions- > >unsubscribe@freebsd.org" > > > > > > > > -- Alex Please copy the original recipients, otherwise I may not read your reply. WWW: http://www.kruijff.org/alex/FreeBSD/