Questions tagged [grub]
Console application permitting the user to choose between several installed operating systems.
363
questions
2
votes
3
answers
2k
views
Debian software RAID1 is not working when I remove hard drive
I have been trying all weekend to get RAID working on an old server computer with the Intel ICH7 / ICH7-R SATA-II controller running dual hard-drive with RAID 1.
After giving up in hardware raid, I ...
0
votes
1
answer
5k
views
Debian Stuck at Booting from Hard Disk after installation on KVM
I'm trying to install Debian on Qemu-KVM on RouterOS v5.25
I tried :
debian-10.8.0-i386-netinst.iso
debian-8.11.0-i386-kde-CD-1.iso
debian-live-9.0.0-i386-gnome.iso
on disk image created using : qemu-...
-1
votes
0
answers
49
views
How do I get myself out of docker hijacked network situation on my Debian VM?
I ran into a problem with wg-easy docker in trying to set up Wireguard using docker on my Debian VM so I changed network_mode to host as a last resort without learning about the consequences... The ...
48
votes
4
answers
80k
views
How do I tell if grub is installed on a device?
How can I tell if grub is installed on a disk, and if it is what settings it has (noteably, what it has for the root parameter)
I need to check a lot of disks in software RAID1 arrays to make sure ...
5
votes
1
answer
12k
views
mount: mounting /dev on /root/dev failed: No such file or directory after converting lxc to virtual machine
I've been trying to convert an lxc container to a virtual machine, but I've encountered a problem when trying to boot. I end up with the (initramfs) command line and I've got the following errors:
...
1
vote
1
answer
537
views
RHEL + how to prevent OS disk - sda to change after reboot
We installed RHEL 7.9 version on physical machine., when sda device was the OS.
The machine has the following disks.
sda - OS disk
sdb - data disk
sdc - data disk
After reboot OS disk device changed ...
0
votes
1
answer
161
views
Debian 11 fails to update grub configuration
I have the following error when I run an update script with ansible:
Generating grub configuration file ...", "Found linux image:
/boot/vmlinuz-5.10.0-26-amd64", "Found initrd ...
0
votes
0
answers
82
views
When running `grub-install /dev/sdb` I get the error: ls: /dev/sdb/proc: Not a directory
I'm running the Debian 12 bookworm installer (debian-12.4.0-amd64-netinst.iso) and trying to install with GRUB and MBR because the UEFI support from my motherboard seems to be limited (I couldn't make ...
2
votes
1
answer
254
views
GRUB fails to start kernel after net_dhcp
I originally ran into this problem trying to redeploy a machine using MAAS, but I can reproduce it just with the already-installed OS and GRUB, with Ubuntu 20.04. The machine is set up for UEFI boot.
...
0
votes
1
answer
277
views
Grub2 Error grub-boot-success.service: Main process exited, code=exited, status=1/FAILURE
I'm running a VPS with Alma Linux 8.8.0 with WHM/cPanel and 60 or so users, multiple websites etc.
I'm regularly seeing these in the server 'messages' log:
Nov 16 11:39:01 ark grub2-set-bootflag[...
0
votes
0
answers
145
views
/grub/i386-pc/normal.mod not found with special condition
I updated my ubuntu server from 18.04 to 20.04 and reboot. after reboot I fall in grub rescue. in the (hd0,gpt2) there are some directories include grub. in grub there is i386-pc and in the i386-pc ...
13
votes
3
answers
3k
views
Finding how a Linux system was booted
I have a remote server, running Linux 5.19.0-41-generic x86_64, I am trying to find out how it was booted.
Apparently, it does not use systemd :
PID 1 process is bash.
ps -p 1 -o comm=
bash
...
0
votes
1
answer
341
views
pbkdf2 password on grub doesn't work on my Ubuntu 22.04 Vm
I installed a Ubuntu 22.04.3 LTS on a VirtualBox VM. After install process, I configured pbkdf2 as explained here https://help.ubuntu.com/community/Grub2/Passwords. I also verified grub.cfg after I ...
0
votes
0
answers
153
views
grub-efi-amd64 on ovh serwer
This is ovh server.
root@ns302572:/home/saltworks/panel.saltworks# sudo apt-get install libvirt-daemon
result
Reading package lists... Done
Building dependency tree
Reading ...
1
vote
0
answers
220
views
How can linux system boot/reboot without bootloader installed?
Today I saw that grub is missing on my system (how that happened is another question). Checked with apt/dpkg: no grub* package installed, also no lilo or systemd-boot package installed.
Also was ...
0
votes
0
answers
37
views
dualboot win11 + linux = BlInitalizeLibrary Failed 0xc00000bb
Recently I wipe macbook pro disk (intel cpu) and installed win11. windows works without problems. The problem born when I installed on same disk linux debian with grub. Debian works but when I select ...
0
votes
0
answers
18
views
not possible run windows from other this after install grub
I have this disks
sudo fdisk -l
[sudo] password for grek:
Disk /dev/loop0: 91.69 MiB, 96141312 bytes, 187776 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / ...
-1
votes
1
answer
65
views
How to install grub to a CD-RW? [closed]
My very old server only has BIOS, no UEFI, and the boot order routine aborts booting when it encounters a drive larger than 2TB. The boot order is: CDs, HDDs, USBs, network. I cannot change the boot ...
1
vote
0
answers
56
views
how and when did my graphic card, drivers, monitor and xserver negotiate a proper resolution? Is there a way to get the supported list from devices?
I was trying to figure out how KDE or GNOME decides which resolution could be supported by the monitor and graphic card connected.
I have 2 senario about this question, I will try to explain the ...
0
votes
1
answer
977
views
migrate root partition to another partiton
I have remote server with ubuntu 20.04
I can't use livecd or VM console
I want to migrate my root partiton from /dev/sda2 to /dev/sda5
my disk configuration is:
root@app-server:~$ lsblk
NAME MAJ:MIN ...
0
votes
0
answers
590
views
Cannot boot on Arch Linux after modifying kernel parameters with GRUB
Looking for a way to set my backlights on my laptop running Arch Linux (and Windows on a dual boot), I edited the /etc/default/grub file to change a kernel parameter. Here is what I changed:
# before ...
0
votes
1
answer
1k
views
Repair GRUB bootloader
I had Xubuntu installed on my laptop on hard disk drive /dev/sda on partition /dev/sda1.
Something bad happened and when I restarted my laptop, a black screen appeared with
"kernel panic" ...
2
votes
1
answer
5k
views
Ubuntu 18.04 "grub-install: error: cannot find EFI directory"
I have this issue on multiple Ubuntu 18.04 (Bionic Beaver) servers.
During a regular apt update && apt upgrade, I get this error:
Setting up grub-efi-amd64-signed (1.167~18.04.1+2.04-1ubuntu44)...
1
vote
0
answers
214
views
NVMe drive disappears after kernel panic
I'm working on imaging a Dell OptiPlex Micro 3000 device with Linux (custom Yocto-based OS). Grub version 2.04. I'm using an A/B partitioning scheme and trying to get the fallback to function properly ...
0
votes
1
answer
188
views
grub error after kernel update with active root LVM snapshot
The situation:
debian 11 with LVM and / is a logical volume: /dev/mainvg/lv-root
created a snapshot of the root partition by doing lvcreate -L5G -n bkp_lvroot -s /dev/mainvg/lvroot
Now I updated the ...
1
vote
3
answers
1k
views
Grub CLI Arrow Keys Don't Work With IPMI SOL
When I am using the Grub CLI via IPMI sol I am unable to use the arrow keys, as well as some keys such as delete. What happens when I press the Left key I get random 'D' characters appearing, even ...
2
votes
1
answer
2k
views
grub on debian wheezy doesn't recognise mdraid
We're having a really strange problem when trying to boot from an mdraid on Debian Wheezy. All references online that I can find tell me that grub 1.99 (which is part of Debian Wheezy) should have no ...
0
votes
2
answers
3k
views
install grub in a usb and boot proxmox from another drive
Good morning my friends!
I'm tryng a solution before buy some new hardware.
So this is my situation:
I have some beautifull hp dl360p gen8 that comes with an p420i hardware raid controller.
What ...
1
vote
0
answers
1k
views
Ubuntu 22.04.1 LTS (Jammy Jellyfish) Hangs On Reboot (sometimes)
I have an Intel NUC NUC8I7HNK which I have installed Ubuntu on. If I reboot the system and then reboot it again everything is fine. Reboots without problem.
However, if I let the system sit for a ...
0
votes
0
answers
157
views
Debian Software Raid1 boot failure after trying to change one disk
I have a server running Debian 11 with 3 HDDs, each 500gb using software RAID1.
I'm now in the process of upgrading so I have 2x1TB drives. To accomplish this I followed this guide.
The disk I removed ...
0
votes
1
answer
2k
views
Configure GRUB on XEN VPS
I have a xen VPS with debian 7 x86_64 installed on it. The operating system comes with GRUB2 installed on it. The problem is that while runnnig
apt-get update
apt-get upgrade -y
GRUB says The GRUB ...
4
votes
1
answer
2k
views
Error 5 partition table invalid or corrupt
I'm trying to add a second SSD to a Centos 6 system. But I get the Error 5 partition table invalid or corrupt at boot.
The system already has a single SSD (sdb) and a pair of HDDs (sd{a,c}) in a ...
0
votes
1
answer
3k
views
Ubuntu / GRUB reboot loop
I had to shutdown a server due to a power outage... The machine's been working just fine, an Ubuntu 12.04 box. Now when I boot back up, I get the GRUB 1.99 boot menu with several options, all of which ...
0
votes
1
answer
963
views
Fedora 31 Grub2 configuration change isn't being applied
I've changed GRUB_TIMEOUT=-1 in my /etc/default/grub because I want the grub boot loader to wait forever for me to choose my operating system.
Most of the internet says to run update-grub after ...
1
vote
0
answers
307
views
grub2 font advice doesn't work
I'm running Fedora 31 on a Lenovo T470p, with GNU GRUB version 2.03 platform x86_64-efi .
I wish to have a far larger font.
As many, many suggestions on the internet advise:
1] I've added the ...
1
vote
1
answer
2k
views
dracut: Switching root
After my hosting company did some changes (no technical description for them) I got the following boot error for my CentOS:
What I must do to get my servers up! I tried to ask for support at the ...
1
vote
0
answers
1k
views
Grub error with tpm module in Fedora
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:...
1
vote
1
answer
3k
views
'Could not find filesystem /dev/root' after Clonezilla clone of redhat install to newer hardware'
I am cloning what appears to be a redhat 4 (possibly 5?)server to fairly newer hardware, as the original has a failing board. DBA would rather not reconfigure a new installation so they want me to ...
0
votes
0
answers
902
views
Volume group "luks" not found
OS: Parrot OS
VM: Qemu
Filesystem: Btrfs
This is caused due to an improper reboot before full apt upgrade.
After the reboot and entering in the Luks partition password. It successfully decrypts and ...
0
votes
1
answer
2k
views
Blank screen after grub menu
I just rebooted an Ubuntu Server 10.04. After choosing boot options in the grub menu, though, it just displays a black screen with the blinking white underscore in the upper-left corner.
The machine ...
1
vote
3
answers
1k
views
Reducing Amazon EBS Root Volume Size on Amazon Linux 1
I have been trying to reduce the size of my Amazon Linux 1 AMI root volume using the procedure in this documentation (with some modifications made after failing to do so) and continuously run into ...
2
votes
2
answers
1k
views
Grub incorrectly escapes $ character in its settings
Not sure where I make mistake but I can't escape $ correctly in /etc/default/grub. I'm on Ubuntu MATE 18.04. This is what I do:
In console I edit confid by calling
sudo mcedit /etc/default/grub
I ...
1
vote
1
answer
2k
views
How to recover from the GRUB losing its entries and faced with only "grub> _" at boot?
I performed a system upgrade from CentOS 7 to AlmaLinux 8 rather successfully (as noted here). During the process something strange happened and GRUB lost its boot entries entirely and my limited ...
0
votes
1
answer
333
views
Ubuntu ZFS install hangs before reaching grub menu
After upgrading some packages and restarting, I can no longer reach the grub menu. My system hangs at the motherboard logo and provides no other output.
I can boot to an Ubuntu Installer USB, and I ...
1
vote
0
answers
936
views
Rescue mode with grub and chroot /mnt/sysimage after a VMWare conversion
EDIT: After some more snooping I saw this:
https://virtualkryptonite.blogspot.com/2017/07/vmware-converter-p2v-partition-number.html
(not sure what VG means in the post) but this is essentially what ...
1
vote
3
answers
12k
views
Compiling linux kernel - `make install` asks for LILO. Now what?
So I am following this guide to compile my custom kernel - http://library.linode.com/linode-platform/custom-instances/pv-grub-custom-compiled-kernel#sph_compile-and-install-the-kernel
So far so good, ...
0
votes
1
answer
2k
views
How to make grub for fully portable linux on usb thumbdrive without writing entry to systems EFI?
I've installed Debian Bullseye on a usb thumbdrive. When I plug the thumbdrive notebook bootet from it, because there was an entry in UEFI "debian".
After removing it with sudo efibootmgr -b ...
0
votes
0
answers
195
views
Cannot reinstall grub on newly created boot partitiion
12. Reinstall grub on the newly boot partition:
# grub-install --recheck /dev/xvdg
# sed -i 's/sdg/xvdg/g' /boot/grub/device.map
# grub-install /dev/xvdg
Running first line gives:
Probing devices to ...
3
votes
3
answers
4k
views
Multiple boot options (in grub boot list) appeared after yum update
I am quite new to Linux administration so I am having trouble understanding yum update and grub boot list.
I recently did a yum update on an old CentOS machine. Everything is good except there is ...
1
vote
0
answers
170
views
Converting sgdisk to sfdisk for old machine with MBR
I want to put ZFS on an old machine, however it apparently fails to boot with GPT.
So I wanted to convert this script, mainly these 3 lines to sfdisk, which uses MBR.
https://github.com/terem42/zfs-...