Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Jul 2004 09:10:35 -0700 (PDT)
From:      Bill Schoolcraft <bill@wiliweld.com>
To:        Andrew Walrond <andrew@walrond.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Booting with Grub
Message-ID:  <20040701090748.N52759@bsd.billschoolcraft.com>
In-Reply-To: <200407011532.03043.andrew@walrond.org>
References:  <200407011532.03043.andrew@walrond.org>

next in thread | previous in thread | raw e-mail | index | archive | help
At Thu, 1 Jul 2004 it looks like Andrew Walrond composed:

> I have installed 5.2.1 into a partition and I want to use my existing
> bootloader, grub.
>
> Can anyone tell me what the required grub configuartion line would look like,
> or point me to an FAQ?
>
> Andrew Walrond
> _______________________________________________

Here is one that worked for me with FreeBSD on the 4th primary partition.
It was a while ago when I had RedHat-7.2 as the controller of GRUB.

################################
# Note that you do not have to rerun grub after making changes to this
# file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,0)
#          kernel /vmlinuz-version ro root=/dev/hda3
#          initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.7-10)
        root (hd0,0)
        kernel /vmlinuz-2.4.7-10 ro root=/dev/hda3
        initrd /initrd-2.4.7-10.img

title FreeBSD-4.2
        root (hd0,4,a)
        kernel /boot/loader
###################################
--
Bill Schoolcraft
PO Box 210076                 -o)
San Francisco CA 94121         /\
"UNIX, A Way Of Life."        _\_v

http://billschoolcraft.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040701090748.N52759>