grub Questions

4

Solved

This is the content of the grub.cfg file of my Arch Linux system. # # DO NOT EDIT THIS FILE # # It is automatically generated by grub-mkconfig using templates # from /etc/grub.d and settings from /...
Jakie asked 7/6, 2017 at 21:4

2

Solved

Does anyone know of a python parser for grub2's grub.cfg file? I'm trying to get the "menuentry" by device partition (root), e.g. hd0,msdos1: ['Ubuntu, with Linux 3.0.0-15-generic', 'Ubuntu, wit...
Whitehall asked 12/2, 2012 at 11:31

1

Solved

Context I've seen, mainly, three ways of blacklisting driver modules by appending parameters to the kernel: (i) modprobe.blacklist=driver_name, (ii) rd.driver.blacklist=driver_name, or (iii) last b...
Altonaltona asked 26/7, 2020 at 17:47

1

I'm very new to the C language and have been tasked with modifying GRUB. What a way to learn, right? Anyway, I'm trying to debug my modified GRUB using VMWare and GDB. I've been able to get the deb...
Birthstone asked 11/3, 2020 at 19:23

1

My computer has grub installed. During booting before normal.mod is loaded, I need to be able to run if and while commands in my config file which has been linked into core.img (using grub-mkimage ...
Violoncellist asked 13/8, 2013 at 14:37

3

I would like to ask if it is GRUB that switch the CPU to protected mode during boot up or is it the Linux kernel that does it. And also I would like to ask - is the kernel itself (vmlinuz) an ELF o...
Dibromide asked 27/1, 2011 at 21:10

2

Solved

Change Grub's timeout to 1/10th or 1/100th second intervals Using Grub 2.02 on UEFI system with AMD64 architecture. I'd like to change grub's timeout counter from 1 second intervals to 1/10th secon...
Bobbybobbye asked 14/7, 2018 at 17:39

1

Is it filename wildcard expansion possible in GRUB scripts? Something like: for i in directory/*; do echo $i; done My intention is for GRUB to load different cfg files located in certain direct...
Exorcise asked 14/2, 2017 at 7:23

1

I want to start to write an os kernel, and then, i found a document introducing multboot2 spec. There are three example code files, named boot.S, kernel.c and multiboot2.h, belonging to the multi...
Bloomy asked 21/11, 2016 at 6:35

1

Reason for my question is that Starman seems to believe the GRUB Legacy author's explanation (see for the following inexplicable code: 7C4B EA507C0000 JMP 0000:7C50 ; Long Jump to the next instruc...
Desmund asked 4/1, 2017 at 17:0

1

I want to see GRUB2 debug logs generated by grub_dprintf(), for example, at mmap.c: grub_dprintf ("mmap", "EFI memory region 0x%llx-0x%llx: %d\n", (unsigned long long) desc->physical_start, ...
Sofiasofie asked 22/1, 2016 at 2:39

1

Solved

I'm trying to follow the instructions here to build a simple OS kernel: http://mikeos.sourceforge.net/write-your-own-os.html Except, instead of booting from a floppy, I want to create a grub-based...
Kukri asked 2/11, 2015 at 22:28

3

Solved

I am learning the basic of OS making. I have made a multi boot header compliant .asm file and a .c file. The code in the .asm file calls the main function of .c file. The problem is that QEMU is ...
Thereinafter asked 24/8, 2014 at 7:15

1

Solved

I want to know how to build grub 2 bootloader from it's source in ubuntu and test it with qemu emulator. I would also like to change the default background image of grub2 bootloader in the new bu...
Chanson asked 4/8, 2015 at 1:36

2

Solved

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 fo...
Antidromic asked 10/6, 2015 at 5:13

2

I was running vagrant provision today and it failed with the following error: Package configuration┌──────────────────────────┤ Configuring grub-pc ├──────────────────────────┐│││ The GRUB boot l...
Serious asked 27/8, 2013 at 17:19

1

Solved

I've written a simple kernel that tries to write two characters to the frame buffer. If I define a string literal in the kernel, I get the following output when it boots: Booting 'os' kernel /...
Polar asked 25/2, 2015 at 0:53

2

Solved

I'm trying to boot into read only mode to test some software. I don't want to remount a drive after booting as that would not meet the requirements to test the software which checks the file system...
Engadine asked 3/11, 2011 at 0:34

1

I'd like to load a shared library (closed-source binary user-space library) at boot stage with grub boot-loader. Are there any chances for this or I must write a custom-elf-loader (grub module) to ...
Communize asked 20/8, 2014 at 4:25

1

Solved

From the past week I am puzzled with the question that how the grub first stage boot loader which is only 446 bytes is able to search for the second stage, when the second stage is in a complex fil...
Bookrest asked 10/5, 2013 at 12:41

2

I've been working on a toy OS and have been using grub as my boot loader. Recently when trying to use VGA I found that I couldn't use hardware interrupts. This I found was because I had been slung ...
Stelu asked 18/9, 2008 at 23:19

1

Solved

I'm learning a bit of OS development from OSDev.org. I have a kernel and I'm trying to boot in GRUB Legacy (0.97) using qemu. However, when I type kernel 200+9, I get the message [Multiboot-elf, &...
Crisp asked 14/1, 2013 at 2:52

1

Solved

I debugged small programs using gdb. I have source code of GRUB. Second stage of GRUB is written in C. Can I debug it using gdb ? Is it possible to debug a boot loader ? If yes, then how ?
Nonobjective asked 30/8, 2012 at 20:19

1

Solved

I have grub v1.98 installed and after disassembling the MBR I find the following code snippet that I don't understand: xor ax,ax mov [si+0x4],ax inc ax mov [si-0x1],al mov [si+0x2],ax mov word [si...
Shlomo asked 6/7, 2012 at 7:39

3

Solved

I'm using a barebones tutorial as the basis for an OS I'm working on, and it seems to be an older tutorial: it has be compiling the kernel down to a floppy image, and then loading it with GRUB. Ba...
Calliecalligraphy asked 8/1, 2009 at 19:21

© 2022 - 2024 — McMap. All rights reserved.