SlideShare a Scribd company logo
1 of 2
Download to read offline
Configuring the Boot Menu in Ubuntu
If you install Ubuntu as a traditional dual-boot with Windows, Ubuntu will make
itself the default operating system to boot up (you get a few seconds to switch
to Windows with the arrow keys). If you would like to change the boot order,
you can do so by editing the Grub boot menu.

Before you edit the appropriate file to change the boot order, notice first the
current boot order as it appears when you first boot up your computer. It will
probably look something like this.

Ubuntu, with Linux 3.2.0-23-generic-pae
Ubuntu, with Linux 3.2.0-23-generic-pae (recovery mode)
Memory test (memtest86+)
Memory test (memtest86+, serial console 115200)
Windows 7 (loader) (on /dev/sda1)
Numbering for Grub starts at 0 instead of 1. So, in this case, Ubuntu is the 0th
entry, recovery mode is 1st, the first memtest is 2nd, the second memtest is
3rd, and Windows 7 is 4th.




Press Alt-F2 (or open a terminal) and paste in the command

gksu gedit /etc/default/grub




When prompted, enter your password, as you'll be editing a system file.
You should notice GRUB_DEFAULT=0 (which means Ubuntu is the default boot
entry, as it is the 0th entry).




If you want Windows to boot first and if Windows is the 4th entry (assuming
numbering starts at 0), change it to GRUB_DEFAULT=4

Save the file and exit out of the text editor.




Open a terminal and paste in the command

sudo update-grub

The next time you reboot, Windows should be the default operating system!

Note: there used to be a graphical program for this called Startup Manager. It no longer appears
to exist for Ubuntu 12.04, and it was a bit buggy in 11.10, but if you're using Ubuntu 11.04 or
10.04, you may have some luck with it.

More Related Content

What's hot

Instal vnc in cent os
Instal vnc in cent osInstal vnc in cent os
Instal vnc in cent os
Manusia Tenan
 
Recover linux after windows installation
Recover linux after windows installationRecover linux after windows installation
Recover linux after windows installation
Amrinder Singh
 
6 stages of linux boot process
6 stages of linux boot process6 stages of linux boot process
6 stages of linux boot process
Teja Bheemanapally
 

What's hot (20)

Using linux in schools
Using linux in schools Using linux in schools
Using linux in schools
 
Unix for developers
Unix for developersUnix for developers
Unix for developers
 
PXE Network Booting The Raspberry Pi
PXE Network Booting The Raspberry PiPXE Network Booting The Raspberry Pi
PXE Network Booting The Raspberry Pi
 
Terminal basic-commands(Unix) -partI
Terminal basic-commands(Unix) -partITerminal basic-commands(Unix) -partI
Terminal basic-commands(Unix) -partI
 
Linux: Hardware Settings
Linux: Hardware SettingsLinux: Hardware Settings
Linux: Hardware Settings
 
Instal vnc in cent os
Instal vnc in cent osInstal vnc in cent os
Instal vnc in cent os
 
Troubleshooting linux booting process
Troubleshooting linux booting processTroubleshooting linux booting process
Troubleshooting linux booting process
 
Recover linux after windows installation
Recover linux after windows installationRecover linux after windows installation
Recover linux after windows installation
 
6 stages of linux boot process
6 stages of linux boot process6 stages of linux boot process
6 stages of linux boot process
 
Linux boot process
Linux boot processLinux boot process
Linux boot process
 
BOOTABLE OPERATING SYSTEM
BOOTABLE OPERATING SYSTEMBOOTABLE OPERATING SYSTEM
BOOTABLE OPERATING SYSTEM
 
Using linux in schools
Using linux in schools Using linux in schools
Using linux in schools
 
Os Virtualization
Os VirtualizationOs Virtualization
Os Virtualization
 
How to build and load linux to embedded system
How to build and load linux to embedded systemHow to build and load linux to embedded system
How to build and load linux to embedded system
 
Forcefully unmount a linux disk partition
Forcefully unmount a linux disk partitionForcefully unmount a linux disk partition
Forcefully unmount a linux disk partition
 
System ctl file that is created at time of installation
System ctl file that is created at time of installationSystem ctl file that is created at time of installation
System ctl file that is created at time of installation
 
Installation of linux mint 18 sarah
Installation of linux mint 18 sarahInstallation of linux mint 18 sarah
Installation of linux mint 18 sarah
 
Hardware
HardwareHardware
Hardware
 
Writing file system in CPython
Writing file system in CPythonWriting file system in CPython
Writing file system in CPython
 
Hello, Worldまで3ヶ月 Golangでファミコンエミュレータ実装 #gocon fukuoka 2019
Hello, Worldまで3ヶ月 Golangでファミコンエミュレータ実装 #gocon fukuoka 2019Hello, Worldまで3ヶ月 Golangでファミコンエミュレータ実装 #gocon fukuoka 2019
Hello, Worldまで3ヶ月 Golangでファミコンエミュレータ実装 #gocon fukuoka 2019
 

Viewers also liked (15)

Grupo 5
Grupo 5Grupo 5
Grupo 5
 
D1319 unidad 2 act 1 mar 14
D1319 unidad 2 act 1 mar 14D1319 unidad 2 act 1 mar 14
D1319 unidad 2 act 1 mar 14
 
Chup by mumtaz mufti
Chup by mumtaz muftiChup by mumtaz mufti
Chup by mumtaz mufti
 
Colegio nacional nicolas esguerra
Colegio nacional nicolas esguerraColegio nacional nicolas esguerra
Colegio nacional nicolas esguerra
 
Rosa
RosaRosa
Rosa
 
Rea Tópicos avanzados de programación
Rea   Tópicos avanzados de programaciónRea   Tópicos avanzados de programación
Rea Tópicos avanzados de programación
 
Unit 8 Vocab
Unit 8 VocabUnit 8 Vocab
Unit 8 Vocab
 
How to change the uuid on a vdi file
How to change the uuid on a vdi fileHow to change the uuid on a vdi file
How to change the uuid on a vdi file
 
Transcatheter closure of atrial septal defects: how large is too large?
Transcatheter closure of atrial septal defects: how large is too large?Transcatheter closure of atrial septal defects: how large is too large?
Transcatheter closure of atrial septal defects: how large is too large?
 
How to mount and unmount filesystem
How to mount and unmount filesystemHow to mount and unmount filesystem
How to mount and unmount filesystem
 
π
ππ
π
 
Getting Them There: A Small-Scale Usability Test of a University Library Website
Getting Them There: A Small-Scale Usability Test of a University Library WebsiteGetting Them There: A Small-Scale Usability Test of a University Library Website
Getting Them There: A Small-Scale Usability Test of a University Library Website
 
메디컬X 디스크 수술해야하나 ?
메디컬X 디스크 수술해야하나 ?메디컬X 디스크 수술해야하나 ?
메디컬X 디스크 수술해야하나 ?
 
Historia natural de la enfermedad
Historia natural de la enfermedadHistoria natural de la enfermedad
Historia natural de la enfermedad
 
Hepatitis Viral B, C y D
Hepatitis Viral B, C y DHepatitis Viral B, C y D
Hepatitis Viral B, C y D
 

Similar to Configuring the boot menu in ubuntu

www3.ntu.edu.sg-How to install Ubuntu and Get Started.pdf
www3.ntu.edu.sg-How to install Ubuntu and Get Started.pdfwww3.ntu.edu.sg-How to install Ubuntu and Get Started.pdf
www3.ntu.edu.sg-How to install Ubuntu and Get Started.pdf
ssuseraa78bd1
 
6 stages of linux boot process
6 stages of linux boot process6 stages of linux boot process
6 stages of linux boot process
Hari Shankar
 
Redhat OS installation
Redhat OS installationRedhat OS installation
Redhat OS installation
Pontika Gupta
 

Similar to Configuring the boot menu in ubuntu (20)

Ubuntu alternate ubuntu installation
Ubuntu alternate ubuntu installationUbuntu alternate ubuntu installation
Ubuntu alternate ubuntu installation
 
www3.ntu.edu.sg-How to install Ubuntu and Get Started.pdf
www3.ntu.edu.sg-How to install Ubuntu and Get Started.pdfwww3.ntu.edu.sg-How to install Ubuntu and Get Started.pdf
www3.ntu.edu.sg-How to install Ubuntu and Get Started.pdf
 
Day 2 ubuntu boot camp
Day 2 ubuntu boot campDay 2 ubuntu boot camp
Day 2 ubuntu boot camp
 
6 stages of linux boot process
6 stages of linux boot process6 stages of linux boot process
6 stages of linux boot process
 
6 stages of linux boot process
6 stages of linux boot process6 stages of linux boot process
6 stages of linux boot process
 
Day 6 ubuntu boot camp
Day 6 ubuntu boot campDay 6 ubuntu boot camp
Day 6 ubuntu boot camp
 
Arraque dual "open suse y windows"
Arraque dual "open suse y windows"Arraque dual "open suse y windows"
Arraque dual "open suse y windows"
 
Day 3 ubuntu boot camp
Day 3 ubuntu boot campDay 3 ubuntu boot camp
Day 3 ubuntu boot camp
 
Order of boot process in Linux
Order of boot process in LinuxOrder of boot process in Linux
Order of boot process in Linux
 
cs506_linux
cs506_linuxcs506_linux
cs506_linux
 
Srgoc linux
Srgoc linuxSrgoc linux
Srgoc linux
 
Redhat OS installation
Redhat OS installationRedhat OS installation
Redhat OS installation
 
Grub2 and troubleshooting_ol7_boot_problems
Grub2 and troubleshooting_ol7_boot_problemsGrub2 and troubleshooting_ol7_boot_problems
Grub2 and troubleshooting_ol7_boot_problems
 
101 1.2 boot the system
101 1.2 boot the system101 1.2 boot the system
101 1.2 boot the system
 
Dual Booting Win7 and ubuntu
Dual Booting Win7 and ubuntuDual Booting Win7 and ubuntu
Dual Booting Win7 and ubuntu
 
Public software ubuntu (shreenivas)
Public software ubuntu (shreenivas)Public software ubuntu (shreenivas)
Public software ubuntu (shreenivas)
 
Installation of DSpace, Koha and other software using Liblivecd
Installation of DSpace, Koha and other software using LiblivecdInstallation of DSpace, Koha and other software using Liblivecd
Installation of DSpace, Koha and other software using Liblivecd
 
Installing Linux: Partitioning and File System Considerations
Installing Linux: Partitioning and File System ConsiderationsInstalling Linux: Partitioning and File System Considerations
Installing Linux: Partitioning and File System Considerations
 
Readme
ReadmeReadme
Readme
 
step by step to install the ubuntu
step by step to install the ubuntustep by step to install the ubuntu
step by step to install the ubuntu
 

More from COMSATS

Windows keyboard shortcuts
Windows keyboard shortcutsWindows keyboard shortcuts
Windows keyboard shortcuts
COMSATS
 
Think like a hacker for better security awareness
Think like a hacker for better security awarenessThink like a hacker for better security awareness
Think like a hacker for better security awareness
COMSATS
 
Talash by mumtaz mufti urdunovelist.blogspot.com
Talash by mumtaz mufti urdunovelist.blogspot.comTalash by mumtaz mufti urdunovelist.blogspot.com
Talash by mumtaz mufti urdunovelist.blogspot.com
COMSATS
 
Ram deen part 2 by mumtaz mufti
Ram deen part 2 by mumtaz muftiRam deen part 2 by mumtaz mufti
Ram deen part 2 by mumtaz mufti
COMSATS
 
Ram deen part 1 by mumtaz mufti
Ram deen part 1 by mumtaz muftiRam deen part 1 by mumtaz mufti
Ram deen part 1 by mumtaz mufti
COMSATS
 
Open network architecture e book
Open network architecture e bookOpen network architecture e book
Open network architecture e book
COMSATS
 
How to print out a list of all files in a folder
How to print out a list of all files in a folderHow to print out a list of all files in a folder
How to print out a list of all files in a folder
COMSATS
 
Alipur ka ailee (part 3) by mumtaz mufti
Alipur ka ailee (part 3) by mumtaz muftiAlipur ka ailee (part 3) by mumtaz mufti
Alipur ka ailee (part 3) by mumtaz mufti
COMSATS
 
Alakh nagri by mumtaz mufti
Alakh nagri by mumtaz muftiAlakh nagri by mumtaz mufti
Alakh nagri by mumtaz mufti
COMSATS
 
Windows speed up
Windows speed upWindows speed up
Windows speed up
COMSATS
 

More from COMSATS (16)

Windows keyboard shortcuts
Windows keyboard shortcutsWindows keyboard shortcuts
Windows keyboard shortcuts
 
Unix linux command reference
Unix linux command referenceUnix linux command reference
Unix linux command reference
 
Ubuntu an absolute beginners guide
Ubuntu an absolute beginners guideUbuntu an absolute beginners guide
Ubuntu an absolute beginners guide
 
Think like a hacker for better security awareness
Think like a hacker for better security awarenessThink like a hacker for better security awareness
Think like a hacker for better security awareness
 
Talash by mumtaz mufti urdunovelist.blogspot.com
Talash by mumtaz mufti urdunovelist.blogspot.comTalash by mumtaz mufti urdunovelist.blogspot.com
Talash by mumtaz mufti urdunovelist.blogspot.com
 
Ram deen part 2 by mumtaz mufti
Ram deen part 2 by mumtaz muftiRam deen part 2 by mumtaz mufti
Ram deen part 2 by mumtaz mufti
 
Ram deen part 1 by mumtaz mufti
Ram deen part 1 by mumtaz muftiRam deen part 1 by mumtaz mufti
Ram deen part 1 by mumtaz mufti
 
Open network architecture e book
Open network architecture e bookOpen network architecture e book
Open network architecture e book
 
How to print out a list of all files in a folder
How to print out a list of all files in a folderHow to print out a list of all files in a folder
How to print out a list of all files in a folder
 
Alipur ka ailee (part 3) by mumtaz mufti
Alipur ka ailee (part 3) by mumtaz muftiAlipur ka ailee (part 3) by mumtaz mufti
Alipur ka ailee (part 3) by mumtaz mufti
 
Windows 7 guide
Windows 7 guideWindows 7 guide
Windows 7 guide
 
Alipur ka ailee (part 2) by mumtaz mufti
Alipur ka ailee (part 2) by mumtaz muftiAlipur ka ailee (part 2) by mumtaz mufti
Alipur ka ailee (part 2) by mumtaz mufti
 
Alipur ka ailee (part 1) by mumtaz mufti
Alipur ka ailee (part 1) by mumtaz muftiAlipur ka ailee (part 1) by mumtaz mufti
Alipur ka ailee (part 1) by mumtaz mufti
 
Ali pur ka aili by mumtaz mufti
Ali pur ka aili by mumtaz muftiAli pur ka aili by mumtaz mufti
Ali pur ka aili by mumtaz mufti
 
Alakh nagri by mumtaz mufti
Alakh nagri by mumtaz muftiAlakh nagri by mumtaz mufti
Alakh nagri by mumtaz mufti
 
Windows speed up
Windows speed upWindows speed up
Windows speed up
 

Configuring the boot menu in ubuntu

  • 1. Configuring the Boot Menu in Ubuntu If you install Ubuntu as a traditional dual-boot with Windows, Ubuntu will make itself the default operating system to boot up (you get a few seconds to switch to Windows with the arrow keys). If you would like to change the boot order, you can do so by editing the Grub boot menu. Before you edit the appropriate file to change the boot order, notice first the current boot order as it appears when you first boot up your computer. It will probably look something like this. Ubuntu, with Linux 3.2.0-23-generic-pae Ubuntu, with Linux 3.2.0-23-generic-pae (recovery mode) Memory test (memtest86+) Memory test (memtest86+, serial console 115200) Windows 7 (loader) (on /dev/sda1) Numbering for Grub starts at 0 instead of 1. So, in this case, Ubuntu is the 0th entry, recovery mode is 1st, the first memtest is 2nd, the second memtest is 3rd, and Windows 7 is 4th. Press Alt-F2 (or open a terminal) and paste in the command gksu gedit /etc/default/grub When prompted, enter your password, as you'll be editing a system file.
  • 2. You should notice GRUB_DEFAULT=0 (which means Ubuntu is the default boot entry, as it is the 0th entry). If you want Windows to boot first and if Windows is the 4th entry (assuming numbering starts at 0), change it to GRUB_DEFAULT=4 Save the file and exit out of the text editor. Open a terminal and paste in the command sudo update-grub The next time you reboot, Windows should be the default operating system! Note: there used to be a graphical program for this called Startup Manager. It no longer appears to exist for Ubuntu 12.04, and it was a bit buggy in 11.10, but if you're using Ubuntu 11.04 or 10.04, you may have some luck with it.