grub2 is the second revision of the GRand Unified Bootloader. It partly resides in the master boot record, so it is launched by the BIOS. It is able to read most filesystems, and its main job is to read the kernel and initramfs from a disk in order to place them into memory and launch the kernel.

learn more… | top users | synonyms

1
vote
3answers
2k views

How can I remove GRUB2 entries in Fedora 16?

Recently, I executed the following command: grub2-mkconfig -o /boot/grub2/grub.cfg Now I have 6-7 Linux entries + 1 windows entry. How do I remove older kernel entries? I don't want to remove all ...
3
votes
1answer
248 views

GRUB on MBR of Windows-only internal drive, with distros on external drive

I think what I want to do is long and convoluted; then again, it might be somewhat easy, and I'm just overthinking it. Here's the setup I want to achieve: The internal drive (sda) is one giant ...
6
votes
1answer
896 views

EFI boot to Linux on a MacBook Pro

8,3 MacBook Pro 2011, running Ubuntu 11.10 amd64. Here's the situation. Screen backlight and a few other things only work if booting in EFI, so I need to boot Ubuntu in EFI to get things working. ...
1
vote
0answers
1k views

GRUB2 and EFI - File not found?

I'm running Linux on a 8,3 2011 MacBook Pro. It uses EFI/rEFIt to boot. I was able to install GRUB2 EFI support, and it shows up just fine in the rEFIt boot menu. Everything seems to be working ...
3
votes
2answers
2k views

How do you install Grub2 on a USB stick?

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 ...
3
votes
2answers
3k 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 ...
2
votes
1answer
497 views

How to configure GRUB to load Windows 7 Install in UEFI mode

I have a Dual-Boot USB I created with Multisystem for booting into PartedMagic, Ubuntu 11.10 & Windows 7 Install. Problem is Windows 7 says it cant install on a GPT partition. Googled, and found ...
3
votes
2answers
137 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 ...
6
votes
2answers
4k 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 ...
4
votes
2answers
1k views

How to manually manage grub.cfg for Grub2?

I am setting up my system. The features of it are: GPT partition table (not sure how important this is) Triple boot - Gentoo, Debian and Mint. Custom kernel (kernel git repo) shared amounst distros. ...
0
votes
0answers
2k views

BackTrack 5 Grub/Grub2 installation [closed]

I've been trying to install some grub on my machine, running only Backtrack 5 (from Ubuntu 10.04 I think). It is newly installed. I managed to create a non-root user for it (it isn't trivial for a ...
4
votes
1answer
976 views

Choose at GRUB menu whether NVidia driver should be used

For some games, I need the nvidia-current driver, but when it's enabled, I can't get my work done as it messes up everything. So is there a way I can get two options in my GRUB menu? One wich will ...
2
votes
1answer
102 views

Is it possible for grub2 to detect some specific CPU features and choose a proper kernel to boot?

I want to configure grub to check some CPU features on startup and choose a proper kernel to boot (e.g. multiple cores -> kernel with SMP support). Is it possible? If so, then how do I do it?
4
votes
1answer
753 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 ...
4
votes
1answer
1k 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 ...
3
votes
3answers
512 views

Failure to recover grub2 after installing arch-linux

I am currently installing and and re-installing Arch Linux for learning purposes. As I don't have a secondary machine, I have to do it on my main one. The thing is - I couldn't find a way to avoid ...
4
votes
1answer
95 views

What is the proper way of sharing the /usr subdirectory?

What parts of the /usr subdirectory are usually shared in common practice without introducing any system instabilities? My intent is to share share-able parts of the /usr subdirectory among VM's of ...
4
votes
1answer
155 views

Why does the Linux installation fail on this machine?

I have tried to install Ubuntu and ArchLinux on the machine and the installation went fine but the boot process fails with both system. In the case of Arch the boot doesn't even start. In the case of ...
3
votes
3answers
4k views

Grub2 RAID /boot

I'm using Gentoo on my HomeServer. My HDDs are raid1 mirrored with mdadm. My problem is how to boot the /boot partition correct? /dev/md1 consists of /dev/sdc2 & /dev/sdd2 mounted on /boot In ...
2
votes
3answers
4k 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 ...
6
votes
2answers
4k 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 ...
2
votes
1answer
730 views

Grub2 Error Loading Kernel

I have been trying to start a small home server, using Ubuntu 10.04 Server edition. The installation process finished, and I got an error from Grub saying that it was "out of disk". After a bit of ...
0
votes
1answer
524 views

How can I manually set a partition as my primary one in Debian 6.0?

While installing Debian 6.0 I went with manual partitioning and apparently messed up. The OS only loads if I start the computer in recovery mode and fdisk output doesn't have primary partition. AFAIK ...
3
votes
2answers
118 views

Why can GRUB2 only remember 4 bits?

For fun and laziness, I've got 20 entries in my GRUB2 menu. To get to the bottom one quickly, I tap down-arrow a couple of times during the GRUB loading screen. I can press the key 15 times (+/- 1, ...
3
votes
1answer
996 views

Full disc encryption with GRUB2

Does anyone know of a good Howto on how to fully encrypt a HDD (even the /boot!) with GRUB2? Is it possible using fedora 14 or ubuntu 10.04?
2
votes
0answers
287 views

VirtualBox bug[?] when Chainloading Grub2

Regarding this: How to install Fedora&Ubuntu with encrypted VG's on one disk? So booted into Ubuntu..and I run this script: #!/bin/bash # show the bootlist of grub when booting pc sed ...
4
votes
2answers
134 views

What preparations should I make before reinstalling windows?

Since Windows still does not offer means to skip rewriting the MBR, what can I do before reinstalling Windows to get Grub2 back into the MBR as easy as possible? (I'll also appreciate it if the answer ...
8
votes
1answer
4k 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: ...
4
votes
2answers
2k 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 ...
2
votes
1answer
2k views

How to change kernel boot options in GRUB 2

In old GRUB, if I wanted to change boot options, I would use a line starting with the word kernel in "/boot/grub/menu.lst": kernel /vmlinuz root=/dev/sda1 ro MY BOOT OPTIONS Now since I'm using ...
4
votes
3answers
506 views

Is there an easier way to manipulate GRUB 2 entries?

Using GRUB 2 is harder than GRUB 1 for these use cases: It looks like if I want to reorder GRUB 2 menu entries appear in the selection window, I have to rename the files in "/etc/grub.d/" directory. ...
3
votes
1answer
325 views

BURG menu error

I installed Ubuntu 10.10 recently and installed BURG (bootloader based on GRUB). However, the boot menu seems to have swapped Vista and Windows Recovery mode; so to go to Vista I need to select the ...
4
votes
1answer
584 views

How to add an iso image to grub2?

I read grub2 allows booting from an ISO image (at least for most live-cds). How can I add such an entry to my grub configuration? Please mention all files to modify and all commands to run since I ...
12
votes
3answers
16k 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. ...
3
votes
1answer
407 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 ...
16
votes
3answers
2k 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 ...
3
votes
1answer
917 views

installing grub 2 on mdadm, which device?

when installing grub(2) to mdadm devices are you supposed to install it to /dev/sdX or /dev/mdX?
5
votes
1answer
5k 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 ...

1 2 3