I have installed windows and Linux(ubuntu) on the same machine. Now the problem is when I start my machine, It goes directly to Linux and does not ask me for the selection of OS either I want to load Windows or Linux.
How can I change setting that it ask me for the selection of OS? I guess it is the configuration at bios(machine) level so I asked this question here.
NOTE: I want to know settings for both cases either system directly loads Windows or Linux, what will be the settings to make it selected from user.
24 Answers
It has been a while since I have utilized this, but you would want to research boot loaders. I know that "grub" is one of the names that comes to mind immediately. It provides a graphical interface at boot, After post, for a user to select an operating system. If they don't select one, a timeout occurs and a selected default OS is launched.
go to run or search bar in start menu >>> type msconfig >>>> boot tab >>> set your OS boot preferences.
2hope you are using ubuntu latest version, go to /etc/default and edit file grub you can use any method for editing.use can use this either
gedit /etc/default/grub
you will find list of os,
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
# Uncomment to enable BadRAM filtering, modify to suit your needsfind the index of your operating system, and replace with x in grub deafult
GRUB_DEFAULT=xand finally do a
update-grubin your case, i suppose changing time out in GRUB_HIDDEN_TIMEOUT=0 will solve your issue.
Modify the order of OS's in your /etc/grub/grub.conf file like so:
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Red Hat Enterprise Linux Server (2.6.32-358.0.1.el6.x86_64) root (hd0,0) kernel /vmlinuz-2.6.32-358.0.1.el6.x86_64 ro root=UUID=9f61352f-55c5-4063-ba3c-7fde39c04175 initrd /initramfs-2.6.32-358.0.1.el6.x86_64.img
title Red Hat Enterprise Linux (2.6.32-71.el6.x86_64) root (hd0,0) kernel /vmlinuz-2.6.32-71.el6.x86_64 ro root=UUID=9f61352f-55c5-4063-ba3c-7fde39c04175 initrd /initramfs-2.6.32-71.el6.x86_64.imgAlso, 'timeout' is the time in seconds the menu waits for you to make a selection.