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
0
votes
1 answer

grub insmod error incompatible license

I am using grub 2.02. When I attempt to load a module (for testing purposes), the loader fails, with an error " incompatible license". This is one of those obscure problems which seems to be related to version control issues. I haver tried the…
0
votes
2 answers

Compiling GRUB on Cygwin (64 bit)

I'm using 64 bit Cygwin on Windows 8.1 for some basic operating system development. I'd like to use the utilities that come with GRUB 2.00 (such as mkrescue and mkimage) as my kernel is Multiboot 2 compatible and I'm booting from CD. I have no…
AJ.
  • 1,621
  • 1
  • 10
  • 23
0
votes
2 answers

How to use real mode BIOS / VESA calls from GRUB?

I am developing a simple Grub module which would enable some additional video settings/initializations at the early stage of the boot process. My actual best idea would be to use some VESA calls for the task. Unfortunately, recently I've found real…
peterh
  • 11,875
  • 18
  • 85
  • 108
0
votes
1 answer

GRUB2 Makefile (Makefile.core.def)

In grub2/grub-core's Makefile.core.def, module = { name = regexp; common = commands/regexp.c; common = commands/wildcard.c ldadd = libgnulib.a; cflags = '$(CFLAGS_POSIX) $(CFLAGS_GNULIB)'; cppflags = '$(CPPFLAGS_POSIX)…
user2719735
  • 97
  • 2
  • 10
0
votes
1 answer

Connecting a Kernel with GRUB or some other assembly bootloader

I have been following this kernel (http://www.cs.vu.nl/~herbertb/misc/writingkernels.txt) and have got down to the part where it is linked with grub. However, I do not have stage1 and stage2 in /boot/grub/ (Linux mint x64). Also when I write…
Kinggadino
  • 47
  • 9
0
votes
2 answers

Booting assembly written kernel with grub

I know that with a simple kernel this small I don't actually need to boot it with GRUB but I am trying to learn how to do this before my kernel gets big and I need to boot it. I have written a simple kernel with assembly using the real mode assembly…
0
votes
1 answer

QEMU no graphic mode issue

I converted a virtualbox (.vdi) to .raw for using in the QEMU. But when I run the qemu with these switches (-nographic -curses) a page comes up "1280 x 1024 Graphic mode" and it seems the kernel never loads. If I don't use the -nographic switch it…
AmirC
  • 326
  • 5
  • 14
0
votes
1 answer

Grub won't make on Cygwin

It seems that information about using the two together is not easy to come by. When trying to make I get some fun errors. I was wondering if my version of gcc (4.7) won't cut it or I'm lacking a dependency. I included... GCC GNU Make GNU Bison GNU…
0
votes
1 answer

Making a bootable pendrive for custom kernel

I read the tutorials to make a mimalistic custom kernel from here and am able to boot it up as explained in the tutorial over a virtual machine using GRUB as the boot loader. I think it would be more fun if I could do the same over bare hardware…
Amit Tomar
  • 4,800
  • 6
  • 50
  • 83
0
votes
1 answer

Using sed to input a grub MD5 bootloader password

I am having issues using sed injecting a password into the grub.conf file. Here is the syntax I am using: sed -i /^timeout/s/$/"\npassword -md5 $1$ctuLL1$V4DZinO.4eTYjsGXOfU1F/" /boot/grub/grub.conf Grub MD5:…
0
votes
1 answer

How to add ubuntu 12.10 entry to grub menu list?

I removed my ubuntu 12.10 entry while editing menu.lst file. can anyone give me a sample file containing the ubuntu 12.10 entry in menu.lst file. It should be something like this: title Ubuntu 12.10 kernel initrd my ubuntu…
sonya kochooloo
  • 114
  • 1
  • 5
0
votes
2 answers

echo in a bash script changing '--md5' to '?-md5'

I'm writing a VMWare ESX automated build script and I'm falling at the last hurdle, probably as I'm really not strong at scripting. I need to secure Grub so in my script I have a like saying; echo "password --md5 password-converted-to-md5" >>…
Chopper3
  • 298
  • 2
  • 8
0
votes
2 answers

Edit a file using grub

I did a really bad mistake in the rc.local boot file. I added a process with an infinte loop to the list in this file so that my arch linux distro is not able to boot completly because this process blocks the further boot procedure. Is there a way…
user1936508
  • 49
  • 2
  • 2
  • 6
0
votes
1 answer

Where is grub stage1.5 code located in the disk?

I am trying to write a stage1 bootloader that will load GRUB stage1.5. So where is its code located exactly? And how can I know how big it is (so I know how many bytes I need to read) ?
KevinRGT
  • 389
  • 2
  • 5
  • 14
-1
votes
1 answer

How to remove grub entries with sed?

I need know how to remove entries in grub.cfg with sed In my case i want remove Windows 10 entrie on sda3 and that is a multiline entrie Thanks