Questions tagged [grub]
GRUB (GRand Unified Bootloader) is a multiboot bootloader from the GNU project. This tag is for questions relating to the legacy version of GRUB. Use the GRUB2 tag for questions dealing with GRUB2, a rewritten version.
2,272
questions
1
vote
0
answers
11k
views
How to remove GRUB (and Linux) and restore Microsoft boot manager?
I have an old laptop with Windows 10 on it (it was 8 originally), and it has been through a lot with me. I want to take it through some more, and perhaps give it to a colleague of mine. It had ...
1
vote
1
answer
101
views
Script that wipes hard drive, installs Debian, and configures GRUB stuck on "GRUB" message after boot
I'm writing a script that is intended to run from a Debian-based live image. Its goal is to wipe all data off the primary hard drive, install Debian Buster (via debootstrap), and then configure GRUB ...
1
vote
0
answers
34
views
grub2 cannot detemine new created nvme1n1
I add drive nvme1n1 GPT, add the partition nvme1n1p1 (ext4)
Here some outputs:
lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
loop0 7:0 0 55.6M 1 loop /snap/core18/2667
loop1 ...
1
vote
0
answers
37
views
Scientific Linux 7.6 Grub Bootup menu not showing Windows 10 partition
Looking for some help...
I have a dual boot Dell laptop that has functioned as a dual boot in the past with same software.
I had a bug and had to reinstall all last summer, but efforts to recreate ...
1
vote
0
answers
28
views
Install a HD with Windows installed in a PC running Linux and add to GRUB
This is my question.
I bought a PC Lenovo with Windows 7 installed. After that, I upgrade to Windows 10. Finally, I removed the HD and mounted the HD of my current PC with Linux Mint. I have been ...
0
votes
0
answers
255
views
MemTest86+ fails to start after GRUB screen
I'm trying to run a memory test on Intel NUC with Celeron® N5105 CPU. The PC hardware is sound, runs mprime and linpack on Ubuntu 22.04.1 error free. Other utilities boot fine from USB drive, only ...
0
votes
1
answer
486
views
How to remove overlaid background during the "loading initial ramdisk" screen?
I am on Debian, and have set a custom grub theme, with custom background and stuff.
It works, but when Linux boots, during the "loading initial ramdisk" screen, it overlays the default ...
0
votes
0
answers
724
views
Grub does not load on boot after transfer of SSD drive to another laptop
I got two laptops of the same make and model, laptop Alpha and laptop Beta. Alpha runs a LUKS encrypted LVM of linux and is partitioned into three parts: Grub, swap, and the encrypted drive. It's been ...
0
votes
1
answer
536
views
Get device part of a file path within grub.cfg
I'm writing a custom grub.cfg for a drive that can be used in different computers.
Depending on the computer I use it in, the device identifier may be different (going from hd0, to hd1 or hd2, ...
0
votes
0
answers
108
views
Windows won't boot without linux usb( I enter grub rescue)
I tried to install parrot os on my usb. I succeded, but my laptop won't boot into windows without usb on which linux is installed. It says: unkown device:(some numbers), unkown file system. When my ...
4
votes
1
answer
3k
views
What does grub-install's --removable flag do?
GRUB2's grub-install has a --removable flag, but all the man page says is that it signifies "the installation device is removable." The documentation likewise just says "For removable ...
0
votes
0
answers
85
views
upgrading window 8.1 to windows 10 on a dual boot system will not boot windows 10
Here is the situation. I have a Toshiba laptop running Windows 8.1 and Linux Mint 21.2 Mate. Been working for years.
Window 8.1 is coming to end of life and I need to upgrade to Windows 10, to support ...
1
vote
1
answer
1k
views
Make Linux GRUB run directly multiple Windows systems
With a triple boot system on BIOS/Legacy disk, I tested a solution to avoid the Windows Boot Manager menu triggered by the Linux GRUB (see here) and make the Windows systems start directly from the ...
0
votes
0
answers
183
views
GNU/Guix USB .iso boot failure
I created a - what I believed to be - bootable GNU-Guix USB.
Selected USB as priority startup device.
I get a Grub Rescue screen.
On that screen I can ls two partitions - hd0, and hd1. I'm certain the ...
0
votes
0
answers
1k
views
Booting in WIndows 10 Installer from Grub
I have a 250GB drive on GPT. There are three partitions, boot, root,home for Ubuntu. I have recently had to add Windows 10, so I partitioned home and opened up about 60GB for Windows 10.
I did (try to ...
0
votes
1
answer
149
views
Boot-Repair aftermath
So recently I was asking a question about how to fix Grub if I'm installing Windows after Ubuntu. I found the solution and posted it in order to help others who will do the same. But now I want to ask ...
0
votes
1
answer
229
views
Gentoo kernel panic on hyper-v
I recently installed gentoo. I followed the guide for amd64 installation. I double-checked if the /boot was mounted before I installed the bootloader (GRUB). I chose the GPT+UEFI option for partition ...
0
votes
0
answers
449
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 |
|------+-------------+-...
1
vote
1
answer
2k
views
How do I remove a phantom Windows Boot Manager displayed by grub?
I have a dual-boot dual-drive Dell Optiplex 7060, with a SATA SSD and an NVME stick.
Ubuntu Linux 22.04 is installed on /dev/nvme0. Windows 11 is installed on /dev/sda. I first installed Ubuntu on the ...
0
votes
1
answer
2k
views
Move or create new EFI partition on different disk
i have a windows install on disk 1, and arch linux on disk 2,
i use the default 100 MB windows boot partition on disk 1 for both windows boot manager as well as grub to boot linux (os prober failed to ...
0
votes
1
answer
369
views
Windows 10 is listed on Grub menu, even after uninstalling Windows 10
I installed Linux on what previously was Windows partition. And everything is working fine except Windows 10 is listed on Grub Menu, even though I don't have Windows 10 anymore.
1
vote
0
answers
433
views
"cannot find EFI directory" Error while installing grub
What I Have Done?
I'm planning to replace the current default volume with a new one for some reason, so that's why I'm planning to copy data to it, set up grub, and replace the original volume with ...
0
votes
0
answers
109
views
Can't boot into Windows without GRUB
I have Windows 11 installed on my main SSD as a MBR/MSDOS Partition, as well as Linux in a secondary external hard drive as a GPT Partition. However, when I remove my external hard drive, my PC boots ...
0
votes
1
answer
3k
views
Grub: Attempt to read outside of disk
error occurred in grub how to fix and the computer not booting
I tried some solutions does not work
error: attempt to read or write outside of disk 'hd0'.
Entering rescue mode...
0
votes
1
answer
164
views
Windows inaccessible after NVMe ssd upgrade, but grub and Linux partition work fine
I have an Asus ROG Scar II Strix that had the stock 512gb NVMe ssd, which I have upgraded to a Crucial 4TB PCIe 3.0 M.2 ssd. On the original ssd, I five partitions, which I have cloned onto the new ...
1
vote
0
answers
338
views
Dual boot Linux and Windows in a laptop with a broken screen [HP]
I know there are a lot of similar questions to this one (especially related to display GRUB or the BIOS in a external monitor) but none of the given answers have solved my problem, so I thought this ...
0
votes
1
answer
4k
views
blk_update_request: I/0 error, dev fd0, sector 0 op 0x0:(READ)
I have implemented A/B partitions on a Debian system to easily be able to upgrade in case of a failed upgrade. I have both /dev/sda1 and /dev/sda2 as bootable with Debian 11 and can switch between ...
0
votes
0
answers
46
views
Dualboot: Ubuntu/Win10 - Grub can't boot Win10
I have a Windows 10 boot problem. I choose windows boot manager from grub menu. System try to fix it self and can't boot.
Ubuntu works fine. and I can see windows disk etc.
My theory is I have two ...
1
vote
1
answer
323
views
Strange behavior related to /boot, grub.cfg and multiple drives
First, I apologize if this has already been asked and answered; I was not able to find an existing answer.
I do have an x86/64 device that has two drives inside. I use dual boot for 2 linux systems.
...
0
votes
0
answers
551
views
No '/boot' and '/boot/efi' partition after successfully boot
There was two nvme SSDs on my PC: Win10 on nvme0 and Ubuntu20 on nvme1. After removing nvme0, my PC boot failed with grub command waiting. I realized that it boot from the EFI of the nvme0, now the ...
0
votes
1
answer
314
views
No kernel output after booting LFS
Whenever I tried to build LFS (Linux from scratch), I don't get any unexpected errors but however, after rebooting all I can see is just grub message from grub-mkconfig which says: Loading Linux 5.19....
1
vote
1
answer
5k
views
How to install GRUB EFI to RAID1
While configuring a new server, I try to install the Debian Linux Buster at mirrored disks /dev/sda and /dev/sdb with uEFI.
I tried various combination:
var1:
/dev/sda and /dev/sdb - > /dev/md1 (...
0
votes
1
answer
670
views
Loading encrypted Linux volume on boot
I have Windows 11 running on my Acer laptop (with UEFI). I have shrunk the partition to free up 50GB of space, prepared the USB device with Linux distribution and booted the installer. Now, on the ...
-1
votes
1
answer
54
views
I have multiple OSes on my computer, but cannot boot all of them
I have installed Windows, BlackArch, and Fedora on my 1TB HDD on my Asus Q302LA 2-in-1 laptop.
I am trying to configure GRUB to be able to include all of the OSes that are on my hard disk.
Currently, ...
0
votes
1
answer
160
views
Is it possible to "go back" to grub after booting linux
I am trying to enable secureboot so I can forget about it when switching between windows and linux through dualboot. However, grubs newer versions don't allow mods to be inserted after boot, so I need ...
1
vote
1
answer
307
views
Possible to "hide" number of available CPUs from a process?
I have a Linux binary that crashes if it sees more than n number of CPUs in the system. I can get it to run if I boot using the "maxcpus" kernel parameter and restrict the number of visible ...
0
votes
0
answers
964
views
grub2win BasicArrayRead input file open error
I am trying to make dual boot Windows 11 and Android x86 Using Advanced Android x86 Installer, This wizard use grub2win to boot Androidx86, but it seems that configuration files for boot is not ...
0
votes
1
answer
1k
views
Linux/Windows: Keyboard stopped working at boot for no reason I have to plug/unplug to have it to work
Suddenly without any reason my usb keyboard stopped working at boot. I can't use it, I have to plug/unplug to make it to work. I didn't add or change any hardware component, no update or whatever, it'...
0
votes
0
answers
700
views
grub-mkconfig generates errant grub.cfg that boots the wrong partition (UUID)
Upshot: Grub v2.06 generates a grub.cfg that boots the wrong partition
Cause: different bootable partitions were assigned the same root=UUID in grub.cfg in the "linux" boot specification. ...
2
votes
1
answer
854
views
GRUB is undetected as a boot loader by BIOS
I have two SSDs in my system, I will call them s1 and s2.
I had a Linux system (Linux mint) installed on s1, and the disk manager showed me that s2 is occupied by a partition.
I wanted to use the ...
3
votes
1
answer
7k
views
How to remove GRUB from Windows laptop (MS Surface Pro 3) - the 4x BootRec commands did not work
I have Windows 11 running on my MS SP3 laptop. I had Ubuntu also installed, but removed the partitions for it. The laptops DOES still boot, but I have to type "exit" at the GRUB screen - how ...
0
votes
0
answers
309
views
Grub doesn't show up after windows restart but it does after ubuntu restart
I have dual boot with Ubuntu 22.04 and Windows 10.
When I try to restart in Ubuntu grub shows up just fine but when I restart in Windows 10 I get a black screen and nothing boots up.
I need to then ...
-1
votes
1
answer
931
views
Laptop Windows bootloader missing after Kali Linux install
I installed Linux Mint on my Laptop which then installed Grub. With Windows and Linux Mint installed, I could choose which one I want to boot using Grub.
Then I installed Kali Linux, a new Grub and ...
2
votes
1
answer
1k
views
Stuck in emergency mode (Ubuntu) after Windows 10 reinstall
After reinstalling Windows 10, I am now unable to boot into Ubuntu 22.04.
The message displayed right after the boot failure is the following:
Right afterwards, I entered maintenance mode and typed ...
0
votes
1
answer
468
views
where to get a uefi shell/bootloader executable
I have a laptop [hp elitebook 8440p] formally running slax, hoping to run alpine.
I'm in a situation where I don't have my USBoot key [recovery flash stick] only a fat32 8GB flash storage and a stock ...
0
votes
1
answer
1k
views
error: file '/grub/i386-pc/normal.mod' not found
I get this error after installing opensuse 15.2 on a Dell Latitude E5410 (~year 2011), where the hard drive was replaced.
I tried default as well as manual setups and partitions.
I tried suggestions ...
1
vote
1
answer
2k
views
GRUB shows menu for Ubuntu 20.04 but not for Pop!_OS 22.04
I decided to switch to Pop!_OS 22.04 from Ubuntu 20.04, while I'm mentally preparing to switch to Devuan in the future. The GRUB is configurable from Ubuntu as expected, but when I do exactly the same ...
1
vote
1
answer
206
views
Grub latching-entry / booting Windows directly with Grub
I have a rather complicated setup. On my PC I have a combination of 2 Linux Distros as well as 2 Windows Installs. I use this to split the different things I do to different versions of OS such that I ...
0
votes
0
answers
33
views
Any Windows bootable media won't boot after fixing GRUB2
Recently, I accidentally deleted EFI and Windows partition. Then, I tried fixing the GRUB first on a Ubuntu bootable media (it booted fine). After that, I made Windows bootable using Rufus. But, the ...
0
votes
0
answers
399
views
in Ubuntu how to add netboot.xyz to GRUB boot options?
how is one supposed to add netboot.xyz to grub boot options? right now i just do
sudo apt -y install ipxe;
sudo wget 'https://boot.netboot.xyz/ipxe/netboot.xyz.lkrn' -O /boot/ipxe.lkrn;
sudo wget '...