LinuxQuestions.org
Register a domain and help support LQ
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 07-10-2012, 11:12 PM   #1
zahid
Member
 
Registered: Jun 2012
Location: Dhaka, Banglades
Distribution: CentOS 6.2
Posts: 32

Rep: Reputation: Disabled
Boot loader configuration


I like to set a default OS. I have two OS in the same machine. Can anybody help me in this issue?
 
Old 07-11-2012, 12:04 AM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,980

Rep: Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294
Quote:
Can anybody help me in this issue?
Not with that little information. You would need to at least post which bootloader you are using because the method will vary.
 
Old 07-11-2012, 12:07 AM   #3
zahid
Member
 
Registered: Jun 2012
Location: Dhaka, Banglades
Distribution: CentOS 6.2
Posts: 32

Original Poster
Rep: Reputation: Disabled
Boot Loader

I am using Centos 6.2. Is that enough? If not how do I know details of that from Centos 6.2
 
Old 07-11-2012, 02:08 AM   #4
kernel99
LQ Newbie
 
Registered: Nov 2003
Posts: 24

Rep: Reputation: 1
Quote:
Originally Posted by zahid View Post
I am using Centos 6.2. Is that enough? If not how do I know details of that from Centos 6.2
If u hv 2 os what is the other one or what's ur default boot loader.
if u hv centos then modify in
/boot/grub/grub.conf

Find which one is default and u can modify from there.

If u hv window then edit boot.ini
 
Old 07-11-2012, 04:11 AM   #5
eyanu
Member
 
Registered: Jul 2012
Location: kampala,Uganda
Distribution: backtrack
Posts: 87

Rep: Reputation: Disabled
We need more details, but if your dual booting with windows then http://bit.ly/Mk1FsE
 
Old 07-11-2012, 07:00 AM   #6
zahid
Member
 
Registered: Jun 2012
Location: Dhaka, Banglades
Distribution: CentOS 6.2
Posts: 32

Original Poster
Rep: Reputation: Disabled
Booting sequence

I have tried to open /boot/grub/grub.conf but I couldn't. @Kernel99 or anybody else, how can I open it edit the file. I am using GNU GRUB version 0.97.

Last edited by zahid; 07-11-2012 at 07:02 AM.
 
Old 07-11-2012, 07:03 AM   #7
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Quote:
Originally Posted by kernel99 View Post
If u hv 2 os what is the other one or what's ur default boot loader.
if u hv centos then modify in
/boot/grub/grub.conf

Find which one is default and u can modify from there.

If u hv window then edit boot.ini
Per the LQ rules, please don't write posts like this; instead write words out in full, as they're easier to understand that way.
 
1 members found this post helpful.
Old 07-11-2012, 07:08 AM   #8
zahid
Member
 
Registered: Jun 2012
Location: Dhaka, Banglades
Distribution: CentOS 6.2
Posts: 32

Original Poster
Rep: Reputation: Disabled
Booting sequence

Quote:
Originally Posted by kernel99 View Post
If u hv 2 os what is the other one or what's ur default boot loader.
if u hv centos then modify in
/boot/grub/grub.conf
I have tried to open the file but I couldn't. Can anybody show me how can I edit the file.
 
Old 07-11-2012, 07:10 AM   #9
eyanu
Member
 
Registered: Jul 2012
Location: kampala,Uganda
Distribution: backtrack
Posts: 87

Rep: Reputation: Disabled
In your terminal type in vim /boot/grub/menu.lst not /boot/grub/grub.conf Now that depends on the editor your are using, could be vim, emacs, nano but what ever it is <editor> /boot/grub/menu.lst
 
1 members found this post helpful.
Old 07-11-2012, 09:33 AM   #10
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,980

Rep: Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294
You need to be root to modify the file so just log in to a terminal as root and open whatever the default text editor is or use vim as suggested to open /boot/grub/grub.conf. I believe there is a menu.lst file which is a link to grub.conf.
 
1 members found this post helpful.
  


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
create new boot loader configuration silent_trigger2006 Linux - Newbie 2 07-04-2008 04:30 AM
Boot Loader Configuration cbriscoejr Red Hat 2 10-25-2004 10:35 PM
Boot loader configuration lambchop Linux - Newbie 2 05-08-2004 04:09 PM
boot loader configuration pirozzi Linux - Software 1 12-11-2003 10:46 PM
boot loader configuration JbCrash Linux - Software 1 10-16-2003 11:59 PM


All times are GMT -5. The time now is 05:04 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration