[PlanetCCRMA] FC4 install with CCRMA re grub.conf

Tracey Hytry shakti@bayarea.net
Thu Feb 23 02:50:02 2006


Nigel wrote:

>The first thing I 
> want to see is the Grub menu, not a Grub boot prompt. Do you know of any way 
> to get the Grub splash screen up at bootup, and bypass this default to the 
> Grub boot prompt, and booting to whatever is set as default.

I dunno, I like to hack up things so much that I sometimes forget about all of the reasoning why my computer is like it is(or am I getting old(or is it the lack of sleep the past night)?).  Grub is an easy file to mess around with, though I've been known to like to modify /etc/rc.d/rc.sysinit from time to time.

Anyway, here's a copy of the grub.conf from this machine(at the moment).  It's a FC3 machine that I got from someone who had uSoft-XP on it.  I shrunk XP down and made partitions for FC3, etc.  Later I realized I never booted into XP and I put FC4 where it was.  The grub.conf file is in the /boot partition(/dev/sda2) of the FC3 install.  I think it needs a little more editing.  Did i say it's late at night and I'm missing sleep from last night?

__________________________________________________________

# grub.conf generated by anaconda
#
# 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,1)
#          kernel /vmlinuz-version ro root=/dev/sda6
#          initrd /initrd-version.img

#boot=/dev/sda

default=0
#timeout=30
splashimage=(hd0,1)/grub/splash.xpm.gz
#hiddenmenu

title FC3 (2.6.12-0.21.rdt.rhfc3.ccrma)  NEW CCRMA (NVIDIA-1.0-7667) FC3
        root (hd0,1)
        kernel /vmlinuz-2.6.12-0.21.rdt.rhfc3.ccrma ro root=/dev/sda6
        initrd /initrd-2.6.12-0.21.rdt.rhfc3.ccrma.img

title FC3 (2.6.10-2.1.ll.rhfc3.ccrma)  STABLE CCRMA (NVIDIA-1.0-7667) FC3
        root (hd0,1)
        kernel /vmlinuz-2.6.10-2.1.ll.rhfc3.ccrma ro root=/dev/sda6
        initrd /initrd-2.6.10-2.1.ll.rhfc3.ccrma.img

title FC4 (2.6.14-0.10.rrt.rhfc4.ccrma) NEWEST CCRMA kernel FC4
        root (hd0,0)
        kernel /boot/vmlinuz-2.6.14-0.10.rrt.rhfc4.ccrma ro root=/dev/sda1
        initrd /boot/initrd-2.6.14-0.10.rrt.rhfc4.ccrma.img

title FC4 (2.6.13-0.3.rdt.rhfc4.ccrma)  NEW CCRMA kernel FC4
        root (hd0,0)
        kernel /boot/vmlinuz-2.6.13-0.3.rdt.rhfc4.ccrma ro root=/dev/sda1
        initrd /boot/initrd-2.6.13-0.3.rdt.rhfc4.ccrma.img

title FC4 (2.6.12-0.21.rdt.rhfc4.ccrma)  STOCK CCRMA kernel FC4
        root (hd0,0)
        kernel /boot/vmlinuz-2.6.12-0.21.rdt.rhfc4.ccrma ro root=/dev/sda1
        initrd /boot/initrd-2.6.12-0.21.rdt.rhfc4.ccrma.img

title FC4 (2.6.14-1.1653_FC4)  newest FEDORA kernel FC4
        root (hd0,0)
        kernel /boot/vmlinuz-2.6.14-1.1653_FC4 ro root=/dev/sda1
        initrd /boot/initrd-2.6.14-1.1653_FC4.img

title FC3 Rescue  (boot from small RESCUE partition /dev/sda3) FC3
        root (hd0,2)
        kernel /boot/vmlinuz-2.6.11-1.27_FC3 ro root=/dev/sda3
        initrd /boot/initrd-2.6.11-1.27_FC3.img

title FC3  (2.6.12-1.1376_FC3)  newest FEDORA kernel FC3
        root (hd0,1)
        kernel /vmlinuz-2.6.12-1.1376_FC3 ro root=/dev/sda6
        initrd /initrd-2.6.12-1.1376_FC3.img

title Memtest86+ v1.60
        kernel /memtest86+-1.60

title FC3  (2.6.11-0.15.rdt.rhfc3.ccrma)  CCRMA test  FC3
        root (hd0,1)
        kernel /vmlinuz-2.6.11-0.15.rdt.rhfc3.ccrma ro root=/dev/sda6
        initrd /initrd-2.6.11-0.15.rdt.rhfc3.ccrma.img

title FC3  (2.6.12-0.18.rdt.rhfc3.ccrma)  stable CCRMA test  (NVIDIA-1.0-7667)
        root (hd0,1)
        kernel /vmlinuz-2.6.12-0.18.rdt.rhfc3.ccrma ro root=/dev/sda6
        initrd /initrd-2.6.12-0.18.rdt.rhfc3.ccrma.img

title FC3  (2.6.9-1.667)  original FC3 install kernel  (no NVIDIA)
        root (hd0,1)
        kernel /vmlinuz-2.6.9-1.667 ro root=/dev/sda6
        initrd /initrd-2.6.9-1.667.img

title FC4 (2.6.11-1.1369_FC4)  original FC4 install kernel FC4
        root (hd0,0)
        kernel /boot/vmlinuz-2.6.11-1.1369_FC4 ro root=/dev/sda1
        initrd /boot/initrd-2.6.11-1.1369_FC4.img

__________________________________________________________

I always turn off the "hiddenmenu" thing and set the timer to something nice like 30 seconds or just turn the timer off like above.  I also throw away the stuff that fedora likes to add at the end of the kernel lines so I get to see all of the lines scroll past during boot.  If I see an error I then know to log in as root and check the /var/log/ files.  I also like to modify my /etc/inittab to boot into non-graphical mode(3) and startx manually.

Grub likes to use "zero,zero" to refer to the first drive and partition, which  is always a fun riddle with linux using the start of "one,one".  So to set the default to "FC4 (2.6.13-0.3.rdt.rhfc4.ccrma)" I would make default=3.

This has turned into a more general info post btw.

Tracey.