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

learn more… | top users | synonyms

13
votes
4answers
5k views

Is GRUB the best bootloading solution? Is there an easier alternative?

I have had some rather bad experiences with GRUB2. I could say (and have said) some nasty things about its design and development process. I especially dislike its means of update: for whatever reason ...
25
votes
3answers
31k views

Installing Grub 2 on a USB flash drive

MultiBootISOs is a tool that let you install Grub on a USB flash drive. I really like it because it lets me boot from ISO files and let me put a bunch of ISOs on my USB and choose which one to boot. ...
2
votes
3answers
12k views

Cannot boot Linux Mint after installing Windows (First) and Linux Mint (Second)

I can't boot my Linux Mint after installation of Windows. First I installed Windows and then installed Linux Mint with the option of "Install along with windows". But after I completed the Mint ...
9
votes
2answers
10k 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 ...
15
votes
2answers
152k views

Recovering from 'grub rescue>' crash [closed]

Originally posted to AskUbuntu.com ... AskUbuntu has adopted a policy of closing questions about EOL (End Of Life) versions. There's a vocal contingent to remove them as well. To prevent ...
13
votes
3answers
6k views

Chainload two Grub2 installations

This is really getting me down. I have Gentoo and Ubuntu, both with Grub2. Gentoo has a dedicated /boot partition, while Ubuntu does not. I have a menuentry in Gentoo's /etc/grub.d/40_custom to boot ...
9
votes
4answers
29k views

Installed Centos 7 after Windows and can't boot into CentOS

I wanted to setup a dual boot for Windows 7 and CentOS 7 I had a Windows 7 machine with 500GB disk. I shrank the Windows partition to provide space for CentOS 7 (roughly 230GB). I created a USB ...
30
votes
5answers
27k views

Why does Linux allow ‘init=/bin/bash’?

I recently found out that if I edit GRUB before booting and I add rw init=/bin/bash I end up with a root shell. Being in a condition that I want to understand everything I would like to know why this ...
19
votes
1answer
19k views

Can GRUB2 share the EFI system partition with Windows?

I have an existing Windows 7 GPT installation, which already has a EFI System partition. I am now trying to install a Linux on a separate harddisk, which is also GPT formatted. I did not find any ...
17
votes
5answers
15k views

How can I tell GRUB I want to reboot into Windows—before I reboot?

I have a dual boot Linux/windows system set up, and frequently switch from one to the other. I was thinking if I could add a menu item in one of the menus to reboot directly into windows, without ...
13
votes
1answer
2k views

mistakenly deleted /boot folder and rebooted

I mistakenly deleted the /boot folder from my filesystem, rebooted, and all I get now is this: error: file '/boot/grub/i368-pc/linux.mod' not found. grub rescue>
10
votes
2answers
13k views

Can GRUB font size be customised?

I would like to reduce the size of the font of GRUB boot loader. Is it possible and so how?
21
votes
7answers
976 views

Why do most distributions chain UEFI and grub?

Most distributions install a additional boot loader on an UEFI system. UEFI itself is a boot loader, it offers a menu to select different operating systems or individual kernels. Furthermore, the UEFI ...
10
votes
2answers
13k views

“warning: File system `ext2' doesn't support embedding.” but my system isn't embedded either, why is grub trying?

I'm reading myself for the release of Jessie on Debian, so I'm extra cautious (should be said paranoid) about any message that can cause problems, namely warnings. My system is a desktop with Debian ...
5
votes
4answers
8k views

Grub error 15 (file not found)

I'm trying to fix a problem with a new installation. I'm running this existing distro (Ubuntu) from /dev/sdb with a new OS, Gentoo, installed on /dev/sda. I'm glad I took the trouble of setting these ...
8
votes
1answer
107 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 ...
5
votes
2answers
11k 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 ...
5
votes
3answers
8k 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 ...
9
votes
3answers
5k 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 ...
7
votes
1answer
5k 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 ...
6
votes
2answers
16k views

Windows boot option is missing after installing CentOS 7, how can I get it back?

I recently installed CentOS 7 on a machine that has been running Windows 7. I did a dual boot installation and installed CentOS in a partition. But when I boot up my machine, it only gives me two ...
4
votes
1answer
1k views

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

The title says it all! 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 ...
4
votes
2answers
3k views

Iso booting with grub2

I am using Linux Mint 10, and it is installed on sda8. I edited /etc/grub.d/40_custom: #!/bin/sh echo "Adding 40_custom.">&2 exec tail -n +3 $0 # This file provides an easy way to add custom ...
4
votes
2answers
266 views

How do I make sure grub is only installed once?

I currently have Windows on one partition, and Ubuntu on another. I'd like to install Quimo, and possibly Mint and/or Lubuntu as well. How do I make sure that only Ubuntu has Grub, and that the ...
2
votes
2answers
8k views

Recover Windows 8 after installing Kali Linux (GRUB)

I've installed Kali Linux over Windows 8, Kali is installed in a seperate ext4 partition(sda2) and Windows in sda1. Now GRUB is not finding Windows 8 on startup ! I can see Windows 8 with os-prober ...
2
votes
0answers
211 views

How to access Win7 on a dual boot machine?

I've been dual booting Win7 and Ubuntu for about 4 months and I got on it today to change the default boot on grub, because my girlfriend kept getting locked out when it reboots and, by default, goes ...
2
votes
3answers
6k views

No matter how many times I try re-installing Linux Mint, I get a GRUB error. How do I fix it?

I have been trying to install Linux Mint 16 Petra using a removable USB thumb drive on my laptop, and after multiple attempts, I get the same error every time: error: file ...
1
vote
2answers
1k views

GRUB2 security vulnerability: pressing backspace 28 times: What are my risks? What should I do? [closed]

There have been reports yesterday about a new security vulnerablity: Lucian Constantin (2015-12-16). Vulnerability in popular bootloader puts locked-down Linux computers at risk. CSO Online. ...
1
vote
3answers
3k views

After reinstalling Linux Mint, Windows 7 does not boot

Final edit: I tried each and every single fix on the question, but I ended up just restoring an image I made a year ago of the freshly installed system using clonezilla. After that, I ran rescatux to ...
1
vote
2answers
321 views

Prevent GRUB from showing up by default?

Whenever I boot on Ubuntu, I see the entire GRUB menu by default. Is there a way I could make it simply auto-boot if uninterrupted within X seconds? I remember that this was the case on previous ...
12
votes
5answers
34k views

Enabling IOMMU in the kernel for graphics card pass-through

Short question: How can I turn on the intel_iommu setting in the Linux kernel? I run a Debian host, using the grub2 bootloader. Documentation I've seen says to edit /boot/grub/menu.lst, which seems ...
25
votes
3answers
39k views

Debian/Grub2: Moving root partition to new drive?

Does anybody have a suggestion for how to move the root partition to a new drive and set up grub2 to boot on that drive? I seem to have no luck instructing grub-mkconfig what it is I want to do (e.g. ...
10
votes
2answers
19k views

How to check on which drives grub2 has actually installed an MBR?

I'm on a Debian/Squeeze system (with a history going back to at least Woody) which was upgraded to grub2 as part of the Squeeze upgrade. All works well, but I'm about to mess with the disk ...
10
votes
2answers
11k views

Is Grub installed to all the MBR of a RAID array by default by the Debian Installer?

If I use the Debian Stable (Squeeze) Installer to install Debian, booting from a RAID1 pair of drives, does it write grub to the MBR of both drives - if not, how should I best protect against a drive ...
13
votes
2answers
10k views

How to know if I'm booting using UEFI

I was searching, but didn't found an obvious way to know if GRUB is using UEFI in the system boot, or the BIOS compatibility mode or a full fledged BIOS. Only Windows methods. Is there something in ...
7
votes
2answers
2k 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 ...
18
votes
3answers
3k views

FreeNAS grub2 booting ISO

I've got usb-keys setup to multi-boot different Linux images. I wouldn't mind adding FreeNAS, and there's a doc with samples to add to grub.cfg menuentry "FreeNAS-8.0.4-RELEASE-x64" { insmod ufs2 ...
7
votes
1answer
9k 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 ...
6
votes
2answers
6k 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 ...
6
votes
2answers
4k views

Grub 'incompatible license' error

The other day, I was using a laptop for general desktop use when its keyboard began to act up. Most of the keys on the keyboard's right side stopped working entirely and key combinations such as Ctrlu ...
5
votes
3answers
4k views

Partitioning EFI machine with two SSD disks in mirror

I have two SSD disks, I want to put them in a software mirror RAID. But whatever I do the OpenSuSe installation keeps telling me that due to the partitioning scheme he won't be able to install the ...
4
votes
4answers
6k views

Add FreeBSD to GRUB2 boot menu

I have Gentoo x64 installed with Grub2 on my MBR drive. Today I installed FreeBSD x64 9.2. Now I'm in Gentoo and trying to add FreeBSD to grub2 menu list. grub2-install /dev/sda os-prober ...
2
votes
5answers
12k views

Fedora won't boot after installing Nvidia drivers

I followed this tutorial about Nvidia drivers installation and I accidentally forget to do 5th point (disabling nouveau drivers), so now I can't boot my system. I know I am idiot but is there anything ...
4
votes
2answers
11k 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 ...
4
votes
3answers
10k views

Set up Grub2 to boot Freebsd using either Ubuntu tools or LiveUSB to find what partitions?

I currently have Windows7 and Ubuntu 11.04 (Natty) installed on my computer. I also made a FreeBSD liveUSB (or installer, not sure; just dded their .img to the USB stick) and installed it without ...
3
votes
2answers
448 views

grub on floppy to rescue CD boot chain

I am having trouble figuring out how to have grub installed on a floppy in a way that it automatically boots a modified Ubuntu 12.04 CD on startup. I will settle for knowing some commands at the grub ...
3
votes
2answers
2k views

Linux on Hard Drive Partition, Bootloader on USB Flash Drive

How can I use a USB flash drive to boot Linux from a partition on (another) hard drive? I'm trying to install Linux on an encrypted partition on the hard drive (using LVM on LUKS). Since /boot must ...
3
votes
1answer
496 views

Grub 2 installed on-partition - how to not embed it

My friend installed ArchLinux on a MacBook Pro alongside Mac OSX and Windows to try it. He's power user, so I only needed to help with the bootloader. Arch Linux's described installation of GRUB did ...
2
votes
1answer
4k views

Installing GRUB2 in a GPT disk on a partition

I'm using a MacBook Air 2013 and I'm trying to install Gentoo. I already did it several times but I always used other "workarounds" to this problem such as using directly a EFI-stub kernel image. ...
2
votes
3answers
7k views

How can I prevent Windows from overwriting GRUB when using a dual-boot machine

I've been reading a lot about dual-booting, and it seems as easy as loading Windows and then loading Linux with GRUB, but everybody says that Windows loves to trash GRUB when it gets the opportunity. ...