From owner-freebsd-questions@FreeBSD.ORG Sat Jul 3 20:11:41 2004 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 0990616A4CE for ; Sat, 3 Jul 2004 20:11:41 +0000 (GMT) Received: from outmx007.isp.belgacom.be (outmx007.isp.belgacom.be [195.238.3.234]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7607F43D31 for ; Sat, 3 Jul 2004 20:11:40 +0000 (GMT) (envelope-from geert@lori.mine.nu) Received: from outmx007.isp.belgacom.be (localhost [127.0.0.1]) with ESMTP id i63KBWv3008361 for ; Sat, 3 Jul 2004 22:11:32 +0200 (envelope-from ) Received: from lori.mine.nu (252-22.244.81.adsl.skynet.be [81.244.22.252]) with ESMTP id i63KBNtT008291; Sat, 3 Jul 2004 22:11:23 +0200 (envelope-from ) Received: by lori.mine.nu (Postfix, from userid 1000) id E0BB4474; Sat, 3 Jul 2004 22:11:21 +0200 (CEST) Date: Sat, 3 Jul 2004 22:11:21 +0200 From: Geert Hendrickx To: Bruce Hunter Message-ID: <20040703201121.GA2170@lori.mine.nu> References: <1088881267.32068.16.camel@solid.solisixoffice.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1088881267.32068.16.camel@solid.solisixoffice.com> User-Agent: Mutt/1.4.2i X-GPG-Key: http://www.win.ua.ac.be/~s005085/gnupgkey.txt X-GPG-Key-ID: 1024D/766C1E92 X-Accept-Language: nl,en cc: freebsd-questions@freebsd.org Subject: Re: Grub installation from the ports collection vs. Freebsd boot loader 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: Sat, 03 Jul 2004 20:11:41 -0000 > Here is my hard drive setup > ---------------------------- > Partition 0 ) 5g: Windows 2k > Partition 1 ) 35g: Freebsd 5.2.1 In this case, your grub.config would look like this: default 1 timeout 30 title Windows 2000 root (hd0,0) makeactive chainloader +1 title FreeBSD 5.2.1 root (hd0,2,a) kernel /boot/loader It does the following: after 30 seconds, FreeBSD will be booted by default (0 is Windows and 1 is FreeBSD). Both OS'es reside on the first disk (hd0), Windows on the first partition of it (hd0,0). You can't load Windows' kernel from Grub, you just have to chainload the Windows- partition, that's what makeactive and chainloader +1 do. Your FreeBSD-slice is de second partition (hd0,2), and I assume your root is the first partition on that, which is (hd0,2,a) in Grub's terminology. You then load /boot/loader (FreeBSD's bootloader) because you do not want to skip your boot-configuration. You could also boot your kernel directly with kernel /kernel but this is not recommended. Grub has many more options (graphical boot splashes for example), you really should check out the documentation. But you can already set things up with this simple configuration file. Let me know if it works, GH