Questions tagged [grub2]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
25 views

How to make a common /boot partition for multiple linux distros?

I'm trying to multiboot windows along with two linux distros namely Parrot OS Electro Ara and Ubuntu 20.04 and grub and bootloader was initially installed by Parrot OS. So to not interfere that I ...
1 vote
0 answers
42 views

Updated GRUB on Arch linux, tried fix but GRUB gives error: Symbol grub_debug_malloc not found

I posted this same post on r/archlinux but have not gotten much results. I updated Arch Linux (vanilla), but now GRUB boots into firmware. (I am sure a lot of you guys have known this issue, and I did ...
0 votes
0 answers
21 views

where is grub configured in ubuntu 10.04?

I have an old Ubuntu computer coming in later today, and I suspect that I have to change some parameters of the grub configuration. I'm not sure if it is grub or grub2. I have a VM of the system, but ...
  • 3,055
2 votes
1 answer
55 views

Preventing boot prompting twice for encryption passphrase on Debian based OS

A friend of mine has Debian without systemd running on a disk with full disk encryption (including /boot on the same partition as / using LVM). She is prompted twice for the encryption password when ...
0 votes
0 answers
9 views

Booting from different LVM snapshots

1 I am setting up a system for testing software installations automatically. For that, I created an LVM snapshot of a fresh Debian installation. In this snapshot, I want to automatically install, ...
0 votes
1 answer
13 views

No Internet after grub update. Firmware problem?

I have a problem and I hope someone can help me. I installed Debian 11 with a UEIFI installation. During the installation I had to provide the firmware for a Realtek network card. After I booted into ...
0 votes
1 answer
11 views

How to Repair Grub in a Cloud VM (Azure)

I ran into some troubles doing do-release-upgrade and it killed my grub boot. Because I couldn't find the steps on how to fix this online I'll answer with my own notes below.
  • 5,033
1 vote
2 answers
30 views

Keyboard too sensitive in GRUB because of high framerate (Mint 20.2)

[This is a repost from Ubuntu Ask, as as I'm actually on Linux Mint 20.2 and therefore this question belongs in this site] I've had a dual boot on two hard drives with Windows 10 and Linux Mint for ...
  • 11
0 votes
1 answer
61 views

Failed to boot after installing dracut on Ubuntu 22.04 with zfs file system

I installed (sudo apt install dracut, did not change any configuration files) dracut on my Ubuntu 22.04 and rebooted. Now I get the message dracut: FATAL: Don't know hot to handle 'root=ZFS=rpool/ROOT/...
0 votes
0 answers
15 views

My linux wont boot due to a partition number change

everyone! My macbook is running OSX and manjaro and they work just fine. just a few days ago, i updated my OSX to big sur, i guess it screwed my partition numbers around, then when i try to boot ...
  • 1
1 vote
1 answer
31 views

Can no longer boot into windows after installing fedora

I finally decided I would dual boot my windows 11 machine with Linux. I shrunk my windows partition, installed fedora, and it is working great. The problem is that I cannot get back to windows as it ...
0 votes
0 answers
26 views

Can I boot a LiveOS which stored on disk and install itself to disk with '--format' option?

I made a LiveOS(live.iso) by livemedia-creator and put it in /dev/sda1. I modified grub.cfg, added a new entry and successfully boot into this LiveOS. Now I want to install this LiveOS to the disk /...
0 votes
0 answers
22 views

How to regain lost windows boot loader?

I reinstalled Fedora on my PC. When it launched, I noticed it doesn't have a windows 10 entry in grub. Now, after a bit of research, I believe I had deleted my windows boot loader (partition) because ...
  • 1
0 votes
0 answers
47 views

Booting problem with tpm

I have a problem booting my fedora 36 (in version 35 the same thing happens to me and I have tried to reinstall from 0 with the same result). When I boot the grub I get this error. error ..... tpm.c:...
0 votes
2 answers
134 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,...
  • 1
2 votes
0 answers
406 views

Grub error occured?

I just upgraded my parrot OS using the command line. And when I restarted the pc this error occurred : Symbol ‘grub disk native sectors’ not found. I have tried set command to solve this issue but ...
0 votes
0 answers
11 views

How should I save grub new setting in recovery mode?

had 2 Linux distros on my machine(oldest: mint mate 20.3 and the newest Debian 11) I formatted the Debian partition in Mint when I reboot the machine Debian I see grub CLI and can't make permanent ...
0 votes
1 answer
149 views

GRUB2: error: disk `(hd0,)' not found

I had almost finished Linux From Scratch ; However, when I tried to started the new LFS system. GRUB couldn't launch the system: error: disk `(hd0,)' not found. Then I used grub> ls Output: (hd0) ...
's user avatar
0 votes
1 answer
93 views

Windows not showing up in boot menu, Debian

I primarily run MX Linux and occasionally need to boot into Windows. Today, I tried but windows was missing from grub. I installed os-prober and confirmed that etc/default/grub showed ...
  • 3
0 votes
1 answer
30 views

How can I make grub changes permanent?

I removed a drive a few weeks ago and as part of the process I freed up a number of partitions on my OS drive. Whenever my machine starts I'm taken to the grub recovery. I am able to make it into my ...
0 votes
0 answers
33 views

Can't get GRUB to work after adding PopOS to system with OpenSUSE

I was running OpenSUSE as a single boot on my laptop. For some work reasons I installed PopOS 22.04 and it booted straight to it. So I tried to setup GRUB for more comfort (as expected, I can manually ...
0 votes
1 answer
53 views

Added isolcpus to Grub, restarted but cat /proc/cmdline doesn't show it added

I've added isolcpus to the Grub file: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash isolcpus=2,3" Restarted machine (Ubuntu 22.04) However, when I run: cat /proc/cmdline it doesn't show my ...
0 votes
1 answer
129 views

GRUB2 Multi-Linux Dual Boot (Secure Boot & shimx64.efi)

I am attempting to create an ultimate USB Stick that will contain 2 Linux Distros, Windows and a Plethora of ISOs. So far I have installed Windows, Ubuntu and Fedora Silverblue to a disk (I've been ...
0 votes
1 answer
1k views

Change grub options on Fedora 36

I'm trying to modify GRUB such that it only shows Fedora 36 Windows 11 with Fedora being the default after a 10-second timeout that is shown. I have removed the only other Fedora kernel, but I still ...
  • 101
0 votes
0 answers
43 views

Resizing and moving win 10 partitions to a debian box

Context: After replacing a win 10 hdd with an ssd that runs debian 11, how can the partitions from the hdd be copied over to the ssd so that win 10 is bootable? # lsblk NAME MAJ:MIN RM SIZE ...
  • 925
0 votes
0 answers
20 views

Configure grub $prefix to use LVM volume name or ID?

On Fedora (36), The grub config on the EFI volume at /EFI/fedora/grub.cfg contains: search --no-floppy --fs-uuid --set=dev 5e6ed90f-c004-4f9d-8d41-9b39c2c10ffd set prefix=($dev)/boot/grub2 export $...
  • 68.3k
0 votes
1 answer
112 views

Boot into Xen on debian11 (initrd trouble)

Linux xd 5.10.0-16-amd64 #1 SMP Debian 5.10.127-1 (2022-06-30) x86_64 GNU/Linux Edit 2022-07-20 This issue has had comes and goes, at the moment, I am having a lot of trouble when Xen boot lands on ...
0 votes
0 answers
31 views

How to use bash command substitution in grub for clonezilla postrun?

I am in the process of configuring unattended backup with grub and Clonezilla Live image. Auto-mounting the image target dir works, and so does the backup itself. But with ocs_postrun, I would like to ...
  • 1
0 votes
0 answers
46 views

Not being able to create as root

$ sudo touch /sys/fs/cgroup/memory/baloo/memory.limit_in_bytes touch: cannot touch '/sys/fs/cgroup/memory/baloo/memory.limit_in_bytes': Permission denied $ mount | grep cgroup cgroup2 on /sys/fs/...
  • 83
0 votes
2 answers
70 views

grub-mkimage - cannot open `/srv/tftp/boot/grub/x86_64-efi/core.efi.mod; how to resolve?

I am trying to build a new bootloader, regrettably without knowing too much about the subject. I'm following the instructions in Problems booting installer to UEFI system via PXE. I first run: grub-...
  • 421
0 votes
0 answers
26 views

Add Windows to GRUB

I have fedora. I got my efi windows partition mounted on "/boot/windows_efi" Here is the screenshot. Bios now recognizes this partition, and allows me to boot into windows, but not the grub. ...
  • 13
0 votes
1 answer
23 views

What does the command `set root =` in Grub2?

Could someone explain why we should use in Grub2 the command set root= ?
  • 31
0 votes
1 answer
45 views

PXE and GRUB - how to troubleshoot?

I'm working on setting up netboot, and got it working with one motherboard, but it doesn't quite seem to work with another; and I don't see enough output to figure out why. So, the setup on the 'PXE ...
  • 421
0 votes
1 answer
90 views

How to restore from grub my fedora boot?

I changed tomorrowto my old hdd to save some old files. After I installed again the new disk I cannot boot anymore in fedora and I see only the grub command display. Now I have only my phone so I ...
  • 31
0 votes
0 answers
46 views

How to chainload VeraCrypt DcsBoot.efi for grub entry?

i have installed Windows 10 with VeraCrypt, then Debian 11 with dm-crypt. Now VeraCrypt loader should be present in grub. Have looked for hours but didnt found a working solution. grub Entry is as ...
  • 1
0 votes
1 answer
93 views

How to get back my windows and windows loader?

I installed a Linux (Fedora) as second OS. I did like that so many times but with other distros. After installing I tried to boot in my first OS (Windows 11), but in a grub I didn't see her. I tried ...
0 votes
1 answer
207 views

How to run custom kernel and initrd in UEFI?

I have a dev machine with BIOS and after compiling my kernel and initrd, I'm able to use it with a simple menuentry: menuentry "mlinux" { linux /boot/mlinuz quiet initrd /boot/...
  • 279
0 votes
0 answers
48 views

Make os-prober only scan specific drives

On my computer, I have two drives: /dev/sda /dev/sdb I want to make it so that os-prober will only scan /dev/sdb and NOT /dev/sda. How could I make it do that? My bootloader is grub.
0 votes
1 answer
116 views

How to delete all partitions without using an operating system

How to delete all partitions from my system using only the GNU Grub Terminal and BIOS
0 votes
2 answers
111 views

Boot loop device as root file system

I created an ext4-filesystem on a loop device with all necessary files to boot with, e.g.: /bin /boot /dev /lib /mnt /etc ... Now I want to boot from the loop device as an image (let's say ...
0 votes
0 answers
199 views

System fails to boot new kernel after CentOS 9 Stream migration

I have performed a migration from CentOS 8 Stream to Centos 9 Stream on a VPS server of mine with directions I found on Github which have worked, except grub still boots the old kernel from when the ...
  • 1,820
0 votes
1 answer
173 views

Which Process Throws Error "StartImage failed: Load Error"?

I'm debugging a failed installation of systemd-boot on a multiboot Linux system (multiple instances of Ubuntu 20.04 & 22.04 in discrete partitions). Sadly, the only consequence of bootctl install ...
  • 211
2 votes
2 answers
874 views

Trying to boot linux from live usb for the first time, stuck on GRUB command line

I'm trying to install openSUSE Tumbleweed to replace Windows 11 on my machine. I've created a live USB stick containing openSUSE Tumbleweed, and set it as the first and only boot option in the UEFI. ...
  • 41
0 votes
0 answers
246 views

Change resolution of grub2

I have a 4k high-DPI laptop screen and I would like to scale or change its resolution so that the text isn't tiny. I have tried setting the GRUB_GFXMODE variable to "1920x1200", "...
  • 165
0 votes
0 answers
15 views

Linux Peppermint isn't booting in Dual boot

I have Windows installed in UEFI and later Linux Peppermint installed in legacy then both were booting with windows in UEFI and Linux in legacy. Later I have installed Windows in UEFI and Linux ...
0 votes
0 answers
143 views

Using GRUB on an EFI machine to boot Windows 10 originally installed on a BIOS machine

I'm working on an EFI machine, and have a hard drive taken from a BIOS machine with Windows 10 on it. I'd like to use GRUB to boot that BIOS install of Windows but I can't seem to get it to work. os-...
0 votes
2 answers
102 views

After cloning OS, GRUB always boots from the source sda1 partition even when another partition is selected for booting

I have a laptop that should be running two Debian 9's, one Debian 11 and one Windows 10 from two disks, one hard disk drive, /sda/, and a new solid state drive, /nvme0n1/. I used gparted to clone and ...
0 votes
0 answers
39 views

Update-grub only work in sda1

Introduction I have 3 linux distribution: 1. Ubuntu (22.04) on /dev/sda1 2. Ubuntu (22.04) on /dev/sda5 3. Manjaro (22.04) on /dev/sda9 Question When I try to run update-grub from except /dev/sda1 ...
2 votes
1 answer
191 views

Two SSD, Two Linux Distro - Which grub is showing the grub menu during boot?

I have two seperate Linux distro in two SSD. Zorin (/dev/sda) Linux Mint (/dev/sde) First I installed Zorin then Linux Mint. I ran bootinfoscript. Here is the gist of the result. Boot ...
  • 1,642
0 votes
0 answers
228 views

How to repair grub installation on Kali Linux

Hello i tried dual booting kali linux with ubuntu but this installation overwite my grub file I tried fixing grub using this and booting from live cd using this forum guide repair grub I ran the ...
  • 43

1
2 3 4 5
33