Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [grub2]

GRUB2 is the second revision of the GRand Unified Bootloader, with versions numbered 1.9x and 2.yz.

0
votes
1answer
34 views

Can I restore a Grub installation using dd?

I have a dual boot system with this partition layout: # fdisk -l Disk /dev/sda: 596.2 GiB, 640135028736 bytes, 1250263728 sectors Disk model: SAMSUNG HM640JJ Units: sectors of 1 * 512 = 512 bytes ...
0
votes
0answers
24 views

GRUB changes are not applied

I am trying to hide the GRUB menu on Linux Mint 19 Cinnamon. I edited the grub file using and entering my admin password twice gedit admin:///etc/default/grub Then I edited my grub file to look ...
2
votes
1answer
52 views

Using Label in grub on Debian 9

I installed my server with Debian 9 and Grub with a LABEL. In my /etc/fstab I see My label as followed: LABEL=root / ext4 errors=remount-ro 0 1 /dev/sr0 /media/cdrom0 udf,...
1
vote
1answer
20 views

How to put GRUB2 on a CD reading the boot configuration file from harddisk?

After having trouble with Linux (openSUSE Leap 15) and Windows 7 overwriting each other's boot sectors (and me failing to integrate GRUB2 into Windows 7' boot menu), I wanted to put GRUB2 on a ...
1
vote
1answer
43 views

Root shell in system filesystem with GRUB

I'm learning about GRUB and, after search for a while, I tried to get a root shell changing the kernel load string: /boot/vmlinuz-4.9.0-8amd64 root=UUID=e8485edc.... ro single to /boot/vmlinuz-4.9....
0
votes
1answer
42 views

Ubuntu installation Error 15 file not found

For some reason the existing operating system (Fedora is giving kernel panic error) so I decided to install Ubuntu 16.04.5 LTS desktop version. When I boot from a bootable USB it just shows 2 options (...
-2
votes
0answers
62 views

How do i speed up boot time?

How can i minimize boot time ? I am using Debian 10 with a i7-4600U with 12GB of RAM and a 120GB SSD, UEFI is enabled. and here's the output of systemd-analyze plot > plot.svg I know 5 seconds ...
0
votes
1answer
47 views

FreeBSD : strange screen when booting from grub [closed]

I am able to boot my FreeBSD partition using Grub thank to: menuentry "FreeBSD" --class freebsd --class bsd --class os { insmod ufs2 insmod bsd set root=(hd1,5) kfreebsd /boot/kernel/kernel ...
0
votes
0answers
21 views

Dual boot option now showing up with windows and centOS

I know this kind of question is already asked before, but none of those solution worked for me, i am trying to resolve this from last two days but with no success. Problem: - When i start may HP ...
0
votes
1answer
30 views

Grub2 install failed with “unable to identify a filesystem in hotdisk… safety check can't be performed”

On a VM-ware insatnce, I am trying to install grub2 bootloader onto a brand new SCSI disk. I want to install it onto the disk's MBR. I run sudo grub-install /dev/sda and got the error "unable to ...
0
votes
2answers
26 views

Grub Not Showing All Linux Distros

I installed multiple Linux distros to test them out and learn more about each to see which I like best. I installed two (Ubuntu 18.04 LTS and Mint 19) on a 256 GB SSD (sdc) and four (KDE Neon, Fedora ...
-1
votes
1answer
23 views

(Centos 7) Unable to Dual boot with Windows 10. Missing SSD. & os-prober doesn't find windows 10 [closed]

I installed Centos7 on my HDD while I have windows installed on my SSD. When I tried to set up dual boot. Grub is malfunctioning for some reason. EVEN ON MY BIOS PAGE, MY WINDOWS INSTALLED SSD IS NOT ...
0
votes
0answers
11 views

Grub2 Centos 7 installation from ISO on hard-disk drive

I could not get working a grub2 custom item menu for installing Centos 7 on a VM. Actual scenario from lsblk command: 1 disk (sda), with two partitions: sda1 mounted on /BOOT, sda2 mounted on / (dev/...
1
vote
0answers
36 views

Can't boot Kali with UEFI Stuck at grub-rescue

I had Ubuntu 18.04 on my laptop and just decided to try Kali. I downloaded Kali Linux 64 Bit and installed it using a live USB. Everything looked fine during the installation but I think I messed up ...
1
vote
0answers
29 views

Boot a Debian firmware-nonfree netinstall USB device with GRUB2

I have an Apple MacMini Intel running a Debian Stretch (no BIOS-like boot list, just standard GRUB2). I would like to boot on a USB device to set a fresh new installation, with the latest firmware-...
0
votes
2answers
57 views

How can I get my drive mounting via fstab again?

I had a nice Ubuntu 18.04 system up and running with many different internal SATA drives and rock solid for several months, and all were happy in the land. Then one day, there was a simple power ...
0
votes
0answers
10 views

Check what modules are in a GRUB standalone image without booting?

Is there a reasonably simple way to figure out what modules are inside a GRUB standalone image without booting it?
1
vote
1answer
26 views

How to remove a file or folder from within the grub terminal?

I'm encountering problem with my dual-boot installation. I already experienced grub problems in the past, at that time I just deleted a folder (resulting from a faulty distrib install) in my EFI ...
0
votes
0answers
94 views

Install grub2 on LVM partition

I would like to install grub2 on an LVM partition, i.e., not the MBR. I have a BIOS partition (not GPT) /dev/sda2 which contains an LVM volume group with two logical volumes. One (/dev/vg/boot) is ...
0
votes
0answers
21 views

Grub2 disable right arrow booting

Sometimes when I turn on the computer I want to go to a different boot option than usual in grub, so I use the up or down arrow key to get to it. However since they are close to the right-arrow key, I ...
0
votes
0answers
27 views

What shall I do when meeting GRUB command line interface when reinstalling Lubuntu?

I am trying to solve the question in How shall I split a partition containing `/` and `/home` into two logical volumes? I am not clear what to do. I thought I would just reinstall Lubuntu. Here are ...
0
votes
1answer
66 views

What are the differences between the purposes of `core.img` and files in `/boot/grub`?

What are the differences between the purposes of core.img and files in /boot/grub? Thanks. I often heard of two stage bootloading. while here seems to be three stage bootloading in https://en....
0
votes
1answer
111 views

grub2 error disk 'hd0,msdos1' not found, ls shows no disk

I have googled a lot for this problem. I found this, but it didn't solve my problem. Other solutions suggest me to reinstall grub (run grub-install), which didn't work either. Here is what I am doing:...
0
votes
1answer
33 views

Install from ISO on Boot (CentOS 7)

I have an ISO that lives at /temp/simp.iso and I want to install this software on CentOS 7. Here is my current /etc/grub.d/40_custom file: menuentry "install SIMP" { set isofile="/temp/simp.iso" ...
-1
votes
1answer
115 views

Recreate bootloader fails with 'cannot find EFI directory'

I setup debian 9 for a friend of mine. Now I got the laptop back and no bootable media is found on start. I booted from the usb drive I installed from using the live mode and followed these steps: ...
0
votes
0answers
155 views

Installing GRUB on an nvme drive

I used a cloning app in windows to copy my partitions to the nvme but now I need to install a new bootloader as I am combining two drives into the one nvme. Partition Layout: Disk /dev/nvme0n1: ...
0
votes
0answers
21 views

I was trying to install deepin and got an error

I was loading it through a bootable usb. My laptop doesn't have any os installed and basically all partitions were formatted before installing it but still I got an error which said that installation ...
0
votes
1answer
100 views

Disabling Nouveau to install NVIDIA on CentOS 7.6 causes blank monitor

I'm trying to install NVIDIA drivers on an embedded system running CentOS 7.6 that has a Quadro P5000 GPU. I'm generally following the instructions outlined here but my monitor does not display ...
0
votes
1answer
26 views

busybox - Can't detect grub binaries

I compiled GRUB from source, using pretty much default settings in a chroot debian sid environment using default --prefix so it installed in /usr/local. When I copied the files over to a system with ...
1
vote
2answers
54 views

Long time spent between grub2 menu, before kernel boot

I installed a minimal ubuntu (xubuntu-core). It works well, but boot is a bit too slow. Right after I make my choice in grub, the screen turns black and after around 15 seconds I see the kernel boot ...
2
votes
0answers
31 views

Enabling dual boot in grub: debian and graphical *BSD

After installing TrueOS to unallocated disk space, my computer didn't boot properly any more. With choosing a boot image, my screen froze. So I ran the rescue mode of a debian install medium and ...
2
votes
3answers
50 views

KVM guest OS from partition

I have a dual-boot configuration with Linux and Windows. Now, I would like to keep dual-boot setup and also be able to run Windows inside of KVM on Linux. The following configuration works fine. I ...
0
votes
0answers
31 views

Grub takes very long (several minutes) to open Menu (in Multi-Boot-System)

I have a Multi-Boot-System with 4 different installations of Linux. (1 Manjaro, 3 Mint) spread over 2 hard drives (2 on each). After doing grub-install /dev/sdX and update-grub several times within ...
0
votes
0answers
10 views

Why does not Anaconda's question box appear during system startup?

Process: Regular start of the system: press the power button, select the element corresponding to the encrypted partition LUKS, in the boot menu Grub2. Components: * Operating system Fedora 28. * /...
1
vote
0answers
185 views

ARCH grub-mkconfig doesn't do anything

i tried installing ARCH and everything seems to work pretty fine. I followed this installation for the most part (https://gitlab.com/jsherman82/notes/blob/master/arch.md) But i seem to have a problem ...
-1
votes
1answer
23 views

Repair boot partition

After updating the kernel, boot partition looks strange, here is ls output: root /usr/src > ls -l /boot/ ls: cannot access '/boot/'$'\307\005''?'$'\021''H. B': Input/output error ls: cannot ...
-1
votes
1answer
65 views

Am I able to install Arch Linux with the 100MB EFI partition that Windows 10 had already created on installation?

I want to dual-boot Arch Linux alongside Windows 10, which is already installed. I am using UEFI-GPT. On Windows 10 installation, it creates an EFI system partition as required by UEFI. This ...
1
vote
0answers
19 views

Clarification regarding GRUB2 during boot process

I have a very simple setup which is based on two hard drives, let's call them sda and sdb. I want to have two different distributions on those hard drives, one based on Ubuntu and another based on ...
2
votes
0answers
13 views

Manual grub2-mkconfig adds code not found in autogenerated grub.cfg

I made some changes to /etc/default/grub and ran grub2-mkconfig -o <path>. Comparing this to the old grub.cfg I can see that it's added the contents of /etc/grub.d/01_menu_auto_hide, which was ...
0
votes
1answer
79 views

Grub ls shows no output

In the grub Shell, no Output is generated when I type "ls /", "ls", "ls ($root)" or anything like that. Interestingly enough, I can type: ls /<tab><tab> and see the list of files in $...
2
votes
0answers
86 views

GRUB2 Booting ISO from NTFS partition [duplicate]

I'm trying to boot an ISO containing a Linux live system from an existing NTFS partition on a PC. The PC has UEFI, and the hard disk is partitioned with GPT, so GRUB4DOS is not an option. Can this be ...
-1
votes
2answers
54 views

Grub drops into rescue shell [closed]

I have both Linux and Windows installed on the same disk. Recently I decided to switch to a different Linux distribution. Since then Grub fails and drops into the rescue shell. I found out online that ...
2
votes
5answers
143 views

Emergency mode after adding partitions and installing another Linux distribution

I had Linux Debian installed onto my computer. My partition table was as follows: sda1: __________________________________________________________________________ File system: vfat Boot sector ...
1
vote
1answer
48 views

What's the best way to automatically edit GRUB configuration after boot?

I am using a dual boot setup of Arch Linux and Ubuntu. GRUB is installed on the Ubuntu partition and this leads to unwanted changes to grub.cfg after installing updates from within Ubuntu (...
0
votes
0answers
37 views

Linux Mint 19 vfio PCI-Passthrough call causes freeze when booting

Goodday, For PCI-Passthrough I need to enable IOMMU support from the BIOS on my motherboard. After that I need to tell Grub to enable IOMMU by adding: intel_iommu=on into /etc/default/grub's ...
0
votes
0answers
153 views

Fresh Arch install - Boot gets stuck at 'Loading initial ramdisk'

I'm trying to install Arch with LVM encryption on my HP Spectre x360. These are my installation notes. I tried doing it these three ways Using window's EFI part so here the EFI partition is ...
1
vote
0answers
312 views

Can't boot on Win10 with dual-boot Fedora 29 + Win10 (both encrypted partitions)

Did install Fedora 29 on a different partition than Win10, usual dual boot configuration that I already used a good number of times. The new parameter is that I use encryption on Windows system (...
1
vote
1answer
40 views

Is it possible to boot from one GRUB installation to another GRUB installation?

For example, I have one main GRUB installation, and I want to have a menu entry in there that boots me into a second GRUB installation. This is probably an XY problem. My main GRUB installation doesn'...
0
votes
1answer
73 views

Keep kernel files in different directories

Is it possible to copy standard vmlinuz-3.10..... kernel file to another directory, rename it and load it during booting the system? I'm on CentOS7 and I have a class task. "Copy vmlinuz-... and ...
0
votes
1answer
23 views

Grub2 is showing filesystem type instead of partition content

I tried to list partition with ls (hd1,gpt7) command and I got filesystem is btrfs output instead of partition content. What am I doing wrong?