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".

6,026 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3 votes
4 answers
24k views

Grub not loading

About a month ago I installed ubuntu 14.04 on my computer. I did not replace the Windows 8 that I was previously using. While ubuntu has by and large been working very well, one issue is that grub ...
Alessandro Power's user avatar
3 votes
1 answer
756 views

Dual boot Ubuntu and encrypted Windows 7

I have a work laptop with Windows 7 installed using Check Point Full Disk Encryption. The HDD was dying, so I installed a larger SSD and copied the contents of the old HDD over to it using dd. So far ...
benshepherd's user avatar
3 votes
0 answers
1k views

iMac will not boot OS X after installing Ubuntu

I installed Ubuntu alongside Mac OS X on my iMac, following HowToGeek's tutorial. Whenever I boot, I get GRUB with the following options: Ubuntu Advanced Options for Ubuntu Mac OS X 32-bit Mac OS X ...
This Guy Does Linux's user avatar
3 votes
0 answers
669 views

Update GRUB with encrypted LVM on second volume/drive?

On one machine I have an encrypted LUKS container around an LVM on /dev/sda that I can boot into. On the same machine is a second drive with an encrypted LUKS container around an LVM on /dev/sdb (that ...
jtd's user avatar
  • 2,375
3 votes
1 answer
949 views

Error occurred while mounting /boot

I wanted to remove Windows 7 and Ubuntu 13.10 from my laptop and just create one partition for Ubuntu 14.04, but this seems to be more difficult then I thought it would be. Installation seems to go ...
user300279's user avatar
3 votes
0 answers
3k views

Reinstalling Grub - shows no volume groups found, how do you fix this?

I have a full backup which I had restored onto a new built system on Ubuntu 12.04 The backup did not include /dev /proc /sys folders. Upon rebooting, the grub show the following errors error: no ...
user275613's user avatar
3 votes
1 answer
171 views

Keyboard not working after installing Windows 8

I had Ubuntu on my Computer. I then installed Windows 8, after which I could not boot from Ubuntu. So I installed GRUB using Boot-repair from a Live USB. Now, when I boot and see GRUB, I can use my ...
RMore's user avatar
  • 61
3 votes
1 answer
255 views

Ubuntu waits for keypress with purple screen

I have a HP ProBook 4515s with 13.10 on it. When I boot it, it always hangs on the purple screen, before The Ubuntu logo appears. It is not stuck, but it waits until I press any key (I do mean any). ...
Frank's user avatar
  • 189
3 votes
0 answers
433 views

GRUB USB not working in windows 7

I have just re-installed Windows 7 in EFI mode (getting everything working in a new EFI enabled mode) and used boot-repair to get GRUB working again. However when booting into Windows, there is a ...
Negatron99's user avatar
3 votes
1 answer
197 views

Consolidating hard disks into one machine leads to GRUB "A disk read error occurred" with Win7

Situation: My older Win7 laptop died (power issues). My new Kubuntu computer has an extra drive bay, so I'm trying to get dual boot to make them play nice together in the same machine. Both drives ...
Traceless's user avatar
3 votes
0 answers
1k views

Attempt to read or write outside of disk hd0 problem

I installed ubuntu 13.04 on a 16GB usb memory (full installation, not live usb) and boot it with vmware player 6 + plop under windows 7 64-bit host. To avoid windows format complain, I created a ...
Lei's user avatar
  • 31
3 votes
1 answer
563 views

How to partition and install Ubuntu?

I'm using my Ubuntu LIVE 12.04 LTS CD because I have no other OS that is functional. My Vista Home Premium 64-bit crashed repeatedly, and I have no intention of paying for anymore Windows OS. Here's ...
Lyric Lover's user avatar
3 votes
2 answers
914 views

Can't load Windows 8 from Grub 2.0 (Ubuntu 13.04)

Just installed dual-boot Ubuntu 13.04 on my self-built Windows 8 Pro PC, and after the installation I restarted, and once I was prompted with GRUB 2.0 I tried to boot Windows 8, and a few seconds ...
user155417's user avatar
3 votes
1 answer
580 views

Have to CTRL+ALT+DEL to get GRUB menu HP Pavilion ze2000 Ubuntu 12.10

I've got a HP Pavilion ze2000 with a fresh install of Ubuntu 12.10 and after I got my wireless working, (https://askubuntu.com/questions/266408/12-10-hp-pavilion-ze2000-wireless-doesnt-work) I'm ready ...
JB0x2D1's user avatar
  • 31
3 votes
1 answer
641 views

Cannot get windows 8 to boot after ubuntu 12.10 install (different hdds)

I just took the plunge into Linux, with Ubuntu 12.10. Not knowing if I would like Ubuntu enough for it to become my main OS, I installed it alongside of my existing OS, windows 8. When installing ...
mitchel's user avatar
  • 31
3 votes
0 answers
451 views

How to modify which keys make the grub menu appear

Sometime I need to access grub. I have the timeout to 0 but I can still call the grub menu by pressing ESC or leaving SHIFT pressed. What I want is to change that so for example, to get the grub menu ...
Luis Alvarado's user avatar
3 votes
2 answers
3k views

How to remove grub2 in favor of another linux installation grub

I'm using Arch Linux Windows 7 And Ubuntu on the same machine, I installed first Windows 7 Then Arch Linux and Then Ubuntu. The problem is that the grub 2 on Ubuntu is not recognizing my arch Linux ...
dhampir's user avatar
  • 131
3 votes
2 answers
207 views

Can I edit login script

Can I edit login script? For I want to restrict the user to only have 3 login attempts. If the user fails to login in after 3 attempts, the system must shutdown. Is this possible?
SachiN's user avatar
  • 71
3 votes
0 answers
96 views

Three file not found errors before Grub menu appears - caused by 12.10 upgrade

After just upgrading to 12.10, I see three Error: File Not Found lines flash up on the screen at the very start of bootup, just before the grub menu appears. The system still works properly after that....
Jazz's user avatar
  • 2,737
3 votes
2 answers
2k views

Dual booting Windows 7 and Ubuntu 12.10 on UEFI laptop

I have a notebook pre-installed with Windows7 and I installed Ubuntu 12.10 on it following the standard installation steps in the installation image. The only problem is that on reboot the machine ...
fccoelho's user avatar
  • 141
3 votes
1 answer
350 views

Windows Repairs Itself After Ubuntu Boot

I have a custom built computer in my home which was running Windows 7 primarily. After I installed Ubuntu 12.04 and upgraded to 12.10, Windows 7 has to perform startup repair after every Ubuntu boot ...
pjtatlow's user avatar
  • 593
3 votes
1 answer
404 views

How Grub top title can be changed

I am just wondering that 'How I can change the title on very top for Grub' - where it's written like 'GNU Grub version 1.99-21ubuntu3.4'? I am not asking for the menu entry, or to change labels of ...
raihanchy's user avatar
3 votes
1 answer
2k views

Grub menu screen flicker

I am having a strange problem on my Dell Inspiron 1505 laptop. When starting the computer the grub screen flickers or every few seconds. I don't know if it would be called a flicker. The screen ...
Tim's user avatar
  • 31
3 votes
1 answer
1k views

How to make Grub display after installing Ubuntu on a laptop with Windows OS?

I just installed Ubuntu 12.04.1 on a laptop, but whenever I turn on my computer, it still boots to Windows and GRUB doesn't seem to be working at all. My partition scheme is as follows: /dev/sda1 - ...
Lucas's user avatar
  • 31
3 votes
1 answer
453 views

Dual boot with encrypted Windows partition

I tried to make the Windows option on GRUB boot menu the default by following the instructions I found on the internet. The instructions were good, graceful but since I encrypted the Windows partition ...
Max's user avatar
  • 33
3 votes
2 answers
6k views

No boot option after installing Ubuntu 12.04 LTS on Acer Aspire 4736z with Live CD

I am facing a problem. After installing Ubuntu 12.04 LTS using Live CD, at the reboot there is no boot option to choose the OS. I directly get logged into my Windows 7. Before that i was having an ...
utamaku's user avatar
  • 31
3 votes
1 answer
1k views

Set boot option to hotkey in GRUB?

I want to set GRUB to boot up a particular option (eg, A different kernel version, different OS) when a certain key is pressed (eg, W to boot up windows with Ubuntu as default and L for Lubuntu). Is ...
CGriffitt's user avatar
  • 171
3 votes
3 answers
7k views

grub2, using variables to pass to linux entry

I have the following variable in a grub.cfg file. BOOT_PARAMETERS="rootwait rootfstype=ext4 rootimage=$BOOT_ROOT_IMAGE_NAME root=$ROOT_DEVICE console=none intel_idle.max_cstate=1 quiet" ...
Paul Knopf's user avatar
2 votes
0 answers
47 views

Moving an ubuntu installation to another partition

Mostly out of curiosity: Say that I have a secondary partition, and I copy the current instalation to it with rsync -av --exclude={/media,/home,/proc,/dev,/sys,/tmp,/run,/mnt} / /media/new and add it ...
josinalvo's user avatar
  • 6,947
2 votes
0 answers
262 views

how does grubx64.efi locate its grub.cfg file?

I try to understand how Ubuntu's grubx64.efi find the three-command (search, set, configfile) grub.cfg which points to the menu-creating grub.cfg. I have grubx64.efi both on my internal and an ...
Arbiel's user avatar
  • 33
2 votes
0 answers
137 views

grub error on installing ubuntu on dual boot with windows

I have tried to install Ubuntu latest version on my computer hp pavilion dv6 using rufus i have copied Ubuntu iso image on my flash drive and restart my pc , on bootloader option i chose my flash to ...
Eiman Maghfouri's user avatar
2 votes
0 answers
106 views

Prevent Grub resolution reset during startup

I have set a custom Grub resolution, but around 3 seconds into the boot sequence the display reverts to the native screen resolution. The screen is a small but high-resolution touchscreen (13", ...
Ian Mackinnon's user avatar
2 votes
3 answers
710 views

Someone else experienced boot failures with the 5.19.0-45-generic kernel version?

I don't know when this version was installed. But yesterday the system send me a notice that thought to apply the update requires a system reboot. I did this and after that, the system boot failed. ...
adampweb's user avatar
  • 141
2 votes
0 answers
259 views

dual boot Ubuntu and windows 10 black screen

this is an image from the additional drivers i originally had windows 10 installed on my Lenovo IdeaPad Gaming 3 15IMH05 laptop which has the following specs 16.0 GiB Ram Intel® Core™ i7-10750H CPU @ ...
ahmedabdalh66's user avatar
2 votes
0 answers
871 views

Ubuntu 23.04 get's stuck in a grey screen with mouse curser after login

My Ubuntu 23.04 install boots normal, but after I log into my user account it gets stuck at an grey screen and does not react to any input anymore. If I boot into recovery mode and select fsck and ...
user avatar
2 votes
0 answers
157 views

Why does my Ubuntu laptop sometimes fail to wake up from sleep mode? (logs included)

I have an Origin laptop with Ubuntu 22.04.2 LTS. I can usually put the laptop in sleep mode and wake it back up. But about one in every 4 times, I wake the laptop up, I can use it for about 15 seconds ...
MW2023's user avatar
  • 121
2 votes
0 answers
122 views

Custom kernel giving an error ALERT! UUID=<my-/dev/sda5-uuid> does not exist. Dropping to shell

I have compiled and installed a custom kernel version in Ubuntu 22.04 by following the instructions in https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel Now when I select my new customized kernel (5....
sammy17's user avatar
  • 29
2 votes
0 answers
548 views

BLACKLOTUS UEFI virus: windows cannot avoid but how about Ubuntu?

Windows is facing a serious threat but what about Ubuntu? Is there any way to avoid UEFI in the boot process or not be affected by BLACKLOTUS? https://www.schneier.com/blog/archives/2023/03/blacklotus-...
serros's user avatar
  • 37
2 votes
0 answers
367 views

How relevant is Grub password protection in the cloud?

I see a recommendation from a vulnerability scanning tool running in AWS EC2, targeting an instance running Ubuntu 20.04: GRUB bootloader is not password protected. An attacker can use the GRUB ...
Indigenuity's user avatar
2 votes
1 answer
2k views

Ubuntu 22.04 stuck at boot screen

My computer won't boot. I've tried: Purge Nvidia drivers Start with nomodeset fsck (It didn't run because /dev/sda3 was always mounted.) apt update Removing quiet splash * Results of journalctl : ...
KingTube's user avatar
2 votes
0 answers
854 views

Fix Grub2 boot with encrypted root LUKS partition

I currently have 3 different boot partitions: Windows 11 on nvme0n1 Fedora 35 on nvme1n1 Ubuntu 22.04 on sdc with an encrypted root partition on sdc4 When I initially configure the system the ...
HFR1994's user avatar
  • 121
2 votes
0 answers
652 views

Cannot update the grub with correct command, how to do it

$ grub-mkconfig -o /boot/grub/grub.cfg is the command I run and I get below /usr/sbin/grub-mkconfig: 12: /etc/default/grub: quiet: not found my problem is in this link https://paste.ubuntu.com/p/...
Atul Modi's user avatar
2 votes
0 answers
193 views

Unable to use Windows 10 from GRUB menu and other problems in Windows 10 after installing Ubuntu

I have a Windows booting issue while using Ubuntu along with Windows 10. Ubuntu works normally. Windows seems to be booting with a partition error. Windows 10 only works after going to boot menu (F12),...
salmanap's user avatar
2 votes
0 answers
200 views

I can't install/uninstall .deb packages because dpkg is being interrupted

Whenever I try to install/uninstall any .deb packages I got this error: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' When I run sudo dpkg --configure -a, then the /etc/...
John's user avatar
  • 21
2 votes
0 answers
1k views

Why does Ubuntu 22.04 LTS install continue to fail with 'grub-install /dev/sda failed' error message?

Goal: I am trying to install Ubuntu onto a Dell XPS 8900. Problem: I can't get through an Ubuntu install without the install interrupting with Unable to install Grub in /dev/sda, Executing 'grub-...
MrDrago9's user avatar
2 votes
1 answer
126 views

No signal after `sudo update-grub`

Had issue of booting to grub command line Stuck at GRUB command line so ran suggestion of sudo update-grub and then did a reboot. Now computer fan come on but absolute no signal. No bios, grub or ...
Tim's user avatar
  • 129
2 votes
0 answers
2k views

How can I properly debug a faulty 22.04 LTS Server autoinstall done with the new subiquity frame?

edit2: Over the 2 weeks with subiquity and cloud-init, I pieced together a new shell script with example user-data file and an altered grub.cfg as the one by covertsh did not work for me any longer ...
Seemax's user avatar
  • 83
2 votes
1 answer
900 views

Load grub menu when running ubuntu 22.04 LTS on VMware workstation 16 player

How to load grub menu while booting ubuntu 22.04 LTS on VMware workstation 16 player to get back sudo access to the user Also how to boot ubuntu on VMware ?
Yashika's user avatar
  • 21
2 votes
1 answer
179 views

Ubuntu 18.04 not detected upon cloning to 8 TB SSD

Hello everybody out there using Ubuntu, Since I was running out of disk space, I cloned my Ubuntu 18.04 installation from a 4TB SSD (Samsung) to a 8TB SSD (also Samsung) using dd. Afterwards, I ...
NicolasBourbaki's user avatar
2 votes
1 answer
491 views

I can't use apt install anymore after upgrade

I've seen a few issues on the same problem but I can't seem to find a fix for my particular case. So here I go. I have an issue with my apt and dpkg installations. While trying to download a package (...
FatBaz's user avatar
  • 31