Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 04-14-2009, 04:32 AM   #1
LQ Newbie
Registered: Apr 2009
Posts: 2

Rep: Reputation: 0
change boot order

i have two os, vista and ubuntu linux.
i want to change the boot order. can anyone please help me in this.
Old 04-14-2009, 04:36 AM   #2
Senior Member
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,629

Rep: Reputation: Disabled
I guess this issue must have been taken care of in LQ.
You could change the boot order in file menu.lst in /boot/grub directory.
You need to be root even to open the file so very obviously you will need to be root to edit it. You should be fine using sudo
Old 04-14-2009, 06:26 AM   #3
Registered: Oct 2008
Location: Brisbane Australia
Distribution: Fedora, Centos, Manjaro
Posts: 317

Rep: Reputation: 70
In /boot/grub/grub.conf you will find the line "default=0" perhaps. this refers directly to the "title" line where 0 is the first number and 1 is the second and so on. If you want to swap the boot order, you can either change "default=0" or whatever to "default=1" or whatever, or you can move the chunks of boot stuff in your grub.conf file. Since you are a beginner it would probably be easier to simply change the default boot number.

I would save your grub.conf as grub.conf.orig just in case you make a mistake.
(cp -p grub.conf grub.conf.orig).

All this is done as root BTW or in ubuntu "sudo su".


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
how to change boot order bcbotha Ubuntu 3 11-22-2008 08:16 AM
Have to change boot order in BIOS to boot ubuntu/winxp Minn3h Linux - Software 7 04-01-2006 05:17 PM
change Boot order SuSE9.0 and XP Beaver Linux - Newbie 1 03-14-2004 01:16 PM
how to change boot order Boomba Linux - Newbie 2 01-23-2004 07:33 AM
Change boot order? panicboy Linux - Software 6 01-21-2004 05:55 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:09 PM.

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