Date: Mon, 18 Sep 2006 16:58:20 -0400 From: Adam Martin <adamartin@FreeBSD.org> To: dick hoogendijk <dick@nagual.nl> Cc: freebsd-questions@freebsd.org Subject: Re: Freebsd, Suse Linux dual booting Message-ID: <6804ae5adf2d00bf922e7011fc26dffe@FreeBSD.org> In-Reply-To: <20060918102608.GA92059@lothlorien.nagual.nl> References: <20060918025110.A4C551BF287@ws1-1.us4.outblaze.com> <20060918102608.GA92059@lothlorien.nagual.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6804ae5adf2d00bf922e7011fc26dffe>