Compatible Support Forums: Edit Grub

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Edit Grub

#1 User is offline   manzar1971 

  • stranger
  • Group: Members
  • Posts: 1
  • Joined: 18-September 04

Posted 18 September 2004 - 10:48 AM

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
0

#2 User is offline   danleff 

  • Carpal Tunnel
  • Group: Moderators
  • Posts: 2903
  • Joined: 30-August 02

Posted 18 September 2004 - 05:16 PM

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.

0

#3 User is offline   CrazyKillerMan 

  • old hand
  • Group: Members
  • Posts: 761
  • Joined: 14-October 00

Posted 22 September 2004 - 04:26 AM

From Gentoo handbook: http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=10

This is a really nice intro to grub.

If you want to edit your grub file, make sure to check out /etc/fstab and make sure that when your boot partition is loaded that it does not have "noauto" as an option or you will not be able to view that partition.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users