From owner-freebsd-questions@FreeBSD.ORG Mon Sep 18 21:04:14 2006 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 EDA5316A40F for ; Mon, 18 Sep 2006 21:04:14 +0000 (UTC) (envelope-from adamartin@FreeBSD.org) Received: from mta1.srv.hcvlny.cv.net (mta1.srv.hcvlny.cv.net [167.206.4.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8051C43D70 for ; Mon, 18 Sep 2006 21:04:13 +0000 (GMT) (envelope-from adamartin@FreeBSD.org) Received: from [IPv6:::1] (ool-18be71d3.dyn.optonline.net [24.190.113.211]) by mta1.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTP id <0J5T005NW3NTA750@mta1.srv.hcvlny.cv.net> for freebsd-questions@freebsd.org; Mon, 18 Sep 2006 16:59:54 -0400 (EDT) Date: Mon, 18 Sep 2006 16:58:20 -0400 From: Adam Martin In-reply-to: <20060918102608.GA92059@lothlorien.nagual.nl> To: dick hoogendijk Message-id: <6804ae5adf2d00bf922e7011fc26dffe@FreeBSD.org> MIME-version: 1.0 X-Mailer: Apple Mail (2.624) Content-type: text/plain; charset=US-ASCII; format=flowed Content-transfer-encoding: 7BIT References: <20060918025110.A4C551BF287@ws1-1.us4.outblaze.com> <20060918102608.GA92059@lothlorien.nagual.nl> Cc: freebsd-questions@freebsd.org Subject: Re: Freebsd, Suse Linux dual booting 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, 18 Sep 2006 21:04:15 -0000 On 2006 Sep 18 , at 06:26, dick hoogendijk wrote: > On 17 Sep Ahmad Arafat Abdullah wrote: >> For me, >> booting BSDa and other OS is easier with grub: >> mine: >> >> FreeBSD 6.1 >> rootnoverify (hd0,0) >> chainloader +1 > > Is this chainloader thing still valid? To my knowledge grub knows about > ufs2 nowadays. Chainloader is still valid. However, it hands off control to the UFS boot blocks. (The spinning /|\- thing. If you press space during this, you get a simple interactive boot-loader, which lets you pick the next stage boot-loader.) The danger with chainloader on UFS systems (or other filesystems) with grub, is if you try to chainload the boot blocks of a filesystem that has GRUB embedded on it. In that case... you either recursively boot into grub... or worse, you get weirdnesses... and have to track down a boot disk. If you wish to chainload the boot-blocks, from grub, you're better off doing: root( hd0,0,a ) chainloader /boot/boot2 # I think it's boot2 -- boot1 is a first stage, and needs boot2 in fixed location. Also, doing the bootloading from the filesystem with GRUB still passes off control to the FreeBSD loader, anyhow, so GRUB isn't the last step in the process. There's a whole host of other fun tricks to use with the FreeBSD bootloader, grub, and more. I'd be happy to talk more about it, but I don't want to bore you. -- ADAM David Alan Martin -- Adam David Alan Martin