Questions tagged [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".

6,018 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
11 votes
0 answers
2k views

OS-prober is taking a really long time

Any time I update my GRUB configuration or install a kernel update that has the update manager update my grub configuration, the os-prober part of the configuration hangs for sometimes 10-20 minutes. ...
user256518's user avatar
9 votes
1 answer
4k views

Recovering a borked GRUB with a Ubuntu 19.10 ZFS root filesystem

After a series of mishaps with Secure Boot (trying to sign VMWare Player kernel modules), GRUB stopped showing the entries corresponding to Ubuntu 19.10, installed as ZFS root (default 19.10 installer ...
denisrosset's user avatar
8 votes
0 answers
2k views

Enable deep sleep in HP laptop on Ubuntu 22.04

Is there a way to enable deep sleep on my HP laptop with Ubuntu 22.04? Changing /etc/default/grub to # If you change this file, run 'update-grub' afterwards to update # /boot/grub/grub.cfg. # For full ...
Antonio Santoro's user avatar
8 votes
0 answers
3k views

Can't Boot on Dual Monitor

Summary of issue: Can't see GRUB2 boot menu on monitor connected via DVI port. Up until recently I had everything working fine for my Windows 10 / Ubuntu 18.04.2 dual boot setup. I had two monitors: ...
GinjaNinja's user avatar
8 votes
1 answer
1k views

cannot add memtest86 in Grub menu

I had already seek solution in: How can I add the Memtest86+ options back to the Grub menu? Memtest86+ options are missing in Grub menu However, they still can't solve my problem... what drives me ...
Rick Wang's user avatar
8 votes
2 answers
13k views

Permanently solve “GRUB was previously installed to a disk that is no longer present”

I have an Ubuntu 16.04 virtual machine (local, no cloud) which was created as a clone of another computer. Each time GRUB packages are upgraded using apt upgrade, I get the following message:1 The ...
Melebius's user avatar
  • 11.4k
7 votes
0 answers
3k views

Windows 11 erases GRUB every time I launch it from GRUB itself

So I have been trying to solve this problem from several hours for now: Problem explanation I bought a new computer (HP OMEN 15) with Windows 11 already installed. I did a dual boot with ubuntu, which ...
Julien Bocage's user avatar
7 votes
1 answer
3k views

How to sign your kernel and bootloader?

How to sign your kernel and bootloader? How do I sign my kernel and bootloader? Update (04-Feb-2021) Don't think I made clear what it is that I'm trying to do. I want to do away with OEM keys and only ...
sxkx's user avatar
  • 336
7 votes
3 answers
11k views

ACPI BIOS Error messages when booting Ubuntu 20.04

After upgrading my ASUS Zenbook UX305UA (Intel i5-6200) from ubuntu 18.04 to 20.04 (20.04.1 LTS to be specific) a couple of weeks ago, I am experiencing odd bugs. While odd green pixels like this were ...
Max's user avatar
  • 143
6 votes
0 answers
2k views

18.04 Boot to black unless I delete $vt_handoff grub parameter, related to Nvidia drivers?

I started having problems booting after I tried to use prime-select for the first time to switch between my laptop's Nvidia GTX 960M and Intel graphics, using the same nvidia-390 driver that had ...
zygomycete's user avatar
6 votes
4 answers
7k views

Change partition sizes of dualboot system

I know that there are some similar topics to this, however I was not sure which of them could be applied to my case. Because I am afraid of destroying my system, I hope you can give me some advice on ...
Raphael's user avatar
  • 161
6 votes
0 answers
4k views

Avoid Grub2 password protect on every boot?

I have set Grub2 password following this thread. It works fine but now it prompts for username and password every time I start or restart my computer. It's actually the first thing it does. Now, if ...
user633551's user avatar
6 votes
1 answer
2k views

boot XEN under UEFI-only BIOS

Is there a way to get XEN 4.4 booting from UEFI mode BIOS? My AMD64bit laptop does not support direct CSM/legacy boots. A nasty workaround has been to boot from a specially made USB pendrive with ...
Marcos's user avatar
  • 730
6 votes
1 answer
21k views

What location to put bootloader, when running multiple drives and partition

I have Win8 on my desktop, where a 120G SSD is used to run windows and some select applications, while I have a 2TB HDD to provide basic file storage and where possible, install applications instead ...
Mr G's user avatar
  • 356
6 votes
1 answer
13k views

Insmod error in grub: symbol not found:grub_realidt

I have a dual boot PC with Windows 7 and Ubuntu. I upgraded from 12.04 to 12.10 and then to 13.04 and since then I have not been able to boot because the PC goes into grub rescue with the error "File ...
stranger_anon's user avatar
6 votes
3 answers
1k views

ZFS doesn't allow me to follow kernels with updates

I installed ubuntu 20.04 sometime in june. by now I'm updated to ubuntu 20.04.1 LTS there's been a few kernel updates. end everytime I run updates Zsys tries to put new kernel version as the first ...
tatsu's user avatar
  • 3,107
6 votes
2 answers
622 views

How can I create a live USB with persistant storage that will run on a Macbook Air without using rEFIt?

Sometimes I have to use a MacBook Air (2,1) at work. I'd like to be able to have an Ubuntu USB stick with persistent storage space for it, that does not require any modification of the machine's ...
Ingolf Schaefer's user avatar
5 votes
1 answer
2k views

Installing Ubuntu-22.04.1 on HP Envy Laptop Not Working

I have an HP Envy Laptop that previously had Windows 11 on it. However, I just got a new desktop and decided to switch my laptop OS entirely to Ubuntu for work related activities. I was able to ...
TeriyakiNinja's user avatar
5 votes
0 answers
1k views

Is there a proper solution to "Keyboard and Mouse not working after boot" problem?

I recently replaced a smashed screen on a HP Spectre x360 G2, running Ubuntu 20.04LTS. However, after booting up again I had lost the use of the laptop's touchpad and keyboard (NB. devices still ...
Owen's user avatar
  • 117
5 votes
2 answers
377 views

Cannot install Ubuntu 20 on laptop with windows 10 and NVIDIA Geforce RTX 2080

I have laptop with NVidia Geforce RTX 2080 and Windows 10 installed, and I would like to install second OS, latest Ubuntu 20, but I am not able. Black Screen after launching Grub option "Ubuntu&...
sgnsajgon's user avatar
5 votes
0 answers
11k views

Ubuntu 20.04 in Hyper-V Enhanced Mode

I have a 19.10 Virtual Machine wich runs in Enhanced Mode, i.e. Full Screen, Shared Folders etc. However I have done a Quick Create of a 20.04 installation and the Gnu Grub screen does not bring up ...
Tim Burrows's user avatar
5 votes
2 answers
3k views

Error installing boot-repair on ubuntu 19.10

I am with problems on grub boot initializer. When I go install the boot-repair via live CD to Ubuntu 19.10, I am getting the follow error. ubuntu@ubuntu:~$ sudo apt install boot-repair Reading ...
Andre Leoni's user avatar
5 votes
0 answers
10k views

grub2 not detecting pci-e nvme disk (in GRUB command line) old BIOs motherboard

I have an old motherboard that doesn't support nvme boot. I've connected nvme disk using a pci-e expansion card. NVME is detected in windows and Linux when booted up from old HDD. Since my ...
emaditaj's user avatar
5 votes
1 answer
2k views

Brightness fn keys not working new HP gaming laptop

I know This has been asked to death. I have dealt with it before on other laptops. And I have tried al these combinations in /et/default/grub and run a sudo update-grub reboot, test, fail. ...
janw's user avatar
  • 546
5 votes
1 answer
299 views

Recover Ubuntu 14.04 Encrypted Install

I have an encrypted install (Full drive, not only home directory) of Ubuntu 14.04 on a 1TB SSD. I do know the passkey to unencrypt everything. It's just a matter of finding the files now. Here's what ...
J. Forest's user avatar
5 votes
0 answers
310 views

Where in the server install does it mount /cdrom?

If I try to boot the server installer iso as a CD - whether burnt directly to a CD, mounted in a virtual machine like an optical drive, or expanded onto a USB/SD - it works great. If I try to grub ...
deitch's user avatar
  • 263
5 votes
7 answers
47k views

No option to choose between Ubuntu or Windows at startup; tried many suggestions already

Yesterday I used a live cd to install Ubuntu 14.04 on a computer already loaded with Windows 8. The Ubuntu install did NOT recognize any operating system on the computer, so I chose Something else ...
aaaaaaashton's user avatar
5 votes
0 answers
2k views

Xorg can't find screens

I recently installed Ubuntu 12.10 on my laptop. It installed successfully, but whenever I boot into it, after the GRUB screen I get a text TTY. I can log in with that and enter command-line commands. ...
user129425's user avatar
5 votes
2 answers
2k views

How to recover a lost partition on Ubuntu?

I had two Linux OS installed on my machine: Backtrack 5 Gnome and Backtrack5 KDE. I updated the Gnome version and when I rebooted my Grub2 boot manager displayed a grub rescue> command line. I ...
robert finsherz's user avatar
5 votes
2 answers
16k views

hd1 cannot get C/H/S values

Ok, I know there are many questions about this topic, but I can't found a convince answer (fixing the problem or not). Recently I bought an SSD drive and installed in main SATA (hd0), I've replaced ...
Johnny Willer's user avatar
4 votes
2 answers
268 views

Change encrypted 18.04 install to dual-boot along side 22.04?

I'm trying to install Jammy in a dual-boot, side-by-side on laptops with an existing LUKS-encrypted Bionic install. (We need access to both on the same PC for development purposes, and VMs aren't ...
chris's user avatar
  • 79
4 votes
0 answers
5k views

Invalid magic number and need to load kernel

I'm new to try Ubuntu on my broken laptop to backup some files before reinstall W10. I downloaded Ubuntu 22.04 LTS through official website and used Rufus to create a bootable USB with that ISO thing ...
Anonymous Zero's user avatar
4 votes
0 answers
5k views

Set resolution 2560x1080 Wayland update 21.04

I recently updated from Ubuntu 20.04 Groovy Gorilla to Ubuntu 21.04 hirsute. With 20.04 I was able to set the custom resolution of my LG ULTRAWIDE monitor to 2560x1080 using xrandr because my session ...
G Dube's user avatar
  • 165
4 votes
0 answers
927 views

How to add bitlocker encrypted Windows 10 to grub bootloader?

Ubuntu 18.04 is installed on /dev/sdb2, grub bootloader on /dev/sdb1 and Windows 10 on a separate SSD /dev/sdc1. I tried update-grub and os-prober but grub would not find it. How can I add bitlocker ...
Anno's user avatar
  • 526
4 votes
0 answers
1k views

Start grub on external monitor (as laptop monitor unresponsive/broken)

How can I have grub start by default on an external monitor? My problem is that my laptop screen is broken/unresponsive, and I cannot see grub, as the external monitor is started only once grub has ...
Matifou's user avatar
  • 708
4 votes
0 answers
3k views

error: file ./boot' not found, after installing Ubuntu 20.04 on an external SSD

I've decided recently to install Ubuntu on an external SSD. I want to use it as a "work OS" that I could plug anywhere. After some research, I found that with usb 3.0 throughput, there are ...
Asarim's user avatar
  • 41
4 votes
0 answers
2k views

Grub Theme - how to specificy the font properly

I want to adjust a grub theme to have a truly large font (about double from what is normal). I usually work with the install.sh that comes with it and with grub-customizer. The easy part, consensus ...
Frank N's user avatar
  • 1,340
4 votes
0 answers
388 views

GRUB slow with new CPU (Intel -> AMD)

I noticed that grub was really slow after I changed PC and found this issue. It sounded like the exact same thing I had and soon we figured out that we both switched PCs and both from an Intel CPU to ...
Elias's user avatar
  • 141
4 votes
0 answers
3k views

Remove grub2 core.img (having 2) and resize /boot/efi

Some time ago I installed Ubuntu alongside Windows 10. I think I might have done some mistakes while installing Ubuntu. I fact, I had to install it twice and I might have done bad things to my ...
JacksOnF1re's user avatar
4 votes
0 answers
919 views

Logo manufacturer appears twice when booting

I got strange thing when booting with my laptop Acer Helios 300 2019: I have just installed new Ubuntu 18.04.4 LTS on a new SSD. During the process installing on the SSD, I didn't format the existing ...
Khanh Truong's user avatar
4 votes
2 answers
3k views

Problem with dual booting windows 10 and Ubuntu 16.04

A little background before I go into the main problem - I have windows installed in a 256GB nvme ssd that came with the laptop. Then I added a 2.5" SSD manually (Samsung Evo 860) for additional space ...
HariP19's user avatar
  • 41
4 votes
1 answer
2k views

18.04, grub takes about 6 minutes to boot, problem: `systemd-udevd 'SomeDevice' is taking a long time`

after a whole system update (that I try to avoid usually), I thought I was unable to boot, but this time I decided to wait more. so after exactly 6m05s (everytime is that precise delay) it finally ...
Aquarius Power's user avatar
4 votes
0 answers
3k views

Added nouveau.modeset=0 now black screen and nothing

Running Ubuntu 18.04.2. My system is crypt. I was having an issue where Ubuntu didn't seem to be waking up after screen idle timeout and lock. I would have to hard crash the system and then reboot. ...
Zelf's user avatar
  • 141
4 votes
1 answer
12k views

Installing ubuntu without graphics terminal(gfxterm)

I am trying to install ubuntu 18.04 on a Headless server machine. The server is blade which sits inside a chasis. I connect to this server via the serial port. The server does not have any VGA ...
Jonathan_M's user avatar
4 votes
0 answers
1k views

Grub only works after viewing bios first

I have my PC set to dual boot with Ubuntu 18 and Windows 10 but, when I boot my PC, grub doesn't start properly (it displays the grub command line instead of loading the options to start Ubuntu or ...
user avatar
4 votes
0 answers
564 views

How can I clone my installation to a btrfs partition and make it bootable?

I'm trying to copy all files, configuration, everything, to a new btrfs partition without reinstalling. So far, what I've tried is to go to a live cd session (which is actually booted from an iso ...
Daffy's user avatar
  • 141
4 votes
1 answer
625 views

On a UEFI install, how to do Minimal, Minimal Virtual Machine, Expert install?

On the regular server installation boot screen, one can press F4 to enable Minimal or Minimal Virtual Machine options, and there is also an Expert install option. However, on a UEFI install boot ...
theTezla's user avatar
4 votes
0 answers
2k views

Want rEFInd to boot into grub after selecting Linux from rEFInd

I saw, of course, the extensive documentation on Rod Smith's website, and understood most of it, and have searched online Set up rEFInd to boot Ubuntu directly (no Grub menu displayed) etc but can't ...
nate's user avatar
  • 151
4 votes
0 answers
2k views

Ubuntu/Win10 Dual Boot - Can't boot into Windows from GRUB

I'm running a (K)Ubuntu 17.10 and Windows 10 Dual Boot. I can boot into Windows if I choose the corresponding entry in the UEFI Boot Menu, however I can't boot Windows from GRUB. It is correctly ...
flhp's user avatar
  • 41
4 votes
0 answers
3k views

Adding a LUKS-encrypted OS to Grub?

I recently installed Debian (using an encrypted LVM) onto an NVMe drive. The /boot and EFI partitions are of course not encrypted. However, I discovered that my old, rickety motherboard I'm using ...
Cowbell's user avatar
  • 41

1
2 3 4 5
121