In order to remember the last booted operating system in multi booting enviroment of windows and ubunut/linux,

(how to set grub to choose the last booted os)

sudo nano /etc/default/grub

change GRUB_DEFAULT=0 into GRUB_DEFAULT=saved

add a line with GRUB_SAVEDEFAULT=true

Press Ctrl + o and then Enter to save

Press Ctrl + x to exit

sudo update-grub

sudo reboot

#Reference

https://www.maketecheasier.com/set-grub-remember-last-selection/

https://www.google.com/search?q=grub+last+boot&newwindow=1&source=lnms&tbm=isch&sa=X&ved=0ahUKEwj9m-7CvevjAhVXAogKHb2GD8UQ_AUIESgB&biw=1920&bih=969

+ Recent posts