Re: Grub Loader

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday 18 January 2005 23:22, David Curry wrote:
>Greetings everyone.
>
>While still running the initial FC-2 install (Kernel 2.6.5-1.358),
> Grub asked me to designate a default kernel for loading.  At the
> time there was one and only one kernel available for loading.
>
>How do I now change the default boot specification from K2.6.5-1.358
> to K2.6.10-1.8_FC2?

Gee, I dunno.  Maybe 'vim /boot/grub/grub.conf' and add whatever you want?

Here is a sample of it thats a thorough mess, but guess what, it works.
------------------------
# 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,0)
#          kernel /vmlinuz-version ro root=/dev/hda3
#          initrd /initrd-version.img
# boot=/dev/hda1
default=11
fallback=9
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz

# 0
title Red Hat Linux (2.4.18-14)
 root (hd0,0)
 kernel /vmlinuz-2.4.18-14 ro root=LABEL=/ hdc=ide-scsi
 initrd /initrd-2.4.18-14.img

# 1
title Red Hat Linux (2.4.23-pre8)
 root (hd0,0)
 kernel /vmlinuz-2.4.23-pre8 ro root=/dev/hda7 hdc=ide-scsi

# 2
title Red Hat Linux (2.4.22-pre10)
 root (hd0,0)
 kernel /vmlinuz-2.4.22-pre10 ro root=/dev/hda7 hdc=ide-scsi vga=ask

# 3
title Red Hat Linux (2.6.10)
 root (hd0,0)
 kernel /vmlinuz-2.6.10 ro root=/dev/hda7 vga=ask

# 4 
title Red Hat Linux (2.6.10-rc3)
        root (hd0,0)
        kernel /vmlinuz-2.6.10-rc3 ro root=/dev/hda7 vga=ask

# 5
title Red Hat Linux (2.6.10-ac1)
        root (hd0,0)
        kernel /vmlinuz-2.6.10-ac1 ro root=/dev/hda7 vga=ask

# 6
title Red Hat Linux (2.6.10-ac2)
        root (hd0,0)
        kernel /vmlinuz-2.6.10-ac2 ro root=/dev/hda7 vga=ask

# 7
title Red Hat Linux (2.6.10-mm1-V0.7.34-01)
 root (hd0,0)
 kernel /vmlinuz-2.6.10-mm1-V0.7.34-01 ro root=/dev/hda7 vga=ask

# 8
title Red Hat Linux (2.6.10-ac8)
        root (hd0,0)
        kernel /vmlinuz-2.6.10-ac8 ro root=/dev/hda7 vga=ask

# 9
title Red Hat Linux (2.6.11-rc1)
        root (hd0,0)
        kernel /vmlinuz-2.6.11-rc1 ro root=/dev/hda7 vga=ask

#10
title Red Hat Linux (2.6.11-rc1-V0.7.35-01)
        root (hd0,0)
        kernel /vmlinuz-2.6.11-rc1-V0.7.35-01 ro root=/dev/hda7 vga=ask

#11
title Red Hat Linux (2.6.11-rc1-V0.7.35-01-FW)
        root (hd0,0)
        kernel /vmlinuz-2.6.11-rc1-V0.7.35-01-FW ro root=/dev/hda7 elevator=cfq vga=ask

#12
title Red Hat Linux (2.6.10-rc2-bk7)
        root (hd0,0)
        kernel /vmlinuz-2.6.10-rc2-bk7 ro root=/dev/hda7 acpi_skip_timer_override 

#13
title Red Hat Linux (2.6.10-rc2-mm3)
        root (hd0,0)
        kernel /vmlinuz-2.6.10-rc2-mm3 ro root=/dev/hda7

#14
title Red Hat Linux (2.6.10-rc2-bk8)
        root (hd0,0)
        kernel /vmlinuz-2.6.10-rc2-bk8 ro root=/dev/hda7 acpi_skip_timer_override

#15
title DOS
 rootnoverify (hd0,1)
 makeactive
 chainloader +1
-------------
The # commented numbers are there strictly for me as it helps
me keep track of which is the default boot.

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
99.32% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attorneys please note, additions to this message
by Gene Heskett are:
Copyright 2005 by Maurice Eugene Heskett, all rights reserved.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux