Stack Exchange Network

Stack Exchange network consists of 174 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 Grub version 2, a multiboot bootloader from the GNU project.

2
votes
1answer
50 views

How to script in Windows Subsystem for Linux (WSL) and call it from a batch file?

Over on https://askubuntu.com/a/1108609/912537 I suggested a method to edit grub from windows. I have grub installed on /boot/efi/EFI/grub and have been trying to create a script which changes the "...
0
votes
0answers
16 views

Install GNU GRUB as standalone?

Want to install GNU GRUB (latest ver.) as standalone, but I don't know how. Trying to install GRUB so it has its own partition (eg. /dev/sda1/). I'm multi-booting Windows and some Linux distributions.
0
votes
1answer
54 views

Use grub2 (PXE) to boot local OS

I have set up a tftp server and put grub2 essentials generated by grub-mknetdir to the root of the tftp server. What I want is just to boot the local OS from the grub2 on the server because I can ...
1
vote
0answers
18 views

Computer not booting unless power-cycled subsequent to windows shutdowns

..however, this issue doesn't happen if I shutdown from Linux Mint on this dual booting UEFI system. So, if I shutdown (or restart or hibernate) from Windows 10, the POST stops before I get to the ...
1
vote
0answers
51 views

How to move EFI from booting primary HDD to internal SSD

I had a machine with Windows 10 on an HDD. I installed a smaller internal SSD and installed Ubuntu 18.04. During the installation process it automatically (with my approval) set up the machine to ...
0
votes
0answers
9 views

Had these grub warnings on upgrading. Is it safe to reboot?

When doing an apt upgrade on a production machine I noticed a lot of warnings saying grub-probe: warning: disk does not exist, so falling back to partition device /dev/xvda1 I have not made any ...
0
votes
1answer
27 views

Grub2 of previous OS controls the boot process

I have 3 OS's on my computer. First, I installed windows 10. Secondly, Ubuntu 16.04 LTS (with GUI). Thirdly, CentOS 7 (without GUI). During Ubuntu installation, I installed Grub2 into MBR and ...
0
votes
1answer
67 views

grub unable to add windows to boot menu

Problem: unable to add win 10 to grub2 menu and can't boot to win 10 directly either. Setup: 5 disks: samsung 250GB ssd for win10 kingston 120GB ssd for Linux Mint intel 180GB ssd as fast storage (...
0
votes
0answers
53 views

Booting Windows installation, while the files aren't in the root directory, from pendrive with grub2 installed

When I install grub2 with grub-install command on pendrive with one ntfs partition, open .iso file with Windows, and copy all the contents of it into its root directory, I can successfully boot the ...
0
votes
1answer
63 views

Grub2 not recognizing USB stick after update?

I have a pretty basic ArchLinux setup in VirtualBox that I regularly copy over to a USB stick to boot on a real machine. It worked fine for the past few months, but after the last update (Oct 8th 2018)...
6
votes
2answers
348 views

Get a Windows machine to boot again after GRUB broken, Linux and Ext4 partitions erased

The Grub2 files on a single drive Lenovo dual boot laptop have been erased, along with everything else in the Ext4 partition, when the user resized the Ext4 partition to make more space for Windows 10 ...
2
votes
1answer
52 views

What does GRUB_DEFAULT=“1>2” mean?

On of our Debian-servers won't boot into the newest installed kernel, and during troubleshooting I came across this: root@server:~# grep GRUB_DEFAULT /etc/default/grub GRUB_DEFAULT="1>2" I ...
0
votes
0answers
24 views

Is it possible to use grub-install without it probing every device?

I wanted to use grub-install to install grub2 (2.02) on one device, but instead it spits out messages about input/output errors on other devices and seems to take ages to actually get to the ...
1
vote
0answers
35 views

How to boot Arch Linux on MSI B250M PRO-VDH?

I want to achieve a proper GRUB installation, so it will be able to EFI boot Arch Linux on my MSI B250M PRO-VDH without further user intervention. Everything has been set-up as it follows: /dev/sdc1 ...
2
votes
1answer
887 views

Boot Win10 from an ISO-Image on a certain partition using GRUB2

I have bought a laptop (Lenovo ThinkPad T520) with a locked BIOS. So I can't change the boot order of the laptop. The upmost device in the boot order is the internal HDD. Fortunately there is a ...
1
vote
0answers
102 views

Directly boot Android boot partition from GRUB?

I'm experimenting with an Intel-based Android laptop (Chuwi Hi10 Pro) and have installed Ubuntu 18.04 in parallel to the original Android 5.1 installation. The device is actually designed for dual-...
1
vote
1answer
49 views

Laptop only boots to grub> command shell

I've managed to semi-brick a laptop by using it to install Xubuntu to an external drive. The laptop is a Toshiba Satellite NB10t-A-10F. Any help would be greatly appreciated. How I got here: I told ...
0
votes
1answer
106 views

Skip resume in GRUB2 after hibernating

I use openSUSE Tumbleweed (x86-64). It uses GRUB2. Sleep and resume works while hibernate and resume freezes the machine. Today I accediantely hibernated the machine. Now it does not resume. To ...
0
votes
0answers
38 views

Ubuntu 16.04 dual-boot installation inactive keyboard

As I'm new to Linux I'm trying to install Ubuntu 16.04 LTS on my laptop Toshiba U920T, which runs Windows 8.1 at the moment. I've chosen the bootable USB stick option. In the GRUB menu (version: 2.02~...
0
votes
0answers
109 views

Linux kernel 4.16.17 stuck loading initrd image on boot

Since version 4.16.17 of the linux kernel grub2 is stuck on loading initrd image. I've read some people are experiencing something similar on Fedora. Those reports say the problem is RNG (random ...
0
votes
1answer
52 views

Can't get Grub to handle booting, Windows boot manager keeps taking control

I have Windows 8 and Liunx Mint installed and can only boot to Mint by overriding the boot order through the UEFI. I'm using an HP laptop that has a garbage firmware interface so I can't set it to ...
0
votes
0answers
72 views

Grub 2 grub-mkconfig missing

I installed grub2 for windows. But I cannot find grub-mkconfig.exe to generate grub.cfg file.I tried to find it in installer directory. But did not find the command. Only there was a file called grub-...
1
vote
1answer
107 views

Install grub2 on another partition from Windows

I want to install grub2 on my secondary Windows partition and chainload from primary Windows boot loader with dd. I can specify disk with //./PHYSICALDRIVE0. But how can I specify the partition?
1
vote
1answer
2k views

How to avoid encrypted boot partition password prompt in LVM- arch linux

I'm using LVM with Arch Linux. Please find disk structure below. NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 50G 0 disk |-sda1 8:1 0 ...
0
votes
0answers
53 views

grub2: disable edit mode in boot menu

I want to disable the ability to go to edit mode or enter cmds. The docs/Security suggest to set superusers="". But now I get a login/password prompt after I confirm a menu entry during bootup. Is ...
1
vote
1answer
254 views

How do I boot Windows 10 without Secure Boot (but with UEFI enabled) if it was preinstalled with Secure Boot?

I'm trying to get Windows 10 to play nice in a dual-boot setup with Antergos as the other OS, but I don't want to have to toggle Secure Boot every time I want to switch OSes, and I'd much rather not ...
0
votes
0answers
29 views

VMware Workstation hardware compatibility and availability of high resolution text modes (GRUB2)

Recently I ran across an interesting phenomenon. I have a bunch of VM "templates" for a number of Linux distros so I can easily clone and spin up a VM for the respective distro. In order to make best ...
0
votes
2answers
2k views

Can't boot into Ubuntu 16.04 after installing Ubuntu 18.04 (on separate partition)

I have a multiboot system with two hard disks: Windows and some old Ubuntu versions on /dev/sda Ubuntu 16.04 on /dev/sdb1 Then I installed Ubuntu 18.04 on the empty partition /dev/sdb2. I didn't ...
0
votes
0answers
77 views

Install Grub2 to PBR of GPT

I want to make Extlinux (my main bootloader reside in MBR) to chainload GRUB2. I.e., I need to install Grub2 into the Partition Boot Record (PBR) of my Ubuntu Partition. It wasn't possible several ...
0
votes
1answer
121 views

Ubuntu Server not loading after grub

I install Ubuntu Server 16.04 on a SATA3 - 750 GB, but I hadn't success in the first try. After booting with the USB, Grub2's console was loaded and I had to load manually the Ubuntu. (I also have ...
0
votes
1answer
929 views

Windows 10 upgrade on dual Boot with Linux

I have a dual boot laptop with Windows 10 and Ubuntu 16.04 - with the following partitions : Disk 1 - 128GB SSD : 160Mb EFI System boot partition 128Mb - msftres (no idea) ...
1
vote
1answer
218 views

How to configure preseed file in Debian to make grub configuration point to correct drive

I have several computers with 2 drives (one is ssd, the other is hdd). I've created preseed file for automated deployment that works fine except for the part with partitioning. For now it is done ...
1
vote
0answers
3k views

How to install grub2 in windows 10/UEFI laptop

I'm trying to install openSUSE Leap 42.3 on my Lenovo Y600 laptop, dual boot with windows 10. It insists on booting windows, even after trying to re-install grub2. Perhaps the complicating factor is ...
0
votes
0answers
35 views

2 passwords in grub with 1 encrypted partition

I recently installed Manjaro Linux to my laptop with encrypted root. Almost everything is the same like on my desktop, but when I turn it on, I have to enter the password twice. Once before selection ...
1
vote
1answer
631 views

What does Grub write to the boot sector for MBR boot?

Part of the syslinux install process involves installing mbr.bin to the master boot record of a device. dd \ conv=notrunc \ bs=440 \ count=1 \ if=/usr/lib/syslinux/mbr/mbr.bin \ of=/dev/sdX ...
0
votes
0answers
458 views

Unable to boot into GParted partition or from GParted live USB

Apologies if this question isn't appropriate or seems like it's been asked before, but I'm frustrated and have been trying suggestions from this site and others for days now to no avail. TL;DR: I'm ...
0
votes
0answers
28 views

On User Space sign verification for Secure Boot

I have an x86 UEFI enabled machine. this has a certified shim, grub etc. Using secure boot feature and a custom kernel, I created my public/private key pair signed the kernel and updated MOKDB to ...
1
vote
1answer
754 views

Grub/Ubuntu: Couldn't find suitable memory target after kernel upgrade

Shortly after the new kernel versions were released for the Spectre and Meltdown issues (perhaps unrelated) I installed the latest kernel update, which at the time was 4.13.0-25.29. As soon as I ...
0
votes
0answers
52 views

Grub2 won't boot without a console

I am using grub2 to boot a Soekris net5501. Its system console is a serial port; it has no video interface. It seems that grub is blocking until a serial console is present, preventing headless boot:...
0
votes
0answers
173 views

fdisk -l shows /dev/sda2 as boot partition whereas I have separate boot formatted as bios boot

I have installed centos 7. Selected /boot as separate partition and selected "BIOS BOOT" as partition format type in /dev/sda1 Selected /dev/sda2 as partition for Centos installation. Now after ...
1
vote
0answers
301 views

Add EFI capability to GRUB2 on hybrid dual boot MBR type eHDD

I am trying to create a universal (BIOS/EFI) bootable USB HDD that can provide me with portable 32-bit & 64-bit ‘Windows To Go’ environments, together with a 64-bit Ubuntu-based distro and 64-bit ...
1
vote
3answers
3k views

Create Windows 10 USB installation drive with Linux only

By udisk, I mean a 2.5 inch HDD placed in a plastic box with a SATA-to-USB3.0 cable I'm quite familiar (not professional, daily use only) with Linux (Arch&Ubuntu) but newbie to Windows. Sometimes ...
2
votes
0answers
475 views

resize/shrink root filesystem with grub2 (ie: before it is mounted)

Context: a few remote debian 7 32bit servers only accessible via SSH more than half of the disks are empty 1 whole disk partition per server small maintenance window, cannot be down for long ext4 ...
0
votes
0answers
1k views

Grub can't detect Windows 10

I have recently reinstalled Windows 10 (which was working fine with debian as dual boot before),Which left me with a problem which is that Windows boot loader couldn't detect my Debian OS,So I used ...
2
votes
1answer
862 views

not enough space for grub2 to install core.img - how to install Scientific Linux?

I have Windows 10 -- and I've already shrunk its partitions. There's plenty of disk space (two disks, 1900G on one and 214G on the other available). I'm trying to use Scientific Linux's installer, ...
0
votes
1answer
115 views

New Xubuntu grub-update can't find original encrypted Fedora install

So, I got a shiny new LimeSDR. I have a Lenovo X230 laptop that was running Fedora 27 (may have been 26, but I don't think so). I tried for a while to install software for the LimeSDR, but I ran into ...
1
vote
1answer
210 views

Failure to boot when restarting Windows 10

Edit: Please see the updates at the end of my question. After much work, I managed to install Ubuntu (16.04) on my Dell XPS-15 laptop (9550) and set up a "semi-functional" dual boot with Windows 10 (...
0
votes
1answer
21 views

Double-whammy: Bad entry in UEFI menu + good entry misnamed

History: Windows 10 installed, then I installed Ubuntu... and remembered why I preferred Mint. I then reformatted the Ubuntu partition, and installed Mint onto it. Now my UEFI menu has four entries:...
0
votes
1answer
69 views

Switch grub2 between ubuntu 14 to 16

I have Ubuntu 16.04 and Windows 10 installed in first disk of my laptop. Also I have Ubuntu 14.04 installed in second disk of my laptop. After a brutal shutting down(battery issue), grub2 doesn't ...
0
votes
0answers
211 views

No logs shown on screen while startup and shutdown of CentOS 7.2 and /var/log/boot.log is empty

No logs are shown on the screen while shutdown and startup process of machine. /var/log/boot.log is also empty. Tried many solution suggested after searching on Internet, but none worked. (one of the ...