LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-05-2005, 10:01 AM   #1
aoeshang
LQ Newbie
 
Registered: Feb 2005
Posts: 6

Rep: Reputation: 0
How to change the boot OS name


I installed WinXp first and then Red Hat 9. During boot up, the Red Hat boot
loader asked me which OS i want to boot. At the beginning, there are two
choices: Red Hat_<version no.> and DOS. When I boot to Red Hat, it asked
me to updated my Red Hat, I did it and now, during boot up, I got three
selections:

1) Red Hat_<new version No.>
2) Red Hat_<old version No.>
3) DOS (I set it as default boot)

My questions:
1) can I delete the boot option for the "RedHat _<old version NO.>"?
2) CanI change the name "DOS" to like "Windows XP"?

In my case, WinXP is installed in Master drive and Linux installed in slave
drive.

Thanks for help!
 
Old 02-05-2005, 10:06 AM   #2
nazir
Member
 
Registered: Apr 2002
Location: Poland, Gliwice/Pszczyna
Distribution: Mandrake, Slackware
Posts: 41

Rep: Reputation: 15
what are you using? lilo or grub?
 
Old 02-05-2005, 10:13 AM   #3
aoeshang
LQ Newbie
 
Registered: Feb 2005
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by nazir
what are you using? lilo or grub?
I'm using Grub
 
Old 02-05-2005, 10:21 AM   #4
nazir
Member
 
Registered: Apr 2002
Location: Poland, Gliwice/Pszczyna
Distribution: Mandrake, Slackware
Posts: 41

Rep: Reputation: 15
if lilo:

edit /etc/lilo.conf
1) find something like that
Code:
image=/boot/vmlinuz
        label="Red Hat_<old version No.>"
        root=/dev/hda7
        ...
        ...
and delete it
2) find and change label="Dos" to label="Windows XP"

then save changes and as root type at console
Code:
 lilo
if using grub, find something like /boot/grub/menu.lst or /etc/grub/menu.lst or similar (i don't know how it is in RH)
1) find something like that and delete:
Code:
title Red Hat_<old version No.>
   root (hd0,3)
   kernel /boot/vmlinuz root=/dev/hda3
2) find something like that and change the title
Code:
title Dos
    rootnoverify (hd0,0)
 
Old 02-05-2005, 10:37 AM   #5
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Another method would be to delete the old kernel by doing,
$rpm -qa | grep -i kernel
#rpm -e kernel-version(name of the old kernel)
This removes the old kernel and it's grub entry.
 
Old 02-05-2005, 10:54 AM   #6
aoeshang
LQ Newbie
 
Registered: Feb 2005
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
if using grub, find something like /boot/grub/menu.lst or /etc/grub/menu.lst or similar (i don't know how it is in RH)
Thanks nazir! your memory is good, its /boot/grub/menu.lst

I did it and now the boot up looks nicer!
Cheers!
 
Old 02-05-2005, 09:00 PM   #7
ve6gil
LQ Newbie
 
Registered: Feb 2005
Location: Colorado Springs
Distribution: FC7
Posts: 5

Rep: Reputation: 0
Aoeshang, thanks for asking one of the questions I had rattling around in the back of my mind.

Redazz, good info. I appreciate the explicit examples. Gives one confidence in what you suggest. It worked nicely too. Thanks!

...Gil
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot change boot loader the1wraith Fedora 2 10-30-2005 11:52 AM
How can I change my boot sequence chinaundead Mandriva 4 03-11-2004 04:57 AM
Change boot order? panicboy Linux - Software 6 01-21-2004 06:55 PM
How to change the boot parition in this way? Xiangbuilder Linux - General 16 10-24-2003 10:40 PM
Had to change out MB on RH 9 Server and it won't boot into X ikw38 Red Hat 5 09-19-2003 01:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration