Questions tagged [grub2]

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

Filter by
Sorted by
Tagged with
10
votes
2answers
505 views

What are these commands for?

Yesterday I had to install a Windows with its Grub override. Well, it's not the first time I had to fix Grub, so I used LiveCD, mounted the root partition (I don't have boot, just / and home) and ran ...
10
votes
2answers
21k views

How do I prevent GRUB from using/starting any graphical UI?

I have a problem with an older Laptop (Fujitsu Siemens LifeBook S6010, to be precise) and an Ubuntu (10.10, Xubuntu desktop) installation (fresh install). During installation the graphics hardware ...
10
votes
2answers
17k views

How to recreate EFI boot partition?

I've installed Fedora on my machine with / partition, swap partition and ESP partition for EFI booting. Now, I was installing Elementary OS instead of Fedora. I have formatted the / partition (/dev/...
10
votes
1answer
17k views

Grub with retina displays (high resolution)

I currently use Ubuntu on my macbook pro with grub. My macbook has a retina display with 2560x1600 resolution. The grub startup screen font is so tiny that it is barely readable. How can I make grub ...
10
votes
1answer
1k views

How to exit from videotest in the grub?

I am checking different video resolutions in the grub menu by using videotest and vbetest programs and can't go back to the grub command line, after using this programs. System doesn't respond - like ...
10
votes
3answers
7k views

How do I hide grub boot menu unless shift is pressed?

I've read the forum but it seems my grub boot menu doesn't follow the form of the config file. I would like the menu to not appear unless Shift is pressed. My grub menu appears every boot and stays ...
9
votes
3answers
6k views

How do I begin with building a Linux system from scratch?

I tried to make an operating system with my on custom built kernel. It didn't work out too well. I am using Ubuntu and have downloaded Linux 3.2.7 from kernel.org . I am not trying to change the ...
9
votes
1answer
20k views

`Error: no such device…` after installing Arch Linux

I've seen many threads about this error but I couldn't find a solution. I've installed Arch Linux alongside Windows 8. (Dual Boot). I followed this video exactly but am getting the error below at 20:...
9
votes
2answers
15k views

How does grub2 load the kernel from an LVM volume?

Grub2 is able to load the kernel even if /boot is placed on an LVM volume. To use this feature one needs to add insmod lvm (the module can be on the grub bios partition that is not on an LVM volume) ...
9
votes
3answers
17k views

How to set a background image on GRUB?

Looking around on the internet I found a few screenshots of customized GRUB installations with a background image set, is that possible? How can I do that?
9
votes
8answers
38k views

not syncing vfs unable to mount root fs on unknown-block(0 0)

I had a windows10 and Manjaro on my laptop and everything was Ok. last day I've installed Kali Linux in another partition. It has installed correctly and it works fine. But the problem is when I want ...
9
votes
2answers
20k views

Does Grub2 support putting /boot on a RAID5 partition?

It looks like currently most OS installers insist on putting /boot on a non-RAID partition (or the kind of RAID1 partition that "looks like" a non-RAID partition), even the installers that support ...
9
votes
1answer
6k views

grub error “superfluous RAID member” on update-grub

My system (wheezy/sid: 2.6.32-5-amd64 #1 SMP x86_64 GNU/Linux) is running fine - I'm just wondering what some messages mean. I have two mdraid arrays running up on my system. Here's cat /proc/mdstat: ...
9
votes
3answers
5k views

GRUB confuses kernels/initramfs of Ubuntu and Arch Linux installation

I have a machine that used to dual-boot Ubuntu (16.04 currently) and Windows 7, with Ubuntu's GRUB as boot loader. Now I just added Arch Linux as third OS, following the official installation ...
9
votes
2answers
4k views

How to increase the scrollback buffer size for tty

I have a fresh debian jessie server installed in a virtual machine and I want to be able to scroll back with Shift+PageUp and see the full long output of commands like "apt search browser". At the ...
9
votes
3answers
20k views

Chainload syslinux from GRUB2 - show syslinux.cfg menu

I am using a Clonezilla live USB disk to reimage systems. In accordance to what is explained in http://clonezilla.org/fine-print-live-doc.php?path=clonezilla-live/doc/99_Misc/00_live-boot-parameters....
8
votes
3answers
40k views

Where is grub installed and do I need a new one for a separate linux installation?

Currently I have Arch and Windows with grub installed and configured. I'm going to make another Arch installation on a separate partition. Do I need to install and configure grub again on the newly ...
8
votes
2answers
2k views

What logic does the command “exec tail -n +3 $0” from grub2 config have?

Creating custom menu entry, got stuck on this command: exec tail -n +3 $0 Tried it in terminal, got weird result, cannot understand, what this command exactly does and why grub needs it. Could you ...
8
votes
2answers
30k views

Ubuntu: How do the md devices get assembled at bootup?

How do the md devices get assembled at bootup in Ubuntu? Is /etc/mdadm/mdadm.conf truly the relevant factor here? My mdadm.conf is sound and I checked that while I was in the rescue CD environment. ...
8
votes
4answers
25k views

How do I force grub2 to detect my arch linux install?

I have an uncommon setup. I have Ubuntu installed on one, and a backup from a direct copy of an older Arch Linux install on the second. By direct copy, I mean I tar'd the contents of an entire ...
8
votes
1answer
2k views

Grub2 encryption reprompt

Whenever I accidentally make an error entering my password to decrypt my disks grub drops me into the resuce shell. Is there a way to have it so that grub just asks me to try again? Similarly to how ...
8
votes
2answers
5k views

booting qemu/kvm directly from a file system

Having used Xen and its pygrub for a while, I'm now trying to do something similar with KVM/qemu. Basically, I have a LVM logical volume (though that could as well be a file) that contains the root ...
8
votes
1answer
8k views

How does grub2 find its configuration file in EFI boot?

There are bazillions of grub2/EFI threads on the net, but I found it difficult to find an answer to the question above. We have been told that in grub2 the configuration file is /boot/grub/grub.cfg. ...
8
votes
3answers
18k views

After Arch Linux install it just shows the text “No bootable device found”

I've been trying to install Arch Linux. After the installation, it shows the BIOS screen and after that there just comes a message that says "No bootable device found". I have retried the whole ...
8
votes
2answers
12k views

Grub-install: embedding is not possible in Bios/GPT

I am struggling with setting up an encrypted NAS for some days now. The basic plan is to have btrfs on lvm on luks on raid1 with lvmcache in writeback mode thrown in for the root partition to reduce ...
8
votes
2answers
11k views

Can I install grub2 on a flash drive to boot both BIOS and UEFI

Well, obviously I can, because all of the Linux distros are delivered as hybrid ISOs that can boot both BIOS and UEFI. The question is how? I had thought I could run grub-install twice: grub-install ...
8
votes
1answer
5k views

How to install Linux distro to a second hdd from within a running Linux Desktop Environment?

More specifically, I am running Fedora18 on my main HDD. I have a second HDD in the "UltraBay" slot of my ThinkPad W520--eSata connection. Is there a possibility to avoid creating a LiveCD/USB, ...
8
votes
4answers
12k views

Poor TTY resolution with nVidia driver

The resolution of the TTY1-6 is poor ~ 640×480 Ubuntu 11.10 | Grub2 | nVidia | NVIDIA GT215 Board I went through the process on this site and after the edit the GRUB menu appears in the correct (...
8
votes
1answer
1k views

Odd wrong password behaviour with GRUB cryptodisk

I have used GRUB_ENABLE_CRYPTODISK=y in /etc/default/grub to allow LUKS encryption of everything except my EFI partition, which I mount to /boot/efi. This works fine. The only admittedly small ...
8
votes
1answer
1k views

Is there any way to boot from iso while running system from live disk?

This is bit complicated question let me explain what is expected: I know that we can add GRUB menuentry with location of ISO file and boot from ISO using GRUB entry. (i.e this method) But suppose ...
8
votes
1answer
598 views

How to Pass High Resolution from GRUB2 to FreeBSD?

I boot FreeBSD-10-RELEASE from GRUB2. I have set up the GRUB2 boot menu to display very nicely at my laptop's max resolution of 1024x768x32. I know it's possible to pass this resolution to the boot ...
8
votes
3answers
3k views

How can I boot the PC-BSD live DVD-ISO IMAGE directly via GRUB2?

Via the loopback command, GRUB2 allows to directly boot an ISO file. Now, I've configured the according menuentry to boot the PC-BSD Live DVD ISO, but when I try to boot it, the FreeBSD bootstrap ...
8
votes
1answer
4k views

Booting a file system image from a HDD using GRUB2 with persistence

How do I preserve changes I make to files when running an operating system that is booted - using GRUB2 - from a file that contains a file system. I managed to get GRUB2 to boot an image file that ...
7
votes
1answer
1k views

How can I prevent someone from gaining root access through the bootloader?

On Ubuntu 10.10 I can login as root without the root password by replacing ro quiet splash with rw init=/bin/bash. How can I secure my machine and disable this backdoor?
7
votes
2answers
14k views

Is it possible to use Grub to run an EFI binary?

On an efi system it it possible to run arbitrary efi binaries. Especially I can use the efi shell (one efi binary) to run grub (another efi binary). Is it also possible to use grub to run for ...
7
votes
3answers
11k views

How to make grub work again after drive reassignment?

My config: opensuse 11.4, boot partition at pendrive and hard drives with partitions sda1, sda2, sdb1. Today I changed chassis for my computer, and by mistake I attached second drive to SATA 3 ...
7
votes
2answers
16k views

How do I increase the font size of the CentOS 7 console?

When I booting to CentOS, the character is too small. I tried to config grub2 files following this solution, but it seems not work. My /etc/default/grub file is : So, how can I increase the font ...
7
votes
1answer
11k views

Unable to shutdown Windows after installing GRUB

I've a Asus ROG laptop that came with Windows 8.1 preinstalled, I upgraded it to Windows 10 and then I wanted to install Bunsenlabs Linux as dual boot. The laptop was UEFI locked and it took me some ...
7
votes
2answers
25k views

Ubuntu 14 server edition, how to boot into single-user mode?

I'm new in Linux and just have basic knowledge about it. In the past I've tested to boot into single-user mode in some Linux distribution by just append " single" to the boot command. However, I don't ...
7
votes
1answer
4k views

How can I preview the GRUB2 boot screen?

I've been reading a tutorial that shows how to set the background image that will be displayed behind the GRUB2 boot options menu. However, I am concerned that the text might not be visible against ...
7
votes
5answers
12k views

ntldr.mod missing from GRUB2

I use Debian Wheezy on EFI motherboard and need ntldr module in GRUB2 to load bootmgr of Windows 7 installer, because the way it starts on its own (apparently, using the boot sector of the USB flash ...
7
votes
2answers
25k views

How do you install Grub2 on a USB stick? [duplicate]

How do you install Grub2 on a bootable USB stick? Somewhere I've heard that Grub2 can boot directly from ".iso" images, so I'm hoping Grub2 will make it easy to drag-and-drop several "liveCD" iso ...
7
votes
2answers
9k views

Background image manual grub.cfg

I'm trying to manually install a background image for grub on a bootable flash drive. Since the drive only boots ISO's and has no installed OS, I can't take advantage of scripts such as update-grub to ...
7
votes
1answer
2k views

Can grub2 detect processor architecture, and display options accordingly?

I have a bootable usb flash drive with grub2 handling booting of ISOs (mostly different spins of Ubuntu). I am editing the menu.cfg myself and have my own script to update grub because I don't want to ...
7
votes
2answers
11k views

How do I add PC BSD / FreeBSD to Grub 2 boot loader?

I have Ubuntu 10.04 installed as my primary operating system, and I installed PC BSD in a different partition: /dev/sda4 without installing it's boot loader. I figured out that I need to edit /etc/...
7
votes
1answer
3k views

Can Grub2 multi-boot LUKS/LVM distros with only one boot partition?

There are many tutorials on the internet for multi-booting unencrypted distros using a single boot partition and chainloading. For example, booting 145 OSes. Likewise, there are tutorials for multi-...
7
votes
2answers
2k views

Installing other Linux in an encrypted disk

I recently got an SSD to replace my laptop's HDD and decided to change and use "full disk" encryption. I created a small unencrypted partition for /boot and an big encrypted LUKS partition where I ...
7
votes
1answer
2k views

How to boot linux without an initramfs?

I'm looking for a way to boot an existing linux kernel without an initramfs. According to this link it should be possible simply by editing /boot/grub2/grub.cfg. But if I try this config menuentry '...
7
votes
1answer
11k views

UEFI install (14.04) boots to GRUB command prompt, no GUI

I just installed zorin 9 core (14.04) on my Hard-Disk in UEFI mode. But, when I boot, all that comes up is a GRUB2 command line. I've searched for solution and came up with this command configfile (...
7
votes
2answers
2k views

Determine what program is in my MBR code

I've done a lot of partitioning / dual booting on my Macbook Pro. Right now I have Mac OS X installed along with Ubuntu 12.04, with Grub installed on the Ubuntu partition. I am wondering - what is ...

1
2
3 4 5
28