OnWorks Linux and Windows Online WorkStations

Logo

Free Hosting Online for WorkStations

< Previous | Contents | Next >

10.3.2. Changing the Default Operating System at Boot‌

When multiple operating systems are installed on a computer, this is referred to as a multi-boot configuration. Typically, the operating system that is listed on top in the configuration file is loaded on the computer. To choose the operating system that starts when you turn on your computer, edit the grub configuration file.


1. Back up the configuration file, and open it in a text editor, as follows:


$ sudo cp


­/boot/grub/menu.lst ­/boot/grub/menu.lst_backup $ sudo gedit ­/boot/grub/menu.lst


2. Find the line written below to change the default sequence:


... default 0 ­...


Replace this line with the following line:


default X


Replace X with a number based on the order in which your operating systems appear in the configuration file. You should start counting from 0. For example, if you wish the default operating system to be the first in the list, replace X with 0; and if you wish the default operating system to be the second in the list, replace X with 1.


3. Point to saved and save default to reboot the last OS chosen.


Top OS Cloud Computing at OnWorks: