From owner-freebsd-questions@FreeBSD.ORG Mon Sep 12 04:58:48 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 86F0916A41F for ; Mon, 12 Sep 2005 04:58:48 +0000 (GMT) (envelope-from glenn@antimatter.net) Received: from cobalt.antimatter.net (cobalt.antimatter.net [69.55.224.239]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4810943D46 for ; Mon, 12 Sep 2005 04:58:48 +0000 (GMT) (envelope-from glenn@antimatter.net) Received: from glenn-mobile.antimatter.net (cpe-66-27-86-22.san.res.rr.com [66.27.86.22]) (authenticated bits=0) by cobalt.antimatter.net (8.13.4/8.13.4) with ESMTP id j8C4wjFp000886 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 11 Sep 2005 21:58:47 -0700 X-MailKey: purple frogs are falling from the sky Message-Id: <6.2.3.4.2.20050911214618.096c8b80@cobalt.antimatter.net> X-Mailer: QUALCOMM Windows Eudora Version 6.2.3.4 Date: Sun, 11 Sep 2005 21:56:55 -0700 To: John Do , freebsd-questions@freebsd.org From: Glenn Dawson In-Reply-To: <20050912041842.57957.qmail@web35801.mail.mud.yahoo.com> References: <20050912041842.57957.qmail@web35801.mail.mud.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Cc: Subject: Re: Stand-alone GRUB HELP 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, 12 Sep 2005 04:58:48 -0000 At 09:18 PM 9/11/2005, John Do wrote: >Hi guys > >I have been reading documentation and I'm still >confused. > >I have Windows on ad0 and FreeBSD on ad2 > >I installed the BSD bootloader but it is only booting >Windows. > >There is some limitation or problem and no matter what >I try in the emergency shell I cannot configure >boot0cfg to work properly. > >So I need two solutions to try: > >How do I configure the BSD boot loader to work to boot >both Windows and FreeBSD? I have tried commands like > >boot0cfg -B -s 2 ad2 and it doesn't seem to help or >boot I think what you want is: test54# boot0cfg -B -s 5 ad0 test54# boot0cfg -B -s 1 ad2 If you reboot, you should end up booting from the first slice on ad2. This is what everything looks like on one of my test boxes: test54# boot0cfg -v ad4 # flag start chs type end chs offset size 1 0x00 0: 1: 1 0x07 1023:254:63 63 20964762 2 0x80 1023:255:63 0xa5 1023:254:63 20964825 20964825 3 0x00 1023:255:63 0x07 1023:254:63 41929650 61432560 4 0x00 1023:255:63 0xa5 1023: 80:63 103362210 287359758 version=1.0 drive=0x80 mask=0xf ticks=182 options=packet,update,nosetdrv default_selection=F5 (Drive 1) test54# boot0cfg -v ad6 # flag start chs type end chs offset size 1 0x80 0: 1: 1 0xa5 1023:254:63 63 156296322 version=1.0 drive=0x80 mask=0xf ticks=182 options=packet,update,nosetdrv default_selection=F1 (Slice 1) Not exactly the same as your setup, but close. On ad4, 1 is windows, 2 is FreeBSD, 3 and 4 are non-bootable. On ad6, 1 is FreeBSD. -Glenn >Second solution: > >Stand-alone GRUB install > >How can I install GRUB stand-alone? How do I install >it into /boot? I guess /boot = some mounted partition >of a unix OS? > >Would it be best to make /boot under the existing >FreeBSD partition? > >The more exact details the better. I've been >scratching my head over this for days > >thx! > >__________________________________________________ >Do You Yahoo!? >Tired of spam? Yahoo! Mail has the best spam protection around >http://mail.yahoo.com >_______________________________________________ >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"