Selecting default OS to boot at Debian

We can do this by changing the configuration at grub file. At red hat the grub file is /etc/grub.conf file. But at Debian it resides at different location. To change the grub configuration you have to edit /boot/grub/menu.lst file. Normally Debian OS is the default bootable OS. To change this we have find out a line

default 0

here , I changed 0 to 3, as my windows system was 4th line at the seletion menu of grub loader.

And then save and exit the file. And it worked nicely.

For very freshers, we can change the same thing at redhat at /etc/grub.conf file and you will get it done.

Any tips about grub configuration will be highly appreciated.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: