?
Solved

Adding extra option in grub boot menu

Posted on 2004-11-16
2
Medium Priority
?
237 Views
Last Modified: 2013-12-06
Hi:

Right now I have a dual boot system of Windowz XP and Red Hat. My Red Hat logs into the GUI (gnome) when I select it. I want to have three options from boot.

1. Red Hat (GUI)
2. Red Hat (Shell)
3. Windows XP

So my question is, what do I need to add to have the extra option to boot into the shell. I'm guessing I need to add another entry to my menu.lst file under my /boot/grub.

Here is what my menu.lst files looks like thus far:

default=1
timeout=10
splashimage=(hd0,1)/grub/splash.xpm.gz
title Fedora Core (2.6.5-1.358)
     root (hd0, 1)
     kernel /vmlinuz-2.6.5-1.358 ro root=LABEL=/ rhgb quiet
     initrd /initrd-2.6.5-1.358.img
title Windows XP
     rootnoverify (hd0,0)
     chainloader +1

Any help would be great. Thankx!

-Greg
0
Comment
Question by:gregca80
2 Comments
 

Accepted Solution

by:
hedayat earned 200 total points
ID: 12603090
Hi,
  you can do that by modifing your menu.lst like this:

default=1
timeout=10
splashimage=(hd0,1)/grub/splash.xpm.gz
title RedHat (GUI)
     root (hd0, 1)
     kernel /vmlinuz-2.6.5-1.358 ro root=LABEL=/ rhgb quiet
     initrd /initrd-2.6.5-1.358.img
title RedHat (Shell)
     root (hd0, 1)
     kernel /vmlinuz-2.6.5-1.358 ro root=LABEL=/ rhgb quiet 3
     initrd /initrd-2.6.5-1.358.img
title Windows XP
     rootnoverify (hd0,0)
     chainloader +1
0
 

Author Comment

by:gregca80
ID: 12607829
perfecto. Gracias
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to demonstrate how we can use conditional statements using Python.
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses
Course of the Month16 days, 12 hours left to enroll

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question