Friday, April 12, 2019

grub2 - How do you boot automatically from Grub?

After my first install of Ubuntu 18.04.2LTS, my PC boots to the Grub command line. (Not a splash screen). UEFI.



How do I set this up so that I don't have to go through this process every time I want to use Ubuntu?



How do I boot my PC from GRUB?



To boot, from grub, I have to do the following from the above post:





Ok, from grub type ls (hd0,1)/ you should see a file named vmlinuz or
linux, and initrd.img



Type linux (hd0,1)/vmlinuz root=/dev/sda1 or linux (hd0,1)/linux
root=/dev/sda1 depending on what you found with ls (hd0,1)/, then:



initrd (hd0,1)/initrd.img boot




I have several hard drives in my computer (self-built). I select the drive i'm going to boot from in the UEFI utility. It currently defaults to my Windows drive as I will use Windows more frequently than Ubuntu.

No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...