LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 04-12-2010, 01:49 AM   #1
shibu_sp
Member
 
Registered: Aug 2007
Posts: 57

Rep: Reputation: 15
boot from linux-default


Hi all

We are intall RHEL first then win xp.

Now the default booting os are winxp. How to change to linux.

Shibu
 
Old 04-12-2010, 01:53 AM   #2
Sayan Acharjee
Member
 
Registered: Feb 2010
Location: Chennai, India
Distribution: Manjaro
Posts: 624

Rep: Reputation: 64
Quote:
Originally Posted by shibu_sp View Post
Hi all

We are intall RHEL first then win xp.

Now the default booting os are winxp. How to change to linux.

Shibu
Open /etc/grub.conf and change the default value for linux.
 
Old 04-12-2010, 05:07 AM   #3
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Rep: Reputation: Disabled
Sayan, he installed Win Xp after RHEL, so windows has over written the Grub or whatever boot manager installed.

OP, you would need to boot from RHEL cd into rescue mode and then reinstall grub.
At the prompt

grub-install /dev/sdX. X is the device name in your system. Change it appropriately. It should most probably be sda.

And I would personally not change a file that is a symbolic link and would rather tend to edit the file itself. So I would edit /boot/grub/grub.conf instead.

Last edited by linuxlover.chaitanya; 04-12-2010 at 05:08 AM.
 
Old 04-12-2010, 05:35 AM   #4
Sayan Acharjee
Member
 
Registered: Feb 2010
Location: Chennai, India
Distribution: Manjaro
Posts: 624

Rep: Reputation: 64
Unhappy

Quote:
Originally Posted by linuxlover.chaitanya View Post
Sayan, he installed Win Xp after RHEL, so windows has over written the Grub or whatever boot manager installed.

OP, you would need to boot from RHEL cd into rescue mode and then reinstall grub.
At the prompt

grub-install /dev/sdX. X is the device name in your system. Change it appropriately. It should most probably be sda.

And I would personally not change a file that is a symbolic link and would rather tend to edit the file itself. So I would edit /boot/grub/grub.conf instead.
Oh, did not notice that.
 
Old 04-12-2010, 05:48 AM   #5
bakdong
Member
 
Registered: Apr 2009
Posts: 214

Rep: Reputation: 44
The OP didn't say that the linux was not accessible, so probably could just change the boot.ini to what is required.
 
Old 04-12-2010, 05:54 AM   #6
Sayan Acharjee
Member
 
Registered: Feb 2010
Location: Chennai, India
Distribution: Manjaro
Posts: 624

Rep: Reputation: 64
well, if the OP can't boot into linux, he should install the grub first, changing boot.ini won't be a good idea, i guess.
 
Old 04-13-2010, 12:31 AM   #7
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Rep: Reputation: Disabled
Agreed. Grub handles dual booting much better than windows. So we should just let Grub do that.
 
Old 04-13-2010, 12:35 AM   #8
Sayan Acharjee
Member
 
Registered: Feb 2010
Location: Chennai, India
Distribution: Manjaro
Posts: 624

Rep: Reputation: 64
I'm not sure if the OP has an entry for linux in boot.ini, it should not be there actually.
 
Old 04-13-2010, 01:41 AM   #9
bakdong
Member
 
Registered: Apr 2009
Posts: 214

Rep: Reputation: 44
Not necessarily agreeing or disagreeing with the various Windows/Grub boot system comments. I'm just saying it can be done either way.
 
Old 04-13-2010, 01:48 AM   #10
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Rep: Reputation: Disabled
Yes it surely can be done but I am giving my personal comments. I would always like to keep Grub boot manager rather than allowing windows boot manager to boot linux.
 
  


Reply



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
Linux as default OS at boot slackerlife Linux - General 1 11-19-2005 06:20 PM
lilo.conf and linux as default boot whitshade Slackware 7 04-26-2005 08:47 PM
How do I change the default boot from Windows to Linux? jdruin Linux - Newbie 4 04-26-2004 06:50 PM
Why does LILO boot Linux by default? Kramer Linux - Hardware 4 11-11-2003 07:03 PM
trouble changing default boot to linux reetep Linux - Newbie 6 11-04-2003 12:14 PM

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

All times are GMT -5. The time now is 11:04 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