Questions tagged [grub]
Console application permitting the user to choose between several installed operating systems.
353
questions
1
vote
0
answers
22
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
0
answers
241
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
75
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 ...
1
vote
0
answers
73
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
98
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 ...
0
votes
0
answers
67
views
how to enable virsh console a ubuntu domain
Environment description:
host:
libvirtd (libvirt) 6.0.0
os version: 20.04.2 LTS (Focal Fossa)
guest:
os version: 20.04.2 LTS (Focal Fossa)
Problem description:
I tried to follow https://wiki.libvirt....
0
votes
0
answers
37
views
Possible to correct the alignment of partition without data loss?
Somehow I managed to install a server with misaligned partitions.
fdisk says:
Device Boot Start End Sectors Size Id Type
/dev/xvda1 2 2095151103 2095149056 999G 83 ...
2
votes
1
answer
106
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.
...
1
vote
0
answers
724
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
29
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
0
answers
31
views
Cannot boot VM on VirtualBox imported from oracle cloud instance: Command Error Status: Unsupported
I followed the steps to connect my oracle cloud account to VirtualBox and I managed to trigger the import to one of my instances based on ubuntu 22.04 aarch64.
The import is successful. However when I ...
1
vote
0
answers
194
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 ...
0
votes
1
answer
470
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
949
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:...
0
votes
0
answers
653
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 ...
1
vote
1
answer
762
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
225
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
568
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
589
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 ...
0
votes
1
answer
1k
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
117
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 ...
1
vote
0
answers
86
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-...
2
votes
2
answers
132
views
Frozen boot due to slow disk/controller
Im running ubuntu 20.04 on dell r740xd, One of the disk controller seem to present the disk(multipath disks used for openzfs pool) slow while the server is booting. If the server is boot from '...
1
vote
1
answer
472
views
Issue with customizing kernel cmdline option in Ubuntu 20.04.3
Im trying to add rootdelay=60 option in grub cmdline options by editing file /etc/default/grub as
GRUB_CMDLINE_LINUX_DEFAULT="rootdelay=300" and also ran
update-grub
update-initramfs -u
...
0
votes
2
answers
808
views
Tell Linux/GRUB to start iPXE on next boot?
I've just discovered the wonder that is iPXE.
Im running various versions of Debian on many different computers, and would like to remotely tell them to reboot into iPXE, and have iPXE automatically ...
0
votes
0
answers
39
views
Split initrd into smaller files
I would like to know if it's possible to have a split initrd implementation. Our reason for doing this, is the fact that our Fedora based application uses a stripped version of Fedora underneath with ...
0
votes
1
answer
1k
views
Issues with Ubuntu not booting on HPE Proliant ML30 Gen9
One of the server machines we use for database backup procedures is having issues and I ran out of ideas. At some point, it froze completely, and so it was forcefully rebooted. After that, the machine ...
0
votes
1
answer
913
views
ESXi installation PXE boot with GRUB on BIOS (not EFI)
all documents mention syslinux/pxelinux as a way to pxeboot ESXi installation, but I'd like to stay with GRUB 2. How to do that?
I'm able, of course, to load GRUB 2 via network (i386-pc/core.0 for non-...
1
vote
1
answer
1k
views
Upgrading to debian 11 (from debian 10) not add the kernel in /boot/ (Dedibox Server)
I have make upgrade on my server and reboot the server to use the last kernel, but after reboot, the server just use the old kernel (4.19.0-16-amd64).
In /boot/, I just seen files for kernel 4.19.0-16-...
0
votes
1
answer
2k
views
Boot to GRUB by default (choose OS to boot every time) [closed]
I know what key to press to boot to GRUB. But, I don't want to press any key.
I want to load the GRUB menu as my default and choose the OS each time I boot. In other words, I do not want to ...
0
votes
0
answers
86
views
How to avoid password change when boot GRUB in debian 10 system?
Per this post,I know it's easy to change password when boot GRUB.
When I read set debian grub password ,I run command as below:
cat << EOF >> /boot/grub/menu.lst
timeout 3
password hackme
...
1
vote
1
answer
4k
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)...
0
votes
1
answer
29
views
How to replace system information in grub
I cloned my disk with zabbix server running on centos 8 and program used for cloning broke grub.
Both disks cannot start, now on cloned disk I installed fresh system without removing old data ( I had ...
0
votes
1
answer
3k
views
HPE ProLiant gen 10 in legacy boot mode does not see hard drives in boot order section
I have HPE ProLiant gen 10 server with 8 drives. If I use legacy boot mode, but there is nothing in legacy boot order setting. And server tries to boot just from the ethernet.
I have installed grub on ...
1
vote
0
answers
254
views
Apache2 stopped working after upgrade to v2.4 ((38)Function not implemented: AH00141)
I was happily running apache2 and mysql on a Ubuntu 16.04 server with no problems, but yesterday I noticed that there were a bunch of updates available and I installed them using apt-get.
One of the ...
0
votes
1
answer
3k
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
vote
0
answers
706
views
Grub2-install: warning: Couldn't find physical volume in Centos 7
After replacing the disk with raid 1, I have this problem:
grub2-install --recheck /dev/nvme0n1
Installing for i386-pc platform.
grub2-install: warning: Couldn't find physical volume `(null)'. Some ...
1
vote
1
answer
425
views
What is the difference between "Kernel messages" and "Messages from the init system and the system logger"
In this blog, it gives a Recommended serial kernel parameters, PCs with video card.
console=tty0 console=ttyS0,9600n8
It says Kernel messages will appear on both the first virtual terminal and the ...
0
votes
1
answer
2k
views
Alpine setup on virtual machine UEFI does not boot
I am trying to setup Alpine linux on a VM (Proxmox) to replicate the layout of physical hardware (raspberry pi).
The real layout is a raspberry pi 3, installed as "data" mode (based on wiki) ...
1
vote
0
answers
1k
views
How to boot ZFS root filesystem after setting dnodesize = auto (making grub unable to read the disks)
I have a proxmox (v5.4 I think) installation on top of ZFS in a server with 6 disks. There are 2 pools: rpool in a mirror of two SSDs that has the proxmox root filesystem and some containers and zvols....
0
votes
1
answer
315
views
Centos8: VM broken after moving from VMware ESXi to HyperV [closed]
I have moved Centos8 VM from ESXi to the HyperV 2019 core (hdd only)
It seems the disks or partitions IDs are broken so it's not staring up properly using default/first Grub menu option.
But it runs ...
0
votes
1
answer
822
views
Post kernel update: Only OVH's rescue kernel works - but why doesn't mine?
I just went through upgrading from Debian 9 to Debian 10 and I am having a weird issue. Probably not too weird to people that do more intensive sysadmin things, which is why I bring it here:
During ...
0
votes
0
answers
214
views
GRUB2 theme looks broken after update (2.02->2.04)
Coming from Grub 2.02, and upgrading to 2.04, adding it to our TFTP server for PXE booting; I built the new grub2 image as in:
/tmp/rebuild_grub/bin/grub2-mkimage -c ./grub-embedded.cfg -p '(tftp)/...
0
votes
0
answers
68
views
Detect different keys on GRUB2 menu
I have a GRUB configuration that looks like the following, where I would like to detect different key inputs so I can act accordingly, but this does not work by default:
echo ""
echo -n &...
0
votes
1
answer
402
views
Issues Booting Ubuntu 18.04 LTS (Server) after cloning from another drive
I have an Ubuntu server running 18.04 LTS. Not long ago, I had to clone the drive of this server to another machine to make repairs, and now I need to reclone it back to the server again. This time, I ...
1
vote
0
answers
149
views
ZFS RAIDZ1 root on gentoo fails to boot after disk swap
I have a 3-disk RAIDZ1 array with 3 HDDs:
# zpool status
...
config:
NAME STATE READ WRITE CKSUM
gpool ONLINE 0 0 0
raidz1-0 ONLINE 0 0 0
...
3
votes
1
answer
293
views
arch linux on zfs root cannot configure grub on bios
as the title suggests I cannot get across the finish line installing arch on zfs. I get to the point where I try and install grub on my /boot after chrooting into my /mnt from the live cd. anyway ...
3
votes
1
answer
8k
views
How do I make grub install on a software-raid disk?
I am running Debian 9 with mdadm RAID 1 on it. Previously both hard-drives could boot into the OS, now only one of them can.
I have recently had a faulty disk which needed to be replaced, so replace ...
1
vote
1
answer
513
views
Auto boot degraded RAID1 on Debian 10 (Buster)
I want my server to boot without manual intervention on degraded RAID1 from second drive on Debian 10 (Buster).
It boots when I detach the second hard disk but it doesn't boot when I detach the first ...
0
votes
2
answers
165
views
CentOS 7: small smiley face on boot?
I've got a problem with a CentOS 7 dedicated server. I've had it for years, and never had any problems with it until now.
I did a yum update the other day, and then rebooted the machine, and it ...