Questions tagged [multiboot]

GNU Multiboot is a specification of the interactions between bootloaders and kernels. It is designed to ease the writing of kernels and to create a richer interface for a just booted kernel than the raw BIOS interfaces.

GNU Multiboot is a specification of the interactions between bootloaders and kernels. it is designed to ease the writing of kernels and to create a richer interface for a just booted kernel then the raw BIOS interfaces. It is used by a number of kernels, including:

  • L4
  • Xen
  • GNU Hurd
  • ESXi
  • Linux
  • BSD

The main bootloader that implements it is GNU GRUB, which is also the reference implementation.

66 questions
1
vote
1 answer

multiboot2 header to properly go into "EFI amd64 machine state with boot services enabled" - hlt instruction not working?

I have a simple setup of a basic start.asm (nasm assembler) and a multiboot2_header.asm that get linked together once compiled. The multiboot2 header is at the beginning of the final ELF64-x86_64-file. To run it, I use QEMU -> OVMF (UEFI) -> GRUB ->…
phip1611
  • 5,460
  • 4
  • 30
  • 57
1
vote
1 answer

Grub report that "NOT SUPPORT TAG 0x0a"

I'm making a OS Grub report that "NOT SUPPORT TAG 0x0a",if its real.Then I will not be able to specify the address where the kernel is loaded. So how do I link? Or is the target address specified in the standard by grub? this is my header .section…
AlanCui
  • 137
  • 9
1
vote
1 answer

VirtualBox debian 64. Can't restart my VM after install git ( but if someone know how make a dual boot on 2 drive I take it )

Hi all, everything is in the title. I create my VM debian x64 I Install git with "apt install git-all" and after this steps I can't shutdown my VM with the interface ( I can close the VM with the cross of the windows and click on "shut down" ) but…
Miroika
  • 11
  • 1
1
vote
1 answer

Where can I find information to declare constants for the multiboot header

I am trying to develop my own OS, and following these tutorials. https://wiki.osdev.org/Bare_Bones I understand i will be using GRUB/existing boot loader to load "kernel.c". Before the control is handed over to "kernel.c" i understand that the…
1
vote
0 answers

When I add .section to my assembly code it raises an error but when I do not It raises a different error because of the .multiboot section

.set MAGIC, 0x1badb002 .set FLAGS, (1<<0 | 1<<1) .set CHECKSUM, -(MAGIC + FLAGS) .multiboot .long MAGIC .long FLAGS .long CHECKSUM .text .extern _kernelMain .global loader loader: mov $kernel_stack, %esp push %eax push…
Omer Ozhan
  • 63
  • 1
  • 5
1
vote
0 answers

Not generating multibooot header correctly

I'm developing on my little OS. Using Bochs emulator to run it. Currently when I generate final ELF file, GRUB inside Bochs is able to boot from it, but the problem is that currently in C code I have a variable that holds a text that will be…
Cxovrika
  • 125
  • 9
1
vote
0 answers

Expected relocatable expression

I'm trying to compile a sample from Multiboot 2 specification on MacOS using LLVM but I failed at the start. I want to create an object file from boot.S with included multiboot2.h so I call gcc -m32 boot.S but it crashes with error: boot.S:57:15:…
Denis Sologub
  • 7,277
  • 11
  • 56
  • 123
1
vote
2 answers

Add various multiboot options just like WinPE by Strelec on flash drive

So I've been wanting to put a windows 10 ISO on my flash drive, but I have WinPe by strelec already on it. I don't know how I can a windows installer on top of it and I don't even know if that's even possible at all... Please send help I'm a newbie…
user11727226
1
vote
1 answer

Which segment descriptor does Intel assembly command "sgdt" returns

I want to implement 32-bit 4Gb Flat Memory mapping for an application, for this purpose I have to get and update Data Segment Descriptor and Code Segment Descriptors. By using assembly command "sgdt" i can get Global Descriptor Table but I am not…
1
vote
0 answers

grub does nothing after "multiboot /boot/kernel.bin"

Im trying to boot custom kernel with help of grub and qemu. If i start it with "qemu -kernel -m 64 ./kernel.bin" it works fine. Bud if i create iso with "grub-mkrescue -o os.iso ./os/" It start to load grub and screen stay black directories…
ch3ll0v3k
  • 336
  • 3
  • 9
1
vote
1 answer

Visual Studio 2015 - control the linking order

I have an older Visual Studio 2010 project. Recently I re-gained interest in it so I converted it to a VS 2015 project. Everything went fine, no problems were reported, it compiles successfully. Now, the problem with this is that one of the .obj…
user3002428
  • 299
  • 5
  • 17
1
vote
0 answers

Jumping back to GRUB after kernel finish

So, I have a protected mode (32-bit, x86) assembly program that is loaded by GRUB2. It is multiboot-compatible. This program is just intended to be a game, not an operating system. Therefore I would like to use GRUB as a kind of program…
sadljkfhalskdjfh
  • 747
  • 3
  • 10
  • 17
1
vote
0 answers

GRUB2 + VESA BIOS Extensions / VBE broken?

Whereas I did get my earlier problem with building proper boot images fixed, I've been struggling with another GRUB2-related problem for most of the day. The problem is that even though I do set the video info request bit in my multiboot header,…
Vendu
  • 39
  • 1
  • 3
1
vote
0 answers

controlling multi-boot through python

I wrote a bunch of Python scripts that allow me reboot, shutdown, and wake on LAN using Python. The wake on LAN script, for example, uses the network to send a packet which initializes the boot of a machine. The problem is: I'm running some…
cybertextron
  • 10,547
  • 28
  • 104
  • 208
1
vote
2 answers

Access TortoiseSVN local repository from another boot on the same machine?

Is there a way to access the local TortoiseSVN repository from another OS on the same machine? When I try to access it from another OS, I get "Unable to Unable to open an ra_local session to URL" error. Do I have to setup the SVN sever? Thanks!
mbanovic
  • 11
  • 2