GRUB2 is the next generation of the GRand Unified Bootloader (GRUB). Ubuntu has used GRUB2 as the boot loader since 9.10 (Karmic Koala). Commonly referred to as simply "GRUB".

learn more… | top users | synonyms (2)

97
votes
9answers
130k views

How can I repair grub? (How to get Ubuntu back after installing Windows?)

I installed Windows 7, which ate Ubuntu's boot file. When starting up the computer, it now goes straight to Windows, without giving me the option of booting Ubuntu. How can I get Ubuntu back?
193
votes
29answers
182k views

How do I remove or hide old kernel versions to clean up the boot menu?

Every time I install a new Linux kernel, it gets left in the grub_config, making the boot menu longer each time. I know I can manually search through the installed packages and remove them. Does ...
86
votes
16answers
182k views

How do I set Windows to boot as the default in the boot loader?

How do I set the bootloader so that in my dualboot with Windows 7/Ubuntu 11.04, Windows start up as standard instead of Ubuntu?
129
votes
5answers
480k views

How do I change the GRUB boot order?

I have both Windows 7 and Ubuntu installed on a shared machine. Because a lot of the non-developers use Windows, I'd like to change the boot order to make it easier for them. Currently the boot order ...
19
votes
2answers
67k views

How do I set 'nomodeset' after I've already installed Ubuntu?

I know that editing the boot options line and adding 'nomodeset' solves my laptops problem during LiveCD mode, what I don't know is how to set it at boot up through Grub2 after I've installed Ubuntu. ...
19
votes
5answers
57k views

How do I reset a lost password (using recovery mode requires me to type the password)?

I need to reset my password. I have followed these steps: How do I reset a lost Administrative (root) password? However, then I go to "root" or "netroot" recovery options, it tells me: Give root ...
18
votes
4answers
91k views

Grub rescue - error: unknown filesystem

I have a multiboot system set up. The system has three drives. Multiboot is configured with Windows XP, Windows 7, and Ubuntu - all on the first drive. I had a lot of unpartitioned space left on the ...
21
votes
6answers
229k views

Fixing GRUB error: “error: unknown filesystem” [duplicate]

When booting into Ubuntu, I'm getting the following error with a grub rescue shell following it: Error: unknown filesystem. grub rescue> I'm not exactly sure what I did. I believe I installed ...
26
votes
3answers
35k views

How do I add a kernel boot parameter?

I need to add the boot parameter foo=bar to my kernel. How can I do this once for testing, and permanently if testing was a success?
26
votes
1answer
30k views

How do I boot into a root shell?

When booting to the graphical desktop fails we sometimes are recommended to boot into a "root shell" or to boot in "recovery mode". How do I do that?
15
votes
6answers
92k views

How to install Windows 7 after Ubuntu and dual boot? [duplicate]

I just installed Ubuntu, a full install removing the prior OS. I was forced to remove Windows 7 from my HP dv6 because of the max four partitions already being there. I didn't lose anything, all ...
52
votes
2answers
138k views

How do I set the grub timeout and the grub default boot entry?

In Ubuntu 12.04, how do I set the GRUB time and the default OS (that I see at boot time) as I'm dual-booting Windows 7 and Ubuntu 12.04?
19
votes
5answers
4k views

How do I investigate boot and partition issues?

My machine won't boot, or won't choose the right operating system when I choose it in the grub menu, what information do I need to provide in my questions so people can help me?
13
votes
4answers
47k views

How can I boot with an older kernel version?

The latest kernel is causing problems with my sound, which worked fine with an older version. As I have only Ubuntu installed, Grub is not getting displayed while booting. How can I manually choose my ...
14
votes
7answers
40k views

Grub does not show a Windows 8 option after dual boot

So, I've successfully dual-booted my Windows 8 machine with Ubuntu 12.04 . However, I still don't have a convenient method of choosing what OS to load at boot time. After installing Ubuntu, my ...
7
votes
1answer
13k views

Ubuntu 14.04 not booting after error message. /tmp could not be mounted

I recently installed Ubuntu 14.04 using WUBI and after installation when it booted it showed an error: Serious errors were found while checking the disk drive for /. There were three options: ...
7
votes
3answers
34k views

error: file '/grub/i386-pc/normal.mod' not found

error: file '/grub/i386-pc/normal.mod' not found. grub rescue> What can I do? I just sit and stare at it. I found my old netbook (Dell Inspiron 1010) which I have not used for about four years. ...
3
votes
3answers
16k views

Error out of disk, grub rescue

I installed Ubuntu via usb with no problems, but when I restart, I get an error message: error out of disk" 'grub rescue. How can I fix this?
37
votes
1answer
46k views

Dual boot Surface Pro with Ubuntu?

How could I setup a dual boot for Ubuntu and Windows 8 on my Microsoft Surface Pro with 128 GB. Note: My dual boot solution is below.
21
votes
3answers
81k views

How do I boot into single-user mode from GRUB?

After changing a few lines in xorg.conf, I can no longer boot Ubuntu (I assume it breaks when trying to load up X), so I need a way to boot into a single-user mode. However, there seems to be zero ...
5
votes
1answer
7k views

Windows 7 doesn't boot after Ubuntu install

I had windows 7 installed on my pc, then I installed Ubuntu 10.10/ During the installation process I have chosen to manually set my partitions: I set a 10GB drive for ubuntu root 1GB drive for swap ...
6
votes
3answers
17k views

frequency out of range - please change display mode

I just downloaded the latest version of the Ubuntu live CD, and have installed it on a desktop computer (a Fujitsu Scaleo P). Once installed it seems to work perfectly, although there are some updates ...
6
votes
2answers
33k views

Grub not showing on startup for Windows 8.1 Ubuntu 13.10 Dual boot

Ok, so I'm such a newbie to Ubuntu and I bought a Windows 8 pre-installed laptop last month. I updated to Windows 8.1 and then I thought about installing Ubuntu as a dual boot so I could mess around ...
28
votes
5answers
354k views

Recovering from 'grub rescue>' crash

I did a dumb thing... I forgot that Ubuntu 10.04 (Lucid Lynx) switched to GRUB 2 which puts a ton of *.mod files (kernel modules) in /boot/grub. I thought they were soundtrack files put there ...
24
votes
5answers
106k views

I can't get grub menu to show up during boot

After trying (and failing) to install better ATI drivers in 11.10, I've somehow lost my grub menu at boot time. The screen does change to the familiar purple colour, but instead of a list of boot ...
9
votes
2answers
19k views

How do I resolve a GRUB: “invalid arch independent ELF magic” error?

I am stuck with a rather irritating problem I ran into after installing 11.10 on my macbook pro 5,5. I did a clean install efi booting into the setup using the desktop cd. Upon the first reboot I was ...
1
vote
1answer
3k views

Can't boot XP after Ubuntu Installation, how to fix?

I installed Ubuntu and after the installation, i can't boot to XP. When i choose XP from the Grub menu, I got black screen for like 30 sec, and then it returns to the Grub menu. Thanks!
38
votes
3answers
68k views

How to get to the GRUB menu at boot-time?

This issue came up recently for me (and I've been prompted to lodge it as a specific question about it): My system is not dual-boot, I run a standard Ubuntu desktop system "on the metal" (I think ...
2
votes
2answers
3k views

Why does my screen blank out for the duration of the Grub boot menu?

Upon booting, when I should see the GRUB menu, my monitor simply says: "No optimum mode. Recommended mode: 1600*1200". If I wait for a short while, Ubuntu starts to boot and it reaches the desktop. ...
27
votes
6answers
100k views

Recovering GRUB after installing Windows 7? [duplicate]

Possible Duplicate: How can I repair GRUB? (How to get Ubuntu back after installing Windows?) I installed Windows 7 after it crashed, and now I am unable to boot Ubuntu. Ubuntu ...
12
votes
1answer
62k views

How do I boot into recovery mode?

I recently tried booting into the Grub2's menu entry "Ubuntu GNU/Linux, with Linux 3.2.0-24-generic-pae (Recovery Mode) just to see what was there. It booted successfully, but I had no idea what to ...
9
votes
3answers
70k views

Boot error > no such device: grub rescue [duplicate]

After an installation of Ubuntu 12.04, erasing an old partition with Ubuntu 10.10, I can't get grub to load. I can't access my Windows 7 partition either I get the message: > error: no such ...
5
votes
2answers
4k views

Accidently installed grub to usb

While doing a fresh ubuntu install (dual boot with XP using resize), I somehow managed to install grub to the source usb instead of to the harddrive. Normal harddrive boot goes straight to XP. Booting ...
2
votes
2answers
8k views

After installing Ubuntu from USB, GRUB2 can't be installed!

Hello ladies and gentlemen! I installed Ubuntu alongside with Windows 7 using live USB. It wouldn't let me install GRUB, it says there's a fatal error with the partition chose. I literally chose ...
12
votes
2answers
45k views

How do I safely change grub2 screen resolution?

I did a fresh install of Ubuntu 11.04 on a HP 550 Notebook. But grub2 isn't really fit in the best screen resolution that this Notebook can support (1280x800). How can I do this without using a ...
9
votes
5answers
18k views

Sony VAIO with Insyde H2O EFI bios will not boot into GRUB EFI

I bought a new Sony Vaio S series laptop. It uses Insyde H2O BIOS EFI, and trying to install Linux on it is driving me crazy. root@kubuntu:~# parted /dev/sda print Model: ATA Hitachi HTS72756 (scsi) ...
13
votes
4answers
56k views

I receive the error 'grub-install /dev/sda failed' while attempting to install Ubuntu as the computer's only OS.

I am attempting to install Ubuntu on a box which was previously running Windows 7. I have also experienced the dreaded "Unable to install GRUB" error. I am not attempting to dual boot. I have ...
4
votes
2answers
392 views

I need my pendrive to boot into Ubuntu, how to correct this and boot from the HDD?

I installed Ubuntu through USB. Instillation was successful. But when I restarted my laptop it didn't boot. So planed install it again when started selected install from USB. it booted my previous ...
16
votes
2answers
45k views

How can I change/convert a Ubuntu MBR drive to a GPT, and make Ubuntu boot from EFI?

I recently have upgraded my PC, my new Motherboard (ASUS M5A99X EVO) uses UEFi instead of the regular MBR option. I have a Ubuntu 11.10 installation that I did when I had my previous hardware (MSI MS ...
2
votes
2answers
8k views

Unable to boot into Windows after installing Ubuntu, how to fix?

I First Installed Windows 8 And Then I Installed Ubuntu 12.10. Now I`m Unable To Boot Windows 8. How To Fix This Grub?
14
votes
4answers
6k views

How do I install BURG?

I found the source in launchpad for 11.04 and 10.10 but I don't know how to install or compile it.
5
votes
2answers
12k views

Grub rescue problem after installing ubuntu

I have windows 7 installed in my internal hdd and wanted to try out Ubuntu so I got a USB to put Ubuntu LiveUSB on and installed Ubuntu on an external HDD and everything worked out fine. Now the ...
2
votes
2answers
2k views

Cannot Restore Grub After Windows 8.1 Upgrade

I have an Ubuntu 13.10 and Windows 8 dual-boot working properly, and upgrading to Windows 8.1 breaks grub2 as expected. However, this time boot-repair was not able to bring grub back for me. My laptop ...
3
votes
1answer
1k views

Windows 8 deletes GRUB when booting

I have this situation: SONY VAIO SVF1521V1EB Windows 8 preinstalled in UEFI. I decided to install Ubuntu 13.10 in dual boot. So I downloaded the amd64 iso, burnt on a DVD, then booted from DVD in ...
3
votes
3answers
4k views

Windows 8 installed Ubuntu 12.10 boots straight to Windows 8

I installed Ubuntu 12.10 on my new Windows 8 Dell Inspirin and would like to set up a Dual Boot. However, when I restarted, it just went straight to Windows 8 without giving me a Grub screen with ...
5
votes
4answers
22k views

Stuck on GRUB Command Line

I am running Natty Alpha 3. I used Update Manager to install something (not sure what it was), then I restarted, but instead of listing all the kernels, it gave me a command line. I don't know what ...
2
votes
3answers
13k views

What to do when I get an “attempt to read or write outside of disk 'hd0'” error and Boot Repair does not solve the problem?

I tried to install Xbuntu 13.10 on an older computer. I noticed some difficulties during installation that may be relevant to my problems. Notably: The screen resolution was extremely low. The ...
25
votes
3answers
42k views

What does the kernel boot parameter “set acpi_osi=Linux” do?

I am facing an issue with brightness control in my laptop which has Intel HD graphics. So when I searched for a fix I found that a common suggestion is to edit the GRUB file line, ...
25
votes
5answers
6k views

Decrease GRUB timeout

The GRUB timeout is 8 seconds. Can this be turned down to 2 or 3 seconds? What is the best way to do this?
17
votes
1answer
32k views

GRUB complains of “no such partition” after installing 12:04

I have just installed 12.04. I previously had 11.10 installed, with /dev/sda6 as the install partition mounted at / and with /dev/sda1 mounted at /home. When installing 12.04, I duly selected the ...