Questions tagged [grub2]

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

525 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
6
votes
0answers
2k 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 ...
5
votes
0answers
2k 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 ...
5
votes
0answers
479 views

Kexec back to Grub2

I have an application where I need to boot to Linux with grub, execute automated scripts and then automatically boot to Windows. Can I use Kexec to run grub2 with a command line like: insmod ...
5
votes
0answers
2k 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 ...
5
votes
1answer
1k 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 ...
5
votes
0answers
4k 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 ...
5
votes
0answers
5k 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 ...
4
votes
0answers
168 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 ...
4
votes
0answers
136 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 ...
4
votes
0answers
1k 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 ...
4
votes
0answers
2k 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 ...
4
votes
0answers
1k 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 ...
4
votes
1answer
3k 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 ...
4
votes
1answer
1k 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/...
4
votes
2answers
3k 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: ...
4
votes
0answers
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 ...
4
votes
0answers
980 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 ...
3
votes
1answer
201 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 ...
3
votes
0answers
57 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 ...
3
votes
0answers
857 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, ...
3
votes
0answers
304 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 ...
3
votes
0answers
921 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 ...
3
votes
0answers
99 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 ...
3
votes
0answers
58 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 ...
3
votes
0answers
720 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. ...
3
votes
0answers
6k 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 ...
3
votes
1answer
3k 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 ...
3
votes
0answers
828 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 ...
3
votes
0answers
449 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 ...
3
votes
1answer
567 views

Preinstalled windows 8.1 not booting after installing Linux mint 17.1

I have pre-installed windows 8.1 on my machine and its a uefi enabled machine. I installed linux mint 17.1 on this by the side of windows 8.1. As I was unaware about the approach to install linux ...
3
votes
0answers
257 views

Boot GRUB2 with Degraded RAID5

I am building a custom NAS with Debian Jessie. Has three 4TB hard drives in a software RAID5 configuration. Works perfectly when all three drives are present. I am trying to test what happens when if ...
3
votes
1answer
16k views

Recover from emergency mode on Centos 7

I have a Dell PowerEdge R420 which has installed Centos 7 and was working fine. One day I removed the disks that Centos 7 was installed (2 disks with RAID-1 layout) and I installed another clean disk ...
3
votes
1answer
101 views

How to restore RAID5 Array

I have a RAID5 array consisting of 3 identical 2TB drives. Suddenly GRUB wouldn't boot anymore and gave the error out of disk. Eventually booted a livecd and ran some mdadm commands: mdadm --examine ...
3
votes
1answer
917 views

Generating grub.cfg without Linux installed

My dual boot machine went haywire yesterday, and seriously corrupted the Linux partition. Among the corrupted files were: The entire /boot directory Quite a few stuff in /bin "No problem", I thought ...
3
votes
2answers
5k views

Dual booting Debian and Windows 8?

My problem is a little weird (maybe to me only). Specification: Lenovo, Ideapad Z510. i7 intel core. 1920x1080. ISO: GNOME Debian 7.2.0 amd64. Bootable Device: Universal USB Installer. ---Process ...
3
votes
0answers
907 views

Can't install any version of Linux

So I was trying to install #! (Crunchbang) and downloaded the 64 bit version and tried installing it. Everything would work until it was time to install grub. The grub installation would fail every ...
3
votes
0answers
2k views

Windows 7 to Debian Linux: install without CD/DVD or USB drive or net during install

Installed : Windows 7 home premium. Now want Debian Linux. Tried a couple of things (see question below). Got installer menu using win32-loader.exe of Debian from the goodbye-ms site. But I have a ...
3
votes
1answer
1k views

How to customize logout options under Kubuntu

I'm running a machine with Kubuntu and Windows XP in dual-boot. I recently learned about the very useful grub-reboot command, and id like to know if it is possible to customize the logout options (...
3
votes
1answer
587 views

GRUB error Fedora 15 when Dual Booting on MacBook Pro

I am having trouble getting Fedora 15 running on my MacBook Pro. I had Fedora 15 installed before on this MBP before, so I know it works. I basically followed the good old instructions of Create a ...
3
votes
1answer
1k views

How to configure GRUB to load Windows 7 Install in UEFI mode

I have a Dual-Boot USB I created with Multisystem for booting into PartedMagic, Ubuntu 11.10 & Windows 7 Install. Problem is Windows 7 says it can't install on a GPT partition. Googled, and found ...
2
votes
0answers
187 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 ...
2
votes
0answers
37 views

Cannot start Ubuntu 11.10: Kernel too old

I have a dual boot with Ubuntu 11.10 and Ubuntu 20.04.I cannot start Ubuntu 11.10 from GRUB. I get the messages: error: kernel too old error: you need to load the kernel first What can I do?
2
votes
0answers
24 views

Linux Multiboot with custom grub.conf, unable to boot to OS created on partitions

I have a disk partition as below for multiboot, with custom grub and used GRUB version 0.97(rhel6.10) for grub embeded to boot for correct OS. when i install OS at grub menu i am observing file ...
2
votes
0answers
99 views

Use ISO9660 USB for booting

I'm trying to boot from a USB drive that has an ISO file dd'd onto it with dd if=file.iso of=/dev/sdb. The ISO file was created using grub2-mkrescue, and it boots about half the time if I specify root=...
2
votes
1answer
418 views

Booting mfsBSD via PXE with UEFI

I'm trying to boot mfsBSD ISO via PXE on a host with UEFI boot enabled. It was a pretty simple task with BIOS boot, the ipxe config for this task looked like this: kernel --name freebsd http://pxe....
2
votes
0answers
182 views

Grub2 zfs how to boot

Can someone point me which are the commands from grub to boot Ubuntu zfs 19? Making an update-grub I just have the windows boot and noot the ubuntu anymore.
2
votes
1answer
328 views

Executing grub-install failed on Linux Mint 19.2, can't install rEFInd

I am attempting to install Linux Mint 19.2 onto a MacBook Pro from 2011. There is currently no operating system on the MacBook only the boot from the live USB, as when I first attempted to install ...
2
votes
0answers
345 views

Keep getting this error message trying to customize grub?

I am trying to change my grub theme using grub customizer and using the theme Vimix and i keep getting this error. Note i have changed the image to a bitmap and i keep getting the same error except it ...
2
votes
1answer
262 views

Why does grub keep defaulting to the rescue option?

After upgrading Fedora from 29 to 30, I noticed upon bootup that grub kept selection the old 4.x kernel. No problem. I used package-cleanup to remove all but the latest two kernels. But now grub ...
2
votes
1answer
197 views

enabling check_signatures in GRUB

I'm trying to create a new image of GRUB which has an embedded public key file to validate all files loaded by GRUB. So I used the command grub-mkimage to manually create a new GRUB core image. grub-...

1
2 3 4 5
11