Questions tagged [grub]
This tag is ambiguous: use grub2 or grub-legacy as appropriate.
1,606
questions
132
votes
10
answers
370k
views
Set the default kernel in GRUB
How can I pick which kernel GRUB 2 should load by default? I recently installed a Linux real-time kernel and now it loads by default. I'd like to load the regular one by default.
So far I only managed ...
73
votes
11
answers
262k
views
What is the equivalent of 'update-grub' for RHEL, Fedora, and CentOS systems?
In Ubuntu (and I guess in Debian too) there is a system script named update-grub which automatically executes grub-mkconfig -o with the correct path for the GRUB configuration file.
Is there a similar ...
66
votes
10
answers
353k
views
How to start a windows partition from the Grub command line
I have Windows 10 HOME installed on my system. After I installed Windows 10 HOME, I installed Ubuntu 14.04 LTS on a separate partition so that I could dual boot.
I removed Ubuntu 14.04 LTS by ...
45
votes
5
answers
356k
views
Cannot find EFI directory: issue with grub-install
I was trying to rescue GRUB in Linux. I was able to login in the OS following this tutorial:
https://www.lisenet.com/2014/grub2-rescue-mode-error-unknown-filesystem/
I have to upgrade GRUB to fix ...
40
votes
5
answers
94k
views
How to switch arch linux to lts kernel?
I'm running a headless server installation of arch linux. The high rate of kernel upgrades caused me some maintainance headache and I therefore wish to switch to the lts kernel.
I already installed ...
40
votes
1
answer
84k
views
GRUB_CMDLINE_LINUX_DEFAULT vs GRUB_CMDLINE_LINUX
What is the difference between these two options in /boot/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
39
votes
2
answers
324k
views
Boot windows from grub rescue command prompt
Previously I had installed the Ubuntu 10.04 and Windows 7.
Now I logged on to Windows, opened the partition editor and deleted the volume containing the Ubuntu - I thought it will delete the Ubuntu ...
39
votes
2
answers
64k
views
A new version of configuration file /etc/default/grub is available, but the version installed currently has been locally modified
I am using 3.2.0-4-amd64 #1 SMP Debian 3.2.46-1 x86_64 GNU/Linux Debian GNU/Linux 7.1 (wheezy) Release: 7.1.
I typed "sudo apt-get upgrade" and hoped for the best (I updated all my packages just ...
38
votes
2
answers
61k
views
What do the kernel parameters acpi_osi=linux and acpi_backlight=vendor do?
I had troubles with the screen brightness control in my laptop and I fixed it by adding the acpi_osi=linux and acpi_backlight=vendorparameters to the filegrub.cfg.
I'd like to know what these ...
37
votes
1
answer
66k
views
"EFI\boot\bootx64.efi" vs "EFI\ubuntu\grubx64.efi" vs "/boot/grub/x86_64-efi/grub.efi" vs "C:\Windows\Boot\EFI\*"
I have installed Ubuntu 19 64bit alongside Windows 10 64bit and I found that I have 3 different EFI files in different locations:
EFI\boot\bootx64.efi
EFI\ubuntu\grubx64.efi
/boot/grub/x86_64-efi/...
34
votes
5
answers
38k
views
How to stop update-grub from scanning all drives?
Every time update-grub is run all hard drives are scanned. Each drives that is in standby state will spin up to go idle. This is a waste of energy. We use update-grub version 1.98:
# update-grub -v
...
27
votes
1
answer
26k
views
How does the grub efi loader find the correct grub.cfg and boot directory?
As I understand it, the uefi bios loads grub.efi from the efi partition. This now loads a bunch of grub modules and the configuration file from the /boot directory.
But how does grub find the correct ...
25
votes
6
answers
125k
views
How do I change the GRUB boot configuration from within Windows?
I currently dual boot Windows 7 and Fedora 14, using GRUB, with Windows 7 as my default. I know that from Fedora, I can set GRUB to boot into Fedora, overriding the default, on the next reboot. Is ...
19
votes
5
answers
120k
views
Laptop boots directly to Ubuntu, can't access BIOS or Boot menu anymore
I'm running Laptop with single OS: UbuntuMATE 15.04 Beta1 64bit on Toshiba laptop Core i3. After burning "Elementary OS" on a live USB drive using UNetbootin, what happened is:
-After reboot, laptop ...
18
votes
3
answers
11k
views
Is the entire kernel loaded into memory on boot?
I read through this popular IBM doc (I see it referred quite often on the web) explaining the function of the initial RAM disk.
I hit a wall in conceptualizing how this works though.
In the doc it ...