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".
1,813
questions
426
votes
14
answers
1.1m
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?
52
votes
20
answers
320k
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?
768
votes
40
answers
1.3m
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 ...
135
votes
3
answers
642k
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 ...
15
votes
7
answers
75k
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 ...
452
votes
8
answers
1.9m
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 ...
249
votes
3
answers
684k
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?
104
votes
10
answers
484k
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 ...
449
votes
10
answers
1.4m
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 ...
91
votes
1
answer
250k
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?
289
votes
16
answers
904k
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?
42
votes
3
answers
164k
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 ...
247
votes
13
answers
1.4m
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 ...
18
votes
2
answers
20k
views
Backup/clone live to a new partition which can be booted
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 ...
66
votes
9
answers
577k
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. ...
163
votes
8
answers
345k
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 ...
261
votes
10
answers
926k
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)?
69
votes
6
answers
418k
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 ...
106
votes
13
answers
551k
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 ...
82
votes
5
answers
258k
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 ...
93
votes
13
answers
431k
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 ...
85
votes
12
answers
260k
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 ...
9
votes
1
answer
18k
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?
...
5
votes
1
answer
5k
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 ...
107
votes
5
answers
535k
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 ...
83
votes
4
answers
264k
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 ...
27
votes
4
answers
165k
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 ...
44
votes
1
answer
303k
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 ...
31
votes
4
answers
95k
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 ...
112
votes
14
answers
327k
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 ...
1
vote
2
answers
1k
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 ...
61
votes
9
answers
431k
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....
42
votes
1
answer
99k
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 ...
17
votes
6
answers
203k
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 ...
114
votes
6
answers
232k
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.
90
votes
7
answers
237k
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'...
79
votes
4
answers
915k
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,...
53
votes
3
answers
46k
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
...
26
votes
3
answers
174k
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 ...
76
votes
6
answers
1.0m
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 ...
72
votes
6
answers
445k
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 ...
61
votes
7
answers
584k
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 ...
32
votes
6
answers
302k
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 ...
6
votes
5
answers
27k
views
Installing Ubuntu in a external hard drive and NOT placing GRUB of my C: hard drive
what I want to do is this.
I have an external hard disk drive, a SEAGATE expansion 1TB, you can take it a look here:
http://www.seagate.com/external-hard-drives/portable-hard-drives/standard/expansion-...
45
votes
9
answers
327k
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 Xubuntu 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 ...
32
votes
2
answers
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
7
answers
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 ...
12
votes
5
answers
33k
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)
...
7
votes
3
answers
18k
views
20.04 booting .iso from GRUB menu
I'm trying to boot a Ubuntu .iso image from GRUB. In Full Circle magazine, #157 page 61, they describe how to do this. It doesn't work.
I edited /etc/grub.d/40-custom, and added the following...
# ...
39
votes
9
answers
210k
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 ...