Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [grub]

Console application permitting the user to choose between several installed operating systems.

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

grub unknown filesystem. dual booting windows and arch linux [migrated]

Device: Dell xps-15 9510 running latest arch I dual boot windows and arch using grub bootloader I restarted my computer yesterday and was put into grub rescue due to unknown filesystem. 'ls' lists all ...
user avatar
  • 101
0 votes
0 answers
20 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 ...
user avatar
  • 67
0 votes
2 answers
33 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 ...
user avatar
0 votes
1 answer
69 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 ...
user avatar
  • 157
0 votes
0 answers
17 views

Grub on RAID1, keep from failing on next update?

I have /boot/ on /dev/md0, with two partitions: /dev/sda1 /dev/sdb1 I had a problem when running apt upgrade because I had to replace sdb and the new drive wasn't in the grub config. I got things ...
user avatar
  • 227
0 votes
0 answers
20 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 ...
user avatar
  • 7
0 votes
0 answers
21 views

How to write bootloader to multiple disks in Ubuntu server 20?

In Ubuntu blog there is post stating that Ubuntu Server 20.04 LTS has "More resilient bootloader", and you can write bootloader to multiple disks, to avoid SPOF on bootloader disk. How can i ...
user avatar
1 vote
0 answers
37 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-...
user avatar
  • 11
0 votes
0 answers
254 views

CentOS 8 / Red Hat / Rocky Linux - Blinking Cursor After Grub Menu - SAS RAID

Anyone have a solution for this slow boot: https://forums.centos.org/viewtopic.php?f=54&t=73569 Essentially: When I boot, my box posts fine, the Grub boot menu comes up, I select the first option, ...
user avatar
  • 177
2 votes
2 answers
59 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 '...
user avatar
1 vote
1 answer
119 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 ...
user avatar
0 votes
2 answers
277 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 ...
user avatar
0 votes
0 answers
29 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 ...
user avatar
0 votes
0 answers
28 views

Scuttle Boot Option

I'm trying to devise a simple boot option that would secure erase one or more drives in a computer. Imagine a scenario such as airport security where somebody has the authority to compel you to turn ...
user avatar
0 votes
1 answer
304 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 ...
user avatar
0 votes
1 answer
435 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-...
user avatar
  • 487
1 vote
1 answer
490 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-...
user avatar
0 votes
1 answer
311 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 ...
user avatar
  • 1
0 votes
0 answers
50 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 ...
user avatar
  • 835
1 vote
1 answer
3k views

ubuntu 18.04 "grub-install: error: cannot find EFI directory"

I have this issue on multiple ubuntu 18.04 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) ... Installing ...
user avatar
  • 402
0 votes
1 answer
23 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 ...
user avatar
  • 1
0 votes
1 answer
890 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 ...
user avatar
  • 3
1 vote
0 answers
211 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 ...
user avatar
0 votes
1 answer
2k 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-...
user avatar
1 vote
0 answers
366 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 ...
user avatar
1 vote
1 answer
180 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 ...
user avatar
  • 13
0 votes
1 answer
815 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) ...
user avatar
  • 101
1 vote
0 answers
679 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....
user avatar
  • 11
0 votes
1 answer
128 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 ...
user avatar
  • 151
0 votes
1 answer
479 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 ...
user avatar
0 votes
0 answers
117 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)/...
user avatar
  • 131
0 votes
0 answers
32 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 &...
user avatar
  • 131
0 votes
1 answer
278 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 ...
user avatar
  • 121
1 vote
0 answers
95 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 ...
user avatar
  • 220
3 votes
1 answer
196 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 ...
user avatar
  • 205
3 votes
1 answer
4k 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 ...
user avatar
  • 313
1 vote
1 answer
405 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 ...
user avatar
0 votes
2 answers
114 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 ...
user avatar
  • 1,034
0 votes
1 answer
171 views

GRUB partition accidentially formatted on Ubuntu 18.04

I am facing a case that the the 1MB GRUB partition on an Ubuntu 18.04 server has been accidentially formatted. The server has not been restarted yet. Upon running sudo update-grub the following ...
user avatar
0 votes
2 answers
1k views

Ubuntu GRUB installation failed

I am currently in the process of setting up an Ubuntu server but I ran into a few problems... after setting up RAID 0 (two 160GB drives) I tried to install Ubuntu server 18.04.3 LTS but it failed ...
user avatar
  • 11
1 vote
0 answers
244 views

How create RAID 1 on working Slackware 14.2?

I use Slackware 14.2 (with kernel 4.4.14-smp) on sda and I'm trying to create the RAID 1 with additional sdb. I'm using the VM VirtualBox. First, I have cleaned the sdb: dd if=/dev/zero of=/dev/sdb ...
user avatar
0 votes
0 answers
1k views

QEMU-KVM: VM will not start with virsh, only with qemu-system-x86_64

I have a vanilla Arch linux VM with disk in qcow2 format. I recently upgraded it and it stopped working. Every time I run $ virsh start Arch I get: Starting version 243.78-2-arch ERROR: device 'UUID=&...
user avatar
0 votes
1 answer
498 views

UEFI PXE NFS boot issue with multiple network adapters

I have a working PXE server which detects the client side as either BIOS or UEFI and boots network clients successfully. The purpose of this system is to network boot physical servers in order to ...
user avatar
  • 31
0 votes
0 answers
38 views

How can I get kernel / early boot output over my NVIDIA GPU using CentOS 7?

I recently installed CentOS 7.7 with KDE on a machine with both onboard graphics and an NVIDIA GTX 1080 Ti. I got the proprietary NVIDIA drivers installed, but it was quite difficult as I couldn't see ...
user avatar
2 votes
1 answer
463 views

How can I generate/or edit a grub.cfg on each EFI partition that refers to the ubuntu installation on the same physical disk?

I have an install of Ubuntu 16.04 server set up on two disks with software raid across two large partitions. The start of each disk contains an EFI partition. I would like to be able to boot from ...
user avatar
  • 225
2 votes
1 answer
169 views

Are my EFI partitions mutually bootable? How to interpret the output of efibootmgr -v

I have two GPT formatted disks both starting with EFI partitions and followed by a single physical raid partition. I installed ubuntu-server 16.04 with software raid over these two raid partitions and ...
user avatar
  • 225
-1 votes
1 answer
236 views

Finding the menu.lst that is being used by grub on a multiboot/multipartition system

How do I find which partition holds the menu.lst being used at boot time? Not looking for multiple locations , as where the file could be, but where it is definitely to be found. (e.t. partition) Is ...
user avatar
0 votes
1 answer
398 views

GRUB installing CentOS 7 on CentOS 6 machine with kickstart

I am wondering if someone can provide some help. I am trying to do an automated install (with kickstart file) with CentOS 7 on a CentOS 6 server. However I have failed multiple times so far. I did ...
user avatar
1 vote
1 answer
726 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 ...
user avatar
  • 302
4 votes
2 answers
897 views

Can't get grub2 boot menu via COM2 port

I want to connect my "CentOS Linux release 7.6.1810 (Core)" device via COM2 port,then I modify '/etc/default/grub': GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" ...
user avatar
  • 179

1
2 3 4 5
7