Questions tagged [grub2]

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

Filter by
Sorted by
Tagged with
389
votes
14answers
880k 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?
44
votes
19answers
205k views

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

I installed Windows on my computer, followed by an installation of Ubuntu. However, now I'm unable to boot into my Windows install. What can I do to fix this?
733
votes
38answers
1.1m views

How do I remove 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 ...
119
votes
3answers
543k views

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

I know that editing the boot options line and adding 'nomodeset' solves the problem of my laptop during LiveCD mode, what I don't know is how to set it at boot up through Grub2 after I've installed ...
382
votes
6answers
1.6m 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 ...
198
votes
3answers
512k 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?
9
votes
5answers
43k views

Can't boot into Ubuntu in Windows 10 / Ubuntu dual boot

I installed Ubuntu on a Dell XPS 13 laptop that had Windows 10 preinstalled on it. I installed it from a USB flash drive on a partition. When I boot my computer I can only boot into Windows 10 and ...
264
votes
16answers
785k 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?
355
votes
9answers
1.0m views

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

My system is not dual-boot, I run a standard Ubuntu desktop system "on the metal" (I think running it in a VM is the same). Pressing c while booting does not cause the GRUB menu to appear (which I ...
71
votes
9answers
331k 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 ...
77
votes
1answer
198k 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?
36
votes
3answers
142k 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 password? However, then I go to "root" or "netroot" recovery options, it tells me: Give root password ...
175
votes
12answers
986k views

Uninstall GRUB and use Windows bootloader

I have Windows 8 pre-installed, and then I installed GRUB with Ubuntu. Ubuntu is not my thing, so now I want to remove it along with GRUB. From what I have learned, with UEFI, GRUB does not overwrite ...
51
votes
5answers
455k 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. ...
17
votes
2answers
13k views

Bash script to backup/clone Ubuntu to another partition

Ubuntu 18.04 came out April 26, 2018 and I want to try it to upgrade my programs and convert my data but don't want to commit if there are bugs. I've shrunk Windows from 410 GB to 385 GB, rebooted ...
227
votes
10answers
760k views

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

In Ubuntu 12.04 (or above), how do I set the GRUB time and the default OS (that I see at boot time) as I'm dual-booting Windows (7/8) and Ubuntu (12.04 or above)?
65
votes
6answers
388k 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 ...
80
votes
5answers
255k views

Windows 10 upgrade led to grub rescue

I was dual-booting Windows 7 and Linux Ubuntu on my desktop, and today is the day they gave out free Windows 10 upgrades. How exciting! I got the update, and it was installing, and I left to go take ...
87
votes
12answers
394k views

GRUB does not detect Windows

I have finally installed Ubuntu on my second drive. When I start my computer GRUB only offers me to boot Ubuntu, not Windows 7. What needs to be done so that I can choose between Ubuntu and Windows in ...
117
votes
5answers
262k views

Set “older” kernel as default grub entry

I installed a mainline kernel for testing purposes. I would like to set grub to boot from the older kernel by default. I know I can set the GRUB_DEFAULT=0 setting for the first page of grub but how ...
85
votes
12answers
250k views

16.04 new installation gives grub-efi-amd64-signed failed installation /target/ ubuntu 16.04 at the end

I am installing Ubuntu 16.04 in an Intel NUC computer with UEFI enabled. I am using an SSD from another computer. During the installation I chose Erase the disk and make a new full install At the end ...
69
votes
12answers
249k views

How can I reinstall GRUB to the EFI partition?

I want to reinstall GRUB 2 and I found these instructions: How to Repair, Restore, or Reinstall Grub 2 with a Ubuntu Live CD or USB. In my case, the boot loader is installed in the EFI partition. If I ...
9
votes
1answer
16k views

Is it still possible to install Ubuntu to an external harddrive with UEFI?

It looks like installing Ubuntu to an external harddrive isn't possible with UEFI, where as with MBR there wasn't a big difference between external and internal. Is that true or is it still possible? ...
4
votes
1answer
4k views

'Upgraded' to Windows 10 on dual boot, and can't boot to Ubuntu partition

I recently updated my windows 7 to 10, and destroyed grub in the process. I ran Boot-Repair on a live CD and managed to get the Windows Partition back. However grub still doesn't come up for me. The ...
42
votes
1answer
286k 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 ...
80
votes
4answers
250k 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 ...
26
votes
4answers
163k 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 ...
103
votes
14answers
314k views

Windows 10 upgrade kills grub and boot-repair doesn't help

I've just upgraded to Windows 10 from Windows 8.1 on my partitioned laptop that has Ubuntu 14.04 installed. Grub no longer appeared on boot so I ran boot-repair from an Ubuntu liveUSB. This didn't ...
97
votes
4answers
428k 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 ...
76
votes
4answers
882k views

GRUB rescue problem after deleting Ubuntu partition! [duplicate]

After I deleted my Ubuntu partition, I rebooted my computer and I only get a prompt: grub rescue > The command ls lists (hd0) (hd0,msdos5) (hd0,msdos3) (hd0,msdos2) (hd0,msdos1) (hd1) (hd1,...
49
votes
9answers
321k views

Add Windows 10 to GRUB OS list

I recently got a computer from school. It came with Windows 8.1 installed. I then installed another copy of Windows 8.1 (so it would use the built-in Windows Pro license) and upgraded it to Windows 10....
12
votes
6answers
142k views

Dual-boot boot menu does not show up after installing Ubuntu 15.10 alongside Windows 10

I have installed Ubuntu 15.10 alongside Windows 10 with UEFI. To install Ubuntu, I chose the option install alongside Windows 10 or something similar to this. Then I created a new partition for Ubuntu ...
25
votes
4answers
69k views

How to make grub menu appear instead grub minimal bash-like in booting?

This keep happening when I install the Ubuntu as a dual boot for my laptop. I get a black that appears when booting with the following messages. Minimal BASH-like line editing is supported. For ...
51
votes
3answers
43k views

Ubuntu 16.04 slow boot (apt-daily.service)

My boot is horribly slow, and I don't know why. $ systemd-analyze Startup finished in 10.975s (kernel) + 49.732s (userspace) = 1min 708ms $ systemd-analyze blame 34.971s apt-daily.service ...
70
votes
6answers
897k views

How to fix "error: unknown filesystem. grub rescue> [duplicate]

I get this error: Error: unknown filesystem. grub rescue> I'm not exactly sure what I did. I believe I installed Ubuntu over Windows on my Acer netbook. I then tried to install Linux Mint, but it ...
32
votes
6answers
299k 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 ...
69
votes
6answers
430k 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 partitions ...
0
votes
2answers
219 views

Dual Booting W10/Ubuntu with 2 separate SSDs in UEFI mode

I have 2 drives installed in my desktop. 1TB NVMe (shows up as /dev/nvme0n) 2TB SSD (shows up as /dev/sda) The NVMe has Windows 10 installed, and later had Ubuntu 20.04 installed alongside it. I ...
76
votes
6answers
191k views

How do I run update-grub from a LiveCD?

Okay, so I did something stupid. I was trying to clean up my Grub entries, and accidentally removed all of my Linux kernels from Grub (they're still on the hard drive). So now, obviously, Grub doesn'...
101
votes
6answers
188k views

How can I show or hide boot messages when Ubuntu starts?

Is there a way to easily turn on/off showing the boot messages (loading the services) when Ubuntu starts? Is it something in Grub2? I am running 10.04.
31
votes
2answers
70k 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: ...
27
votes
7answers
117k 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 ...
27
votes
1answer
50k views

Workaround to Install Ubuntu 20.04 with Intel RST systems

I tried to install Ubuntu 20.04 in my Dell G5 which has 2 drives. One with Windows 10 on it (256 GB) and another one with 1 TB capacity. I shrunk the volume of 1 TB by 150 GB and tried to install ...
12
votes
5answers
32k 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) ...
55
votes
6answers
467k views

Failed to get canonical path of /cow

I am trying to install Ubuntu 12.10 for quite some time, and passing hurdles one by one. Now I am in a situation as follows. I have got a PC and 10 GB HDD which will be totally dedicated to Ubuntu so ...
24
votes
3answers
137k views

How to add a GRUB2 menu entry for booting installed Ubuntu on a USB drive?

I am not asking how to boot the LiveCD from a USB. I have 2 Ubuntu installations, one on my computer's internal hard drive and another on a USB drive. Is there a way to add a GRUB2 menu entry (to ...
74
votes
7answers
13k views

How to secure my laptop so that hacking by physical access is not possible?

I messed up my system earlier, I was greeted with a black screen, when booting in to Ubuntu. When I started up my laptop, I selected the recovery option from the grub menu, and chose fallback at root ...
28
votes
3answers
41k views

How do I get a live-USB to use a partition for persistence?

I want to install Ubuntu to a USB hard drive so that it will run on all systems, that can run the LiveCD and store persistent data on a regular ext4 partition rather than a casper-rw file. In every ...
38
votes
8answers
198k 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 ...
16
votes
7answers
23k views

How do I boot an ISO file from my drive using grub2 on UEFI machines?

I have a bunch of live ISO files like GParted, CloneZilla, Boot-Repair, Ubuntu 14.04 32 bit, ... downloaded in /opt and on my old BIOS machine, I used to be able to just add them to the grub menu and ...

1
2 3 4 5
33