Questions tagged [grub]

GENERAL GRUB SUPPORT IS OFF-TOPIC. Support questions may be asked on https://superuser.com. GRUB, the GNU GRand Unified Bootloader, is a boot loader used on x86 systems, typically used to boot Linux. Questions about using or configuring GRUB are rarely on-topic for Stack Overflow outside of unusual circumstances.

GRUB is the reference implementation of the Multiboot Specification, which provides a user the choice to boot one of multiple operating systems installed on a computer or select a specific kernel configuration available on a particular operating system's partitions.

As GRUB is not a tool specifically used for software development, questions about it will typically be considered off-topic on Stack Overflow unless it is being used in a particularly unusual manner, e.g. if you are developing custom modules for GRUB, or if you have developed your own operating system kernel.

If you are having a problem with using or configuring GRUB on your computer, please consider asking your question on SuperUser.com, the Stack Exchange site for computer enthusiasts and power users, or on a site specific to the Linux distribution you are using, such as the Ask Ubuntu Stack Exchange or UNIX & Linux Stack Exchange.

171 questions
-1
votes
1 answer

Why u-boot calls grub in rpi3?

I have rpi3. This situation is under the embedded system. The RPI reference shows how to boot Ubuntu. It shows the way that u-boot calls grub and grub calls Linux... and I have tried this chain loading. In that situation, I wonder why u-boot calls…
-1
votes
1 answer

Grub 2, changing shift button

I'm new to linux and bash, so I don't know what am I doing wrong. I set up grub to don't show, and show after pushing shift for 3 seconds. This worked fine. Then I changed line in 30_os-prober (as you can see underneath) which contained 'shift' to…
Misiur
  • 5,019
  • 8
  • 38
  • 54
-1
votes
1 answer

Hide "Loading initial ramdisk ..." splash screen in GRUB2

After a boot entry has been selected in GRUB2, for a short time (1-2 sec) another screen is displayed which shows: Loading initial ramdisk ... I found out how to suppress this output (by setting the variable quiet_boot in…
Bernd
  • 675
  • 2
  • 8
  • 30
-1
votes
1 answer

Install precompiled GRUB 2 to raw image

I have an ext4 image file which wants to be used as a disk image for qemu. I want to install GRUB to it. After some research I found the following commands: Create the image with a size of 5 GB: qemu-img create hd.img 5G Mount it as a loop…
fhmgufs
  • 1
  • 4
-1
votes
3 answers

How to change grub.conf after adding init=/bin/bash

I added init=/bin/bash in grub.conf file, so my linux system is always entering bash when booted. Is there a way to change the grub.conf file so that I can boot Linux again.
Barinder Grewal
  • 49
  • 1
  • 1
  • 6
-1
votes
1 answer

Make attached media bootable

Good evening everyone! I have been working on this for sometime, but can't figure it out. I am simply trying to get the working bootcode of a bootloader installed on an attached media, but can't figure this out!!! I have tried grub legacy, lilo,…
user1646428
  • 179
  • 2
  • 12
-1
votes
1 answer

NST\autoneogrub0.mbr missing

I have an HP Envy Laptop with Windows 8.1 installed. I have disabled EUFI from the boot menu so that I could boot from a flash drive in order to install LUbuntu. I have installed LUbuntu on a 3 separate partitions (the main big one, swap-file and…
Ginger
  • 8,320
  • 12
  • 56
  • 99
-1
votes
1 answer

Resetting Default Grub Boot

I have a system with several Red Hat installations on a single hard drive. I would like to automatically select the default installation to boot during runtime. The Red Hat way of doing this (which differs slightly from the Grub documentation) is to…
SixDegrees
  • 781
  • 1
  • 8
  • 19
-1
votes
1 answer

After updating to Ubuntu 12.0.4, screen does not work if switched on after reboot

We install base images onto our machines to ensure the setup is the same for each of them. Recently, we updated the base image to use Ubuntu 12.0.4 instead of Ubuntu 9.04. We have this weird issue where, if we switch plug in a screen on after…
Zee
  • 1,592
  • 12
  • 26
-1
votes
3 answers

Mount VHD using GRUB2 loopback command

I need to mount a VHD file at grub2 command prompt. I tries using "loopback" command as shown below: grub > insmod ntfs grub > insmod ntldr grub > loopback loop (hd0,1)/test.vhd grub > ls (loop)/ error: unknown filesystem I tried both "static" and…
Fazlin
  • 2,285
  • 17
  • 29
-1
votes
1 answer

Install grub on a disk drive by UUID

There is a way to indicate to grub to install on a device MBR by UUID instead of using /dev/sdX ? I'm setting a external eSATA hard disk with NixOS, and obviusly, the hard disk not would be always the same /dev/sdX device ? I see that I can config…
Zardoz89
  • 590
  • 5
  • 17
-1
votes
1 answer

How to speedup the boot of opensuse studio and show boot messages

I want to create an image that will: show as much info during boot as possible (for coarse profiling of the boot steps) boot as fast as possible to a shell prompt Note: the bootloader is grub2, but I couldn't create the corrsponding tag, so I used…
Igor Stoppa
  • 283
  • 4
  • 12
-1
votes
2 answers

GRUB Multiboot header not found

After reading this this question and it's primary answer, I ran readelf on my kernel, and noticed my .text section was at 0x00101000 and not 0x00100000. I also noticed a section above that read .not.gnu.build-i that was in the place the .text…
-1
votes
2 answers

nixos boot loader extra entry format?

Nixos has a configuration option in the manual for specifying extra entries in the grub menu "boot.loader.grub. extraEntries" but I can't figure out how to make it work for a second linux installation on the same hard disk with its own grub. More…
brittAnderson
  • 1,428
  • 11
  • 25
-2
votes
2 answers

what is magic number to find whether OS on disk present and is it same for all archetectures & devices.Or is it bootloader 2 decide what it should be

I was trying to study bootloader and OS and bios do. So I found this link https://dev.to/frosnerd/writing-my-own-boot-loader-3mld which lead to a lengthy tutorial from a university professor. from the tutorial I read that The way bootloader/bios…
user786
  • 3,902
  • 4
  • 40
  • 72