Questions tagged as ['grub2']

GRUB 2 is the next generation of the GRand Unified Bootloader (GRUB). Ubuntu has used GRUB 2 as the boot loader since 9.10 (Karmic Koala). Commonly referred to as simply "GRUB".
Score: 0
oakpep avatar
Can't update GRUB
us flag

Yesterday I enlarged the system partition using gparted. Everything went fine, I rebooted and everything worked. This morning after turning on and selecting linux from bootlader - it does not turn on. I read that I should update GRUB, I use boot-repair with live-usb for this. Unfortunately the operation failed I'm getting these errors.

I also tried to repair and reinstall grub using a live USB accordi ...

Score: 0
Marshhh avatar
GRUB and system boot order not detecting Windows
es flag

Recently, I tried to dual boot Ubuntu alongside windows 10. I didn't have free space on my windows partition, i.e, C:, so, made a partition in the D: drive and installed Ubuntu on it. I ran into several problems, like after turning on my laptop, my screen continuously showed No Boot device found. Hence, I tried to go into boot order settings by pressing F9 and my system was able to boot into Ubuntu by B ...

Score: 0
Emil Majer avatar
Ubuntu 20.04: Kernel and display manager not loading on system boot
ps flag

OS: Ubuntu 20.04.2 LTS x86_64

Kernel: 5.8.0-63-generic

Hi! I have problem with my Ubuntu. When I try to boot, it shows me an error you need to load the kernel first. I googled a lot about this issue and I try to fix it with my grub (v2.04).

When I set prefix like this: set prefix=(hd0,gpt2)/boot/grub terminal just freeze. No matter how long I wait prompt doesnt show again. I restart system (using ...

Score: 0
serpine avatar
Removed libglib2.0-dev, cannot boot Ubuntu. Please help!
cn flag

I have made a BIG mistake. I have removed the package libglib2.0-dev on accident. I can no longer use my pc or boot into ubuntu 20.04. I am fairly new to more advanced computing. I can use terminal and basic things like that. I have a bootable usb stick with ubuntu 20.04 on it. Problem is, is I have tried everything I can think of to get the package back onto the ubuntu installation but without success. ...

Score: 0
jake avatar
Setting up grub-efi-amd64-signed error in apt install
in flag

I followed the uninstall and reinstall commands in https://askubuntu.com/a/1298386/574240 but whenever I do sudo apt install <program> I'm still getting the below error:

Setting up grub-efi-amd64-signed (1.167~18.04.5+2.04-1ubuntu44.1.2) ...
Installing for x86_64-efi platform.
grub-install: error: cannot find EFI directory.
dpkg: error processing package grub-efi-amd64-signed (--configure): ...
Score: 2
Shubham Deshmukh avatar
Is shim a redundant package that is never used, compared to shim-signed?
jp flag

I did sudo apt-get autoremove --purge to free up some space, however it also removed the latest shim package that got updated just today.

shim (15.4-0ubuntu7)

also updated today was

shim-signed (15.4-0ubuntu7)

but shim-signed was NOT removed.

If autoremove removes older versions no longer required, however I believe shim is an essential element for secure boot process, or is it not? Please help me ...

Score: 0
mert avatar
Ubuntu 18.04 booting is stuck at GNU GRUB version 2.04 [Partially solved]
cn flag

Dear fellow ubuntu Users,

I have an Alienware laptop that has a dual boot with Windows 10 and Ubuntu 18.04. I use Ubuntu as my main operating system. After a fail in booting, I used boot-repair program from an Ubuntu 20.04 via live USB. (for the previous part of the problem that caused me to run boot-repair, see my other question)

After removing the USB and booting again caused me to run into Grub mi ...

Score: 0
asdasasd avatar
“Unable to mount root fs on unknown block” for 20.04 while reboot or hibernate
cn flag

Last week, I had a boot loop because of %100 /var and freed some space and it was fixed.

/var/log has huge size because of snap

After fixing it (clearing /var), i hibernated the machine and today i tried to start it but it stayed at the hp logo.

Then i restarted via holding power.

It gave that error:

“Unable to mount root fs on unknown block”

So i went to advanced options and chose the oldest kernel ...

Score: 1
How do I tell the Ubuntu bootloader to boot from a different drive?
cn flag

This should be a simple question. My system is set to dual boot Ubuntu 20.04 and Windows 10. I previously had only a small SSD (256 GB), so I had only the EFI partition and the Windows system partition on the SSD and the Ubuntu partition on an internal HDD. The HDD is only 5400 RPM and the slow low load time was a constant source of aggravation.

I just purchased a new 2TB SSD and would like to ha ...

Score: 0
Rentib avatar
Accidentally deleted Ubuntu bootloader
cn flag

I've been running dualboot of windows 10 and ubuntu 20.04 on my computer and recently decided to get rid of windows (i stopped playing LOL) and I accidentally deleted disk partition that was responsible for ubuntu bootloader (alongside partition for windows).
For now i recovered or rather reinstalled windows just to be able to launch computer.

I've also been looking for ways to recover ubuntu bootload ...

Score: 0
Filippo avatar
dev/sda2 full and ubuntu not booting
id flag

I am a Windows user with virtually no experience on Linux/ubuntu. However, I need to use a pc that runs on linux.

I just installed wine on the pc and when trying to restart the computer I begun to encounter problems in booting:

  1. I see the logo of the computer ('Dell') appearing,
  2. I get to the screen where I can choose the system I want to use (e.g. Ubuntu, advance, Windows)
  3. when I select ubuntu (o ...
Score: 0
mert avatar
Ubuntu 18.04 boot fails into emergency mode [Closed Unsolved]
cn flag

Dear fellow ubuntu Users,

I have an Alienware laptop that has a dual boot with Windows 10 and Ubuntu 18.04. I use Ubuntu as my main operating system. I turned my pc off last night and when I try to turn it on this morning I faced a problem that takes me to Emergency mode.

When I turn pc on, Grub os selection menu appears. When I choose Ubuntu the booting screen takes way more time than usual and tur ...

Score: 0
Dell Latitude 7390 Business Laptop hangs randomly when I power it on
cn flag

I have Latitude 7390 Business Laptop purchased 3 years ago. Windows has been removed and Ubuntu 20.04 has been installed on it.

Normally, when I power it on, the Dell Logo appears for a few seconds. Then the GRUB menus appears to ask me to choose a kernel to boot.

However, for the past few months, sometimes my laptop hangs at the Dell Logo and nothing happens for hours -- I tried to leave it there t ...

Score: 0
Akos avatar
How can I rescue my Ubuntu VM, if I can't find the */boot/grub directory anywhere?
us flag

Something happened to my Ubuntu (v20.04 I believe) VM that I was working on, and it throws me into "grub rescue> " mode, doesn't even let me boot otherwise.

I've done some research on the internet, but unfortunately it hasn't been a fruitful endeavour, since the only solution I've come across doesn't work for me. Here's what I found:

1. grub rescue> ls (hd0) (hd0,msdos5) (hd0,msdos1)

I found the EXT ...

Score: 0
Potato_Waffles avatar
Laptop not seeing UEFI bootloader for Ubuntu, but Desktop does. How can I solve that?
th flag

Dear wounderful comunity!

I recently decided to try out this new UEFI boot thingy, as I want to encrypt my drive and only found tutorials for UEFI. My laptop does not by default support it (an old Acer Aspire 5750g), but after some digging I found a custom BIOS with UEFI and some other useful goodies!

I have a dual boot instalation (Ubuntu for coding and Windows for gaming and 3D modeling) and works ...

Score: 0
linofex avatar
Use grub config of second Ubuntu partition
ar flag

I have two Ubuntu partitions, Ubuntu 16.04 and 18.04. I use for the 99% of time the partition with U18.04, but I see that the grub config are taken from the partition with 16.04.Now, I have a problem with a kernel version with U18.04 and I am not able to boot with the older version because the grub manager in U16.04 does not recognize U18.04 kernels (while if a I do sudo update-grub from 18.04 everyt ...

Score: 1
patron avatar
Corresponding Edit In grub.cfg
ph flag

How would you translate this single edited line

GRUB_CMDLINE_LINUX_DEFAULT="amdgpu.ppfeaturemask=0xffffffff"

from /etc/default/grub to /mnt/boot/grub/grub.cfg on mkusb 18.04.5 LTS Persistent USB?

I need it translated to code manually, because I can't do sudo update-grub for the changes made to /etc/default/grub to take place on the mkusb persistent USB. Otherwise I get this error

/usr/sbin/grub-probe:e ...

Score: 0
BeckBo avatar
Lenovo Thinkpad E550, either no boot or kernel panic in reverory mode
cn flag

I have a significant problem with booting my computer. Formatting the computer does not help, I have tried more than once to reinstall ubuntu 18.04 LTS and windows. When I have Ubuntu installed I cannot boot, just black screen when I try to let the computer boot normally. If I try recovery mode, I get a kernel panic error. There have been problems getting Windows 10 installed, but after installation the ...

Score: 0
Rad avatar
New ubuntu installation removed old grub configuration, cannot set up dual boot
fo flag
Rad

I have previously had Windows 10 and Ubuntu installed with grub being able to dual boot to Windows and to Ubuntu. I have decided to reinstall Ubuntu due to reasons and unfortunately, it installed wrong grub configuration. Now I am not able to boot to Windows, it is not seen from grub (or os-prober).

I have multiple disks, Windows is installed on one SSD (sdc) and Linux has its own HDD (sda).

I th ...

Score: 0
brad avatar
ERROR: Can't find hypervisor information in sysfs!
in flag

Following an update, I can no long boot any of my VMs.

xl create lv-vm-debian01.cfg

gives the error

ERROR:  Can't find hypervisor information in sysfs!

I tried

mv /etc/grub.d/10_linux /etc/grub.d/50_linux

and then

update-grub2

That runs error free but still cannot boot VMs. Yes I rebooted.

Ubuntu 20.04

How do I get past this error?

Score: 0
Nona avatar
Ubuntu 20.04 will not boot even though boot repair says everything is fine
cn flag

Installing Ubuntu 20.0.4 LTS on a 4TB hard drive on an older Asus Desktop M51AC (linked to the exact model on Amazon). I opted for the LVM encryption option. I used the default amd 64 iso (iso was downloaded on a 2014 Macbook pro laptop and image was created using balenaEtcher) provide by Ubuntu to create the image on a USB stick. I can boot to the "live ubuntu" from the USB stick but not to the new ...

Score: 7
VincentDrolet avatar
Failed to open \EFI\UBUNTU\*garbled* - Invalid parameter
ng flag

I'm experiencing something weird today. I've been searching all over the internet, but I can't seem to find anybody who has the same problem.

I have Kubuntu 21.04 and Windows 11 installed in dual-boot.

Yesterday, i did a "cumulative update" for Windows 11, then i shut the computer down.

Today, I can't get GRUB to load. I tried entering the following command in windows command line but it didn't help

Score: 0
CyanMagentaYellowBlack avatar
How can I get my keyboard to work during boot again after it was disabled out of the blue?
lc flag

I have Ubuntu 20.04 dual booted with Windows 10. I had my grub file setup so that I would enter the grub menu upon boot and it has worked fine for weeks. This morning however, I booted on my computer and it skipped the grub menu and my grub settings were changed. I tried changing the settings back to what I had them set to when everything was working fine and it did bring back the grub menu, but introdu ...

Score: 0
run_the_race avatar
Enabling OverlayFS on Ubuntu 20.04 makes GNU GRUB selection pop up at boot
ke flag

I followed this great tutorial on how to enable overlayfs, basically just involves setting the file:

/etc/overlayroot.conf

to

overlayroot_cfgdisk="disabled"
overlayroot="tmpfs:swap=1,recurse=0"oot="tmpfs:swap=1,recurse=0"

Then rebooting. It work great, but theres some strange side effect that at boot, GNU GRUB pops up and asks me what I want to do:

GNU GRUB version 2.04
---------------------

*Ubuntu
  ...
Score: 1
Michael avatar
After using grub-customizer, how do I recover the ZFS Grub2 menu options on Ubuntu 20.04?
cn flag

After using grub-customizer for a bit (which I now know is a bad idea), my grub menu looks very different from the default. It's missing the history menu, which contains snapshots, and some of the entries that are supposed to be inside it are in the main menu: Picture of grub menu, taken with grub-emu

Artix is on /dev/sda1, and Ubuntu is on /dev/nvme0.

How can I restore the default, which has the following four entries?

  • Ubuntu 20.04.2 LTS
Score: 0
cmcm avatar
Will not proceed with blocklists
kn flag

Every boot gives that error and it gets stuck just like here Showing "Press 'Ctrl'+'C'" to cancel filesystem checks in progress

. So that is why i created usb live and chose "try ubuntu" option.

I have this error Fix "press Ctrl-c to cancel the checks in progress on the filesystem" error from USB live stick

I followed here Ubuntu 20.04, every boot makes a very long filesystem check

and lots of ot ...

Score: 1
DarkBrave_ avatar
How to fix broken /boot/efi Partition?
jp flag

My computer originally came with Windows 10 installed on it, but then I dualbooted Kubuntu, and then removed Windows 10 from my computer entirely. When I installed different distros, I noticed that they failed to install GRUB2 a lot, but the Boot Repair app fixed those problems, but I know something is wrong with the /boot/efi partition and I'm not sure how to fix it. Maybe I could try and remake it, but ...

Score: 0
Gyorgy Mihalik avatar
new installation ubuntu 20.4 to 2013 mac mini but on reboot have I/O errors again
dz flag

Please help! I am going around in circles, first i tried to fix grub,than reinitialized the Hd,reinstalled ubuntu end it seemed ok but after installing chrome and skype the next boot fails.If I boot try ubuntu i cant reinstall grub on the main hd. thanx

Score: 1
CursedChico avatar
Grub failed boot detection 20.04
cn flag

I started my hp laptop and it started to said "press ctrl+c to cancel all filesystem checks in progress"

I waited but nothing happened. It does not show progress and caps lock for example is not working at that time. It is unresponsive.

When it was booting, i tried to press f9101112 and it opened that screwn in my picture i added but cant write anything there. I tried to reach grub but couldnot do i ...

Score: 0
clwnsen avatar
Lenovo TouchPad V15-IIL not working on Ubuntu 21.04
in flag

On my Lenovo V15-II my touchpad didnt work. The workaroung down there fixed it for me in 20.04. Upgraded to 21.04 and same happens, but this fix isnt working now. Does someone got the same issue and fixed it?

Does someone made a fresh install and it worked with this fix again?

Run

sudo nano /etc/default/grub 

and append i8042.nopnp=1 pci=nocrs to GRUB_CMDLINE_LINUX_DEFAULT, so that the line will be: ...