Android
android
All
all
Windows
windows
Web
web
Linux
linux
Others
others

No Boot Loader After Installing Ubuntu! Linux With UEFI and Windows 8

| Comments

Ubuntu Boot loader Ubuntu Boot loader

If you are trying to dual-boot Ubuntu with Windows 8 in a new UEFI based machine (most of the new desktops and laptops have it) you might face several problems. The first is to pick the right machine. We covered this topic in a previous post. Lets say you bought a new machine and installed Windows 8. Then you install Ubuntu on it. Now you might be waiting for the usual Grub boot loader to appear when you restart. But sometimes, it won’t come! Lets see how to fix it…

I don’t know the real reason for Ubuntu to automatically hide its boot loader in UEFI systems. But there’s one possible reason. Because UEFI systems can read and understand the file systems unlike the old BIOS system (Read my previous post for an explanation), they can read and understand the boot loader code of each operating system. So, if you go into the UEFI system (people still call it the BIOS), you will be able to boot Windows or Ubuntu separately from it like you booted the hard drive and the CD ROM before. Operating systems now show up in the same list!

But for some people it will be a headache to press Escape, Delete, F2 or any other key to access the UEFI system and choose the OS. So, we need to get back the boot loader!

Here’s how to get back the Ubuntu boot loader :

  • Open the terminal and enter the following command to open the Grub configuration file :
1
sudo gedit /etc/default/grub
  • Now search for the line “GRUB_HIDDEN_TIMEOUT=0” and add a # in front of it like shown in the picture :

/etc/default/grub /etc/default/grub

  • Next save the file and run the following command to update Grub :
1
sudo update-grub
  • Finally, reboot your system!

Even though you restore Grub, you won’t see Windows in the list. We’ll see how to add it in our next post!

Comments