0

I have a computer using a Dual-Boot with Ubuntu and Windows. While connected on Ubuntu, I would like to use a command to reboot the computer and start Windows.

After Windows turns off, the computer would ideally start Ubuntu again.

Is anything like this possible ?

6
  • The short answer is no, it isn't. Jul 20, 2022 at 12:00
  • @ChanganAuto I'll experiment with GRUB and create my own method then. If I can modify boot orders from Ubuntu and Windows when they boot, maybe it could work.
    – Bnr
    Jul 20, 2022 at 12:12
  • At best you can change Grub to boot Windows by default. You can't do the reverse from Windows obviously. And then if you want to boot Ubuntu you'll have to manually select it instead, this until you change Grub's default again. Jul 20, 2022 at 12:21
  • Grub has reboot command. askubuntu.com/questions/859335/… & more details but was reboot into Windows 7. ubuntuforums.org/…
    – oldfred
    Jul 20, 2022 at 13:10
  • 1
    @user68186 Thank you, grub-reboot was the commadn I was looking for. Thank you !
    – Bnr
    Jul 20, 2022 at 13:36

0

Browse other questions tagged .