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
15 views

dual booting xubuntu 22.04 and ubuntu 22.04, ubuntu showing up as windows

I have two hard drives on my laptop - 1 TB HDD and 128 GB SSD - originally I had ubuntu 22.04 on the HDD and Windows 10 on the SSD and dual booted them - when I started my computer I had a choice in ...
0 votes
0 answers
25 views

Laptop gets hot when in GRUB menu

I have Dell XPS 9575 2-in-1 and it gets quite hot with fans working intensively. My laptop gets very hot and loud when: during boot menu (GRUB) I leave GRUB menu opened for 5+ minutes -- happens ...
  • 109
0 votes
0 answers
14 views

GRUB2 serial console issues on NVMe-based pc

I want to interact with GRUB through a usb-to-serial converter. I was able to achieve this on my laptop by using this list of commands in grub's cli: insmod nativedisk #to not loose drive information ...
  • 101
0 votes
0 answers
16 views

upgrade grub 0.97 to grub2 in opensuse 11.3

I want to update grub on my opensuse 11.3 machine from 0.97 to grub2 this is how it looks like when i invoke grub-install can anyone help me out here on how to upgrade to grub2 vm@machine:/usr/sbin# ...
0 votes
2 answers
33 views

Unable to mount /boot/efi and Grub menu not updated

I discovered after updating and rebooting a centos system that it still shows an old grub menu and the new kernel(s) are not there. After bootup the links from /etc/grub2.cnf were broken. I recreated ...
0 votes
1 answer
47 views

Unable to boot into windows from GRUB menu (disk 'hd1,gpt1' not found)

I dual booted Windows and Fedora KDE spin. When starting the system, if I select Windows Boot Manager, the following error prints error: ../../grub-core/commands/search.c:315:no such device: 7E79-F46D....
  • 1
0 votes
1 answer
73 views

Parrot OS installer error "Command 'grub-install --target=i386-pc --recheck --force /dev/sdb' returned non-zero exit status 1"

I encountered some errors when installing the Parrot sec OS 5.2. This is the error message provided by the installer: My computer supports UEFI mode and BIOS mode, and I have tried to use Rufus and ...
0 votes
1 answer
46 views

grub does not recognise specially-formatted ext4 partition

As the title states, grub is unable to recognise my ext4 partition: GNU GRUB version 2.06-3~deb11u5 Minimal BASH-like line editing is supported. For the first word, TAB ...
2 votes
1 answer
57 views

Create custom bootable linux image; not a livecd

So I've compiled my kernel and initrd. How can I then create an image and install grub to actually load this image from a disk? My goal isn't to create a livecd out of it that is bootable from USB, as ...
0 votes
0 answers
39 views

kernel panic not syncing unknownblock (0,0) for Mint & Kali after installing Linux Mint

This is what my disk looks like right now : I have installed Windows 11 on the PC. I then decided to install Kali Linux to learn cybersecurity (please don't tell me "if you're asking this ...
0 votes
2 answers
98 views

Grub can't add entry for windows on another hard drive (dual boot)

Recently, I've installed Linux (MintOS) on my ssd drive. Also I have Windows 10 on my hdd drive. Windows was installed before linux. The problem is that grub loader don't see windows loader and I can'...
  • 1
0 votes
1 answer
24 views

Is there a way to get the computer (or hard drive) product name in grub 2.0?

I've tried cpuid among other things, but I can't seem to get the computer model. For example, the output I'm looking for would be something like: grub> computermodel HP Notebook 2016 Thanks.
1 vote
1 answer
82 views

Grub always shows command line, can't fix it

After using timeshift to restore a previous snapshot, the grub now boots into command line. If I type the following commands I can get back to Ubuntu (KDE neon): > set prefix=(hd0,gpt1)/efi/grub (...
  • 111
1 vote
1 answer
185 views

Fedora 37 reboot after update - Grub Out of Range Pointer and not able to rescue boot w/ USB

After a regular Fedora 37 update last evening, I rebooted my home server (actually a Fedora Workstation 37 but with lots of extras). I went to log in this morning remotely and ... no connection. Upon ...
  • 11
-1 votes
1 answer
37 views

How can I append to a file in grub 2.06?

I'm building a simple operating system (github.com/aarikpokras/aarikos). I searched the entire internet and I can't seem to find a single effective method to append to a file! For some reason, when I ...
0 votes
0 answers
65 views

GRUB starts in command line/terminal mode

I tried everything already, including all the solutions from this post (which present exactly the problem I'm facing) : GRUB starts in command line after reboot I also reinstalled everything, and ran ...
  • 1
2 votes
2 answers
186 views

How to know if computer uses GRUB or systemd-boot through SSH? (I have both /boot/grub and /boot/efi/EFI/systemd folders)

Without having access to the physical display, how can I know if my computer is being booted by grub or systemd-boot? As I have writted on the tittle I have both /boot/grub/ and /boot/efi/EFI/systemd/ ...
  • 218
0 votes
0 answers
15 views

GRUB2 chain-loading automatically discovered operating systems?

I have a very edge-case problem I'm trying to solve, and to get a full picture, I think it's best if I begin with the problem itself. My NAS (a QNAP TS-h973AX) comes with a subpar OS that I wish to ...
  • 365
0 votes
0 answers
17 views

Unable to load LVM module

I am using RHEL 8, it was installed with Server with GUI, I need to change it to CLI (minimal) only so what I did from SSH session I ran following commands yum group install "Minimal" -y ...
  • 303
0 votes
0 answers
70 views

Dual-Boot Kali Linux and Fedora Workstation 37 Grub Menu Problem

I have Kali Linux and Fedora Workstation 37 installed on my machine, and I have been mostly using Fedora. I had customized the grub menu for Fedora (Kali grub boot loader was inactive), but after ...
0 votes
0 answers
52 views

After rd.break RHEL 9 goes to maintenance mode

Yesterday I had a certification exam to RHEL9 and I had to recover the root password. I did this procedure hundred times succesfully with the same version but yesterday, after I put rd.break at the ...
  • 1
0 votes
1 answer
50 views

How to integrate C program to minimal os using busybox

I am building minimal operating system using busybox. So I want to add my program in my operating system, so I can boot that program from BIOS. So how can I integrate aleast "Hello World" ...
-1 votes
1 answer
14 views

how to boot openIndiana with grub

I have grub controlled by debian But I installed open-indiana in a partition sda10 What do I have to include in grub 40.custom that open-indiana boots ; partition table is msdos
1 vote
1 answer
51 views

Does "TUNED_BOOT_CMDLINE" /etc/tuned/bootcmdline overwrite BOOT_IMAGE of /proc/cmdline?

TuneD tool provides an option to configure kernel command line via TUNED_BOOT_CMDLINE variable of the /etc/tuned/bootcmdline, which is not done directly but via setting a desired TuneD performance ...
  • 13
0 votes
0 answers
13 views

Disabling touchscreen before Tails boots

The touchscreen in my Lenovo Ideapad is broken so when Tails boots it's unusable, it keeps opening different programs, minimizing and maximizing windows and so on. I tried hard to get to the settings ...
  • 1
0 votes
1 answer
88 views

Is the /boot/grub2/grub.cfg file relevant on Rocky Linux using EFI?

On all my system (efi and classic) I usually use grub-mkconfig -o /boot/grub2/grub.cfg on Rocky Linux 8 I see on efi the grub.cfg is located on /boot/efi/EFI/rocky/grub.cfg Is the file /boot/grub2/...
  • 11.7k
0 votes
0 answers
27 views

confirmation message after `linux` and `initrd` commands in Grub

While reading tutorials on booting Linux I have seen in some screenshots that when people execute something like linux vmlinuz Grub will print something like: loaded kernel 123456 bytes But for me ...
  • 194
0 votes
2 answers
437 views

Grub repair: what comes first grub2-mkconfig or grub2-install?

I'm on Fedora 37. I deleted my grub.cfg file and when I re-booted my laptop, I booted into the grub boot prompt. I was able to repair my system and reboot. I regenerated the grub.cfg file and re-...
0 votes
1 answer
34 views

Dual boot "stealth" mode?

Whenever I've installed Linux on a Windows laptop as dual-boot, i.e. where upon boot the user is prompted with which OS to boot, there's always a boot menu, where you can choose between Windows, Linux,...
  • 153
0 votes
1 answer
117 views

update-grub ignoring GRUB_GFXMODE only

I uncommented /etc/default/grub and changed to following: GRUB_GFXMODE=2560x1440x32 Then, ran sudo update-grub without issues. Now, the /boot/grub/grub.cfg still contains: ... if loadfont $font ; ...
0 votes
0 answers
302 views

Grub loads unsigned kernel with secure boot enabled

I am currently dual booting Gentoo and Windows (on two different disks). I boot on the linux drive with grub2, where I can choose either Gentoo or Windows (added by os-prober). Recently, I updated ...
  • 1
1 vote
3 answers
178 views

host pc won't boot after dual boot on external ssd

i'm new and not very expert to coding but i'll try to explain me the best way. I have a pc with windows installed by default, but to work at the university i had to install a linux distribution and i ...
0 votes
0 answers
26 views

Debian runs only under root without xorg

Nothing foretold any trouble, but my system completely crashed after formatting a neighboring partition (with Windows) and installing new Windows on it. The main things I did were Formatted the ...
0 votes
0 answers
147 views

How to change GRUB2's keyboard layout on a laptop?

This question has often been asked, and all the answers I could find involve setting GRUB_TERMINAL_INPUT=at_keyboard in /etc/default/grub (see for example https://askubuntu.com/questions/751259/how-to-...
  • 1,279
0 votes
0 answers
35 views

I have a linux installation on an external drive. How can I plug it into a desktop and have it boot?

Hardware: Laptop [ Daily driver ] Desktop [ Server - Normally has Windows installed ] USB Thumb Drive [ Linux Installation Medium ] External Drive [ Linux Installation Destination ] Situation: ...
1 vote
1 answer
104 views

GRUB does not want to boot from my USB stick's second partition. How to fix?

I have a 64 GB USB stick with four partitions: FAT for data transfer with Windows Linux bootable Encrypted Linux partition Linux partition The booting from the bootable partition worked fine on most ...
0 votes
1 answer
33 views

Full disk encryption stopped to boot a few days after adding a second disk

Recently I added a new disk to my computer. I had a free SATA slot, so nothing else changed. A few days after the disk was inserted the computer stopped to boot. I use Debian Bookworm. I have an ...
0 votes
2 answers
93 views

I can't reset my password

I can't reset my password. I am on grub 2.06 and trying to reset password on Linux Mint 21 / Xfce. But it keeps telling me authentication token manipulation error.
  • 1
0 votes
0 answers
86 views

openSUSE installation on root partition encrypted with adiantum cipher

I’m trying to install openSUSE Tumbleweed on my Raspberry Pi 4, using SD card encryption. That would normally be a trivial task but using regular AES cipher for RPi4 is not recommended as explained ...
0 votes
0 answers
224 views

grub2 issues with RHEL/CentOS 8.7 installed on GPT disks and Legacy BIOS

I am trying to install CentOS 8.7 (I understand it's been EOL'd, I've also tried it with AlmaLinux) on two 4TB disks where /boot partition is an mdadm RAID1 partition and all the other partitions (/, /...
0 votes
0 answers
322 views

GRUB boots into command line, boot-repair not fixing issue

I have a dual boot system with Pop OS 20.04 and Windows 11 on the same 500GB SSD. I installed GRUB to make this work instead of using systemd bootloader, and everything worked smoothly for over a year,...
  • 1
0 votes
1 answer
169 views

grub-install does not create EFI binary with correct modules

I'm trying to set up full-disk encryption on a KDE Neon system (by, of course, following the Arch Wiki guides on the subject). Some relevant information about the setup: The system has two top-level ...
  • 103
0 votes
0 answers
28 views

Set block device order at boot

I got a dm-crypt -> lvm partition containing /usr, /home etc. While root is on a unencrypted partition. I just reinstalled root and thought i'd setup crypttab and fstab manually to point correctly. ...
  • 21
0 votes
0 answers
153 views

How to install Grub2 on a newly created GPT partition?

I have an Ubuntu system, installed on a wired, (legacy BIOS bootable) USB HDD, that I would like to convert to UEFI boot. I was trying to follow this: https://gist.github.com/cjyar/...
0 votes
0 answers
246 views

GRUB2 - Booting ISO from USB-Drive gives ERROR - KDE neon, ArchLinux, Windows 10 - MuliBoot

I am trying to set up a multiboot ISO USB-Drive and I get error messages when I start the ISO file. As I see it, the loopback device is executed properly, otherwise no iso would start. However, the ...
  • 45
0 votes
1 answer
71 views

GNU GRUB - Is there any negative in using a grub text-only mode to boot into Ubuntu/Mint?

Is "text" (GRUB_GFXPAYLOAD_LINUX=text) an acceptable long-term grub setting? Can it be presumed that the "GUI" (Mint Cinnamon X server etc) will faithfully take over to normal ...
  • 101
0 votes
0 answers
69 views

GRUB2 - Windows 10 installer error, multiboot USB

I am trying to install a USB memory stick as a (grub2) multiboot and am having trouble booting the Windows installer. Arch Linux doesn't work either, only with KDE neon everything works. I would ...
  • 45
0 votes
0 answers
340 views

How to install grub when / is encrypted (luks) and /boot is not encrypted

I have the following partitioning: |------+-------------+-----------+------+-------+----------------| | Name | Mount point | Flag | Size | FS | Comment | |------+-------------+-...
0 votes
0 answers
259 views

Installing Linux Mint on an external drive (bootloader location etc.)

So I'm a bit anxious how to proceed, I don't want to cause any system issues, it doesn't help that after creating bootable USB and pre-partitioning SSD I saw ''Configuration changed - Restart the ...
  • 1
0 votes
0 answers
210 views

Why does GRUB fail to auto-boot when no keyboard is connected?

Question: Why does GRUB fail to auto-boot when no keyboard is connected? Background: I've been running a Debian bullseye for over a year now, and GRUB has always worked as intended - upon boot, it ...
  • 101

1
2 3 4 5
34