LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   boot from linux-default (https://www.linuxquestions.org/questions/linux-newbie-8/boot-from-linux-default-801478/)

shibu_sp 04-12-2010 01:49 AM

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

Sayan Acharjee 04-12-2010 01:53 AM

Quote:

Originally Posted by shibu_sp (Post 3932532)
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.

linuxlover.chaitanya 04-12-2010 05:07 AM

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.

Sayan Acharjee 04-12-2010 05:35 AM

Quote:

Originally Posted by linuxlover.chaitanya (Post 3932669)
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. :D

bakdong 04-12-2010 05:48 AM

The OP didn't say that the linux was not accessible, so probably could just change the boot.ini to what is required.

Sayan Acharjee 04-12-2010 05:54 AM

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.

linuxlover.chaitanya 04-13-2010 12:31 AM

Agreed. Grub handles dual booting much better than windows. So we should just let Grub do that.

Sayan Acharjee 04-13-2010 12:35 AM

I'm not sure if the OP has an entry for linux in boot.ini, it should not be there actually. :o

bakdong 04-13-2010 01:41 AM

Not necessarily agreeing or disagreeing with the various Windows/Grub boot system comments. I'm just saying it can be done either way.

linuxlover.chaitanya 04-13-2010 01:48 AM

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.


All times are GMT -5. The time now is 12:24 AM.