Monday, May 6, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 11203  / 1 Year ago, mon, may 29, 2023, 7:49:28

I recently installed ubuntu (dual boot with windows).



I want to boot windows automatically unless I manually choose ubuntu.



I use grub and startupmanager (yes I know obsolete). I am running ubuntu 14.04 and windows 7.



Can someone tell the procedure to do this?


More From » boot

 Answers
1

  • Press Ctrl+Alt+T, type gksudo gedit /etc/default/grub press Enter and enter your password.


  • You will see the following contents:



    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=""

  • You can change the default from 0 to any number, corresponding to the entry in the Grub bootup menu (first entry is 0, second is 1, etc.)


  • Then run sudo update-grub




Important: To get grub file in /etc/default/grub if not exist, run this command:



sudo apt-get install grub2 grub-pc


Then run



sudo update-grub

[#24605] Monday, May 29, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
sigtestim

Total Points: 298
Total Questions: 108
Total Answers: 106

Location: Bermuda
Member since Thu, Apr 20, 2023
1 Year ago
;