Edit Grub

This is a discussion about Edit Grub in the Everything Linux category; I am new to LINUX, I have installed linux RedHat 9 with windowsME, now want to edit GRUB, and change the booting sequence to 1st to DOS and 2nd to LINUX. Thankyou.

Everything Linux 1799 This topic was started by , . Last reply by ,


data/avatar/default/avatar17.webp

1 Posts
Location -
Joined 2004-09-18
I am new to LINUX, I have installed linux RedHat 9 with windowsME, now want to edit GRUB, and change the booting sequence to 1st to DOS and 2nd to LINUX.
Thankyou

Participate in our website and join the conversation

You already have an account on our website? To log in, use the link provided below.
Login
Create a new user account. Registration is free and takes only a few seconds.
Register
This subject has been archived. New comments and votes cannot be submitted.
Sep 18
Created
Sep 22
Last Response
0
Likes
1 minute
Read Time
User User
Users

Responses to this topic


data/avatar/default/avatar10.webp

2895 Posts
Location -
Joined 2002-08-30
If you are brand new to Linux, I would leave it alone for now, until you get comfortable with using the editors and command line stuff. But, if you must, you can edit the /boot/grub/menu.lst file and change the default option from 0 to 1.
 
So, you probably see something like;
 
default=0
timeout=30
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.18-0.12)
root (hd0,0)
kernel /vmlinuz-2.4.18-0.12 ro root=/dev/hda3
initrd /initrd-2.4.18-0.12.img
 
 
Change the default= option to 1. The numbers start with 0 (or should), which means boot the first title entry.
 
You should have another entry, the second, assuming that you are just booting Windows and RedHat, like;
 
title DOS....this is the second entry.
 
Save the file and exit your editor.