Questions tagged [grub2]

GRUB2 is the second revision of the GRand Unified Bootloader, with versions numbered 1.9x and 2.yz.

671 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
15 votes
1 answer
3k views

How to exit from videotest in the grub?

I am checking different video resolutions in the grub menu by using videotest and vbetest programs and can't go back to the grub command line, after using this programs. System doesn't respond - like ...
MiniMax's user avatar
  • 4,123
7 votes
1 answer
3k views

Grub won't boot from GPT RAID (gave up waiting for root device)

I'm having problems with booting a Debian 8 system on which I migrated the root partition from a single hard drive to a RAID1 (mdraid). On every boot, I get the following grub error: Gave up waiting ...
Ansgar's user avatar
  • 200
7 votes
0 answers
3k views

Setting the EFI Framebuffer's Resolution during boot

I've got a MSI WD-60 laptop running Gentoo. It has one of those 3840x2160 screens so I've had to setup Gnome/Firefox/IntellJ to double their DPI for anything to be readable. It all works fine except ...
djsumdog's user avatar
  • 820
6 votes
0 answers
2k views

hwinfo --framebuffer shows nothing, can't change grub resolution

I am using a Lenovo Yoga C940 15" with Fedora 34. It has a 4K screen with an nvidia gtx1650 mobile card and integrated intel graphics. I wanted to change the resolution of the GRUB menu because ...
Nicholas Stommel's user avatar
6 votes
0 answers
3k views

Grub 2 does not access /dev/mmcblk0p1, the SD Card

I am running Ubuntu 16.04 (64 bit Desktop) and would like to have one of the boot partitions to be on the SD Card, which is formatted as ext4, and is /dev/mmcblk0p1. Grub boots from the hard drive and ...
GaryH.'s user avatar
  • 83
6 votes
0 answers
3k views

How to use Dvorak keyboard layout in GRUB2 LUKS passphrase prompt?

I've tried to piece together how to do this from various sources. First approach, based on 1 and 2: $ grep ^HOOKS /etc/mkinitcpio.conf HOOKS="base udev autodetect modconf block lvm2 keyboard keymap ...
l0b0's user avatar
  • 51.1k
5 votes
0 answers
4k views

Grub not trying to unlock LUKS partition

I have Ubuntu 18.04 with full disk encryption with two partitions: EFI ESP and LUKS1 encrypted root partition (no separate /boot). After installing grub and rebooting, it just shows normal grub > ...
Hasumashi's user avatar
5 votes
1 answer
1k views

Chainloading an efi file sitting in.an ISO

I have an iso file on disc I want to boot. It contains an efi file in it. I can mount it as loopback, but I get an error saying 'invalid root' when I try chainloading. I've tried setting root to loop ...
saga's user avatar
  • 1,401
5 votes
0 answers
3k views

Password for full disk encryption not accepted on boot

I'm dual booting Windows 10 and Ubuntu 16.04. My Ubuntu partition is encrypted, and I have a separate boot partition. A Windows update wiped out GRUB, so I used boot-repair to reinstall it. I got a ...
reogrape's user avatar
5 votes
0 answers
2k views

Allowing GRUB to access network in BIOS mode

I want grub to fetch some configuration via tftp/http. Using efi I can do insmod efinet and net_ls_cards will list my network cards which I can configure and use. Using PXE in BIOS/legacy mode ...
michas's user avatar
  • 21.5k
5 votes
0 answers
5k views

Grub2 can't detect Windows 10, Dual boot on two harddrive, UEFI/GPT system

I have two ssd which there is Windows 10 on the /dev/sda1 and OpenSuse on /dev/sda3 (/dev/sda2 is for a storage hdd). I have been installed Ubuntu on my /dev/sda3 couple months ago. But because of ...
cavitsinadogru's user avatar
5 votes
0 answers
6k views

Grub rescue after corrupted hard-drive ("read-only filesystem")

I run xubuntu 12.04 alongside a NTFS storage partition and a windows 8 partition. I moved my MySQL data directory off the xubuntu (ext4) partition, onto the NTFS partition, and did an import of a ...
szxk's user avatar
  • 201
4 votes
1 answer
2k views

grub command after fresh install of 20.04 focal alongside Win10 on NVMe drive

I have a Windows 10 install on an NVMe drive. I've installed Ubuntu 20.04 and all installed smoothly, until the first boot. I was greeted with a grub prompt. grub> After searching the forums and ...
user641699's user avatar
4 votes
0 answers
349 views

What could cause an ata4.00 error even without any harddrive when installing Debian 9.9 from a live USB?

I have a problem installing (running) Debian9.9 on my system. First my setup: ADATA M2 256G - The destination drive WDC Blue 2T - Data disk Samsung EVO 120G - Windows 10 drive USB SanDisk 16G ...
Maik Laschober's user avatar
4 votes
0 answers
1k views

Changing GRUB_COLOR_NORMAL has no effect

I decommented and edited the two lines in /etc/default/grub which are relative to the colors, as follows GRUB_COLOR_NORMAL="green/black" GRUB_COLOR_HIGHLIGHT="light-green/green" then I've run sudo ...
Enlico's user avatar
  • 1,525
4 votes
0 answers
3k views

Single-user mode output to console (tty1) AND serial (ttyS0)

I am using grub2 on CentOS 7. I would like to know if it's possible to display output to both serial (ttyS0) and console (tty1) when I attempt to boot into single user mode. The ultimate goal is to ...
harperville's user avatar
4 votes
0 answers
2k views

Force Arch boot to specific GPU

Arch Linux - kernel 4.13.12-1 (x64) Bootloader - Grub 2 Window Manager: I3-wm. Gpus: AMD 570 (Passthrough), 1080Ti(Passthrough), 1050TI (Host) Misc: Dual-Monitor I have three GPUs in my machine, ...
thewooster's user avatar
4 votes
0 answers
4k views

how to add a custom GRUB2 menuentry to a submenu?

My GRUB2 initial boot screen was like LMDE 2 Cinnamon 64-bit Advanced options for LMDE 2 Cinnamon 64-bit Windows Recovery Environment (loader) (on /dev/sda1) Windows 7 (loader) (on /dev/sda2) Note ...
TomRoche's user avatar
  • 1,275
4 votes
0 answers
164 views

How to quit GRUB2 pager early?

Somehow the GRUB2 pager scrolls only about one line per 2 seconds, so it takes absolutely forever to boot after enabling the pager and debug messages. Is there any way to quit this pager when it's at ...
l0b0's user avatar
  • 51.1k
4 votes
0 answers
319 views

Does GRUB2 support multi-line textual descriptions?

In SYSLINUX, one can provide a multi-line description for a menu entry like so: LABEL foo MENU LABEL Foobar the system TEXT HELP This is a long-form description about how you really shouldn't do ...
Charles Duffy's user avatar
4 votes
2 answers
5k views

Cannot boot into Linux off live USB

I am trying to dual boot Linux on my laptop (Dell XPS 15) which is running Windows 10 Pro. I did not have any problem dual booting the two operating systems on my desktop. I cannot boot up ANY Linux ...
Sylvoo's user avatar
  • 161
4 votes
3 answers
20k views

How to install Kali linux on to a specific (existing) partition on a USB stick

I'm endeavoring to put Kali linux onto a USB stick - I know it's already written up, but I'd like to use only a portion of the total space (the aforementioned link will use the entire drive space). ...
user3.1415927's user avatar
4 votes
1 answer
2k views

GRUB 2 scripting: convert device name in GRUB notation into a Linux device name

I'm trying to use partition labels (or UUIDs, that does not matter) to select root partition without use of an initrd/initramfs. With initramfs, this is fairly easy: root=LABEL=... or root=/dev/disk/...
intelfx's user avatar
  • 5,333
4 votes
3 answers
4k views

Grub 2 os prober for windows 8

I'm trying to dual boot with fedora 20 and windows 8. I install first windows and then fedora. And grub detects windows automatically. So the default \etc\grub.d\30_os-prober for windows is this: ...
Sir l33tname's user avatar
4 votes
0 answers
1k views

How to properly configure GRUB settings from KDE System Settings

I'm using Kubuntu 12.04 with KDE 4.10, and I recently installed the kde-config-grub2 that places a nice Grub configuration panel into KDE System Settings. I played around a bit, more for learning how ...
Sekhemty's user avatar
  • 844
4 votes
0 answers
1k views

getting the message "out of partition" after installing GRUB 2. What is happening?

I recently moved a partition with a complete Linux install except /home to a new disk (with DD). Everything went fine, I can mount the partition, browse it... perfect. Next step: install GRUB to ...
Guerrio's user avatar
  • 101
4 votes
1 answer
3k views

how to use grub-uboot

On an ARM-based device, I'd like to chain-load uboot->GRUB->Linux I see there is a Debian package that seems to be made for that, however I can't find no documentation whatsoever how to use it (ie. ...
Udo G's user avatar
  • 1,123
3 votes
0 answers
61 views

How to boot Windows UEFI from Debian legacy Grub with two SSD drives?

I am using Debian 12, and I am trying to add a new line in the grub menu. This PC has two SSD drives, the first one has Windows 10 and the second one has Debian 12. How can I boot Windows from the ...
mabvmex's user avatar
  • 61
3 votes
3 answers
6k views

GRUB command line. Have to boot manually

Somehow my grub got corrupted while updating my Pop!_OS System. I rewrote the partition, grub-install, boot-repair, I tried anything. Well, I can boot by typing the following lines. set prefix=(hd1,...
Ven's user avatar
  • 31
3 votes
2 answers
3k views

move boot partition of proxmox (or debian) to USB flash, installed on two NVME disks in zfs-raid-1 on a non-bootable legacy bios

I am trying to setup proxmox on Dell r720xd, which does have UEFI boot option but can not boot from PCIe nvme drives. If I install proxmox (or any os) on a usb flash, it boots fine. For testing, I ...
nexlin's user avatar
  • 31
3 votes
0 answers
1k views

grub2-install error - disk not found

I've a CentOS 7 server that isn't booting anymore, ends in grub rescue with following error: error: disk `mduuid/7d1ea14d586da4ea38a163ecc38fa93f' not found. I've booted into systemrescue ISO, mounted ...
wildowl's user avatar
  • 31
3 votes
0 answers
338 views

Booting from ISO suddenly stopped working

(Linux Mint 19.3 XFCE w/BTRFS; ISOs are on an EXT4 partition) I'm trying to get my system to boot from ISO images. I added the following entries to /etc/grub.d/40_custom: submenu "System ...
ajgringo619's user avatar
  • 3,236
3 votes
0 answers
2k views

Unable boot into Linux after BIOS update (dual boot machine)

My notebook has dual boot setup using UEFI mode. Windows 10 (installed by default) and Linux Mint 19.3. It was running ok until a new BIOS update made by Lenovo Vantage. After updating BIOS in Windows ...
geofausto's user avatar
  • 131
3 votes
1 answer
6k views

How to fix/reinstall grub from debian media, e.g. rescue mode?

How can one invoke grub-install from the debian netinst image? Or, does one need the live cd. (Situation: two disks: one degraded btrfs raid 1, another a blank disk I can install a new OS on, but ...
ninjagecko's user avatar
3 votes
0 answers
571 views

How grub tells kernel where to find initramfs?

In grub there is the following line which loads the initramfs file into memory: initrd16 /<initramfs_file>.img But how actually does kernel knows that its init is in that image ? Is it some ...
ransh's user avatar
  • 1,397
3 votes
0 answers
336 views

Grub unresponsive with high resolution

I am running grub (version 2.02) with a resolution of 2560x1440. Although this resolution is the preferred mode according to the videoinfo command, grub happens to be incredibly unresponsive/laggy in ...
foobar's user avatar
  • 171
3 votes
1 answer
3k views

How to install Grub on SD card?

I want to install grub on SD card because my laptop don't boot from external sata port. I've the SSD connected to the laptop through the external port sata to make it easier for me to boot the ...
crossmax's user avatar
  • 199
3 votes
2 answers
2k views

How to replace Ubuntu with Arch on a dual boot?

I want to replace Ubuntu Linux on my current set up. Currently I have a dual boot with Ubuntu Mate and Windows 10. I would like replace the Ubuntu installation with Arch. But before I do so I was ...
A.Dumas's user avatar
  • 425
3 votes
0 answers
356 views

How to get Windows on grub menu? Using two HDDs; Windows bootloader on first

Here is some background. I had a 1TB HDD with Windows inside it. Partitions something like this: I bought an another hard drive of 2TB and wanted to dedicate 1TB to Windows and another to Linux. Here ...
Santosh Kumar's user avatar
3 votes
0 answers
2k views

Reduce brightness in Grub

I have a laptop whose buggy BIOS can't set display panel brightness to a previous lower value during POST. Every time the laptop boots , the POST screen is 100% bright. I can refresh the brightness ...
Bharat G's user avatar
  • 516
3 votes
0 answers
169 views

Can I use Grub on USB2.0 drive to boot a non-bootable USB 3.1 drive?

I've got a USB 3.1 (ASM1142) card that I'd like to boot from. The card doesn't supporting booting, on its own, but I'm wondering if I could boot Grub2 from a USB 2.0 device and 'hand off' booting of ...
John's user avatar
  • 131
3 votes
1 answer
4k views

grub-install on hybrid mbr disk

I followed the very detailed guide for making hybrid MBR record (GPT/MBR) taken from here Now, gdisk says I have hybrid mbr. But I can only boot in UEFI and cannot do that in BIOS (I use external ...
Grief's user avatar
  • 243
3 votes
5 answers
3k views

Centos 7 and Windows 10 Dual Boot Grub Not Saving Last Choice

I have a dual boot system with CentOS 7 and Win10. My install was totally vanilla (CentOS then Win10) and went fine. Everything is great except that grub does not appear to save my "last" choice ...
Tim's user avatar
  • 153
3 votes
0 answers
251 views

Is there a way to edit the title of GNU GRUB2 itself (not a title of a menu entry)?

I'm interested in knowing if there's a way to edit the GRUB2 boot menu to display a banner at the top. We have several machines that boot from SAN. I'm doing migrations and our SAN team ...
Matthew Burdine's user avatar
3 votes
0 answers
470 views

How to set persistent low brightness in grub2 menu?

I have a Samsung laptop with ivy bridge Intel processor and Intel HD graphics. The brightness is controlled by /sys/class/backlight/intel_backlight/brightness which accepts values from 0 to 4882. The ...
Bharat G's user avatar
  • 516
3 votes
0 answers
772 views

grub2-mkconfig doesn't show Windows

After recently having installed Fedora on the same HDD as Windows, Boot manager no longer shows up in Grub2. When trying to repair what I've done by running grub2-mkconfig, it doesn't find Windows. ...
V.Vocor's user avatar
  • 177
3 votes
0 answers
8k views

Sign GRUB2 bootloader to enable UEFI secure boot

Following preliminaries: Linux 4.2.3-gentoo GRUB2 UEFI, Secure Boot off Now, I want to mess with the secure boot so I'm able to turn it on. More or less following this guide, I have: backed up the ...
hoefling's user avatar
  • 896
3 votes
1 answer
4k views

How to make grub-mkconfig work on a usb device?

AFAIK grub-mkconfig and grub-update/update-grub commands only run on the device that they are installed on. I want to run the commands on a usb drive, but I don't know how to install them on the usb ...
Registered User's user avatar
3 votes
0 answers
916 views

Dual Boot Configuration with SSD and HDD

I'm very new to Linux. I have been using Windows/Mac during my whole life, but now I have decided to use Linux. So I'm trying to configure a dual boot system with Windows 10 and CentOS 7. I already ...
Cyberikia's user avatar
3 votes
0 answers
604 views

How to get the values for "set root" in menuentry while setting password for GRUB2 on CentOS 7

I need to disable single user mode on my servers running CentOS 7. I read the RedHat documentation on what goes to /etc/grub.d/40_custom and how to encrypt the password and all but one details makes ...
Bart C's user avatar
  • 175

1
2 3 4 5
14