LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   changing grub boot default (https://www.linuxquestions.org/questions/linux-newbie-8/changing-grub-boot-default-44091/)

tumnus 02-04-2003 03:21 PM

changing grub boot default
 
in redhat 8 setup for grub, i set "DOS" (win2k) as default boot, but now i want to change it to linux

my grub.conf file says:


# 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 (hd1,0)
# kernel /vmlinuz-version ro root=/dev/hdb2
# initrd /initrd-version.img
#boot=/dev/hda
default=1
timeout=10
splashimage=(hd1,0)/grub/splash.xpm.gz
password --md5 $1$/nɺãÃqF$N0nmiXOQlmrLd.0/hX9qV.
title Red Hat Linux (2.4.18-14)
root (hd1,0)
kernel /vmlinuz-2.4.18-14 ro root=LABEL=/ hdc=ide-scsi
initrd /initrd-2.4.18-14.img
title DOS
rootnoverify (hd0,0)
chainloader +1

i would assume i want to just change default=1 to default=0, (0 for first title entry, 1 for 2nd, etc?) but i do not want to do anything unless i am sure :P
other than the default thing, the line #boot=/dev/hda points to win (win - hda, linux - hdb), but it is commented out anyway

so how would i switch it to autoboot linux?
thanks :>

sorry for the multiple threads
when i ask 2 in one thread, peopel usually answer one question, expand on that answer, and then stop :P

Dark_Helmet 02-04-2003 03:33 PM

GRUB default
 
Yes, all you have to do is change the default statement to:

default=0

tumnus 02-04-2003 03:53 PM

thanks


All times are GMT -5. The time now is 05:25 AM.