-1

I've successfully installed ubuntu. I mostly use windows and occasionally use ubuntu for programming. As a result i placed windows above ubuntu in my BIOS. Is there an easy way to swap between them without changing bios setting (placing ubuntu above windows in boot order)

Aces
  • 1

1 Answers1

0

There are several easy solutions to this:

  • Change the boot order in bios to boot linux and change the default os to boot in grub to windows and adjust the timeout to suit. Answers linked in comments describe this.
  • If you only occasionally boot linux and are using a EFI bios, most of them have a key (F11 frequently) to enter a bios boot menu where you can pick the OS to boot.
  • Grub also supports setting a "next boot" option. In grub, change DEFAUT=saved and then use grub-reboot to tell linux to boot windows next time. If you add this to a boot script, your system will then alternate operating systems on each boot. (Also described in https://superuser.com/questions/285755/boot-to-windows-once-from-grub-then-back-to-ubuntu-on-next-boot )

Note that if you choose the second option, updating linux may occasionally reset the boot order to put linux first.

user10489
  • 5,533