When I went to try the .iso on my real hardware, it just sent me to the GRUB shell (from the USB drive, not from the HDD install), and I couldn't boot into my image.
When I tried to boot into the .iso in Qemu, instead of just not booting, it produced an extremely corrupted VGA-text output, and seemed to be jumping in an infinite loop from GDB's perspective.
Again, I'm just using the commands provided by the Bare Bones tutorial right now, and they've worked up until recently (code is available in the Github repo in my signature). Has anyone had troubles with GRUB like this before, producing corrupted / unbootable .iso images?
For quick reference, these are the commands I run and the output I receive:
Code: Select all
cp ./output/os.bin ./utils/grub/boot/os.bin
grub-mkrescue -o ./output/os.iso ./utils/grub
Code: Select all
xorriso 1.5.4 : RockRidge filesystem manipulator, libburnia project.
Drive current: -outdev 'stdio:./output/os.iso'
Media current: stdio file, overwriteable
Media status : is blank
Media summary: 0 sessions, 0 data blocks, 0 data, 115g free
Added to ISO image: directory '/'='/tmp/grub.dDokt4'
xorriso : UPDATE : 294 files added in 1 seconds
Added to ISO image: directory '/'='/root/nox/utils/grub'
xorriso : UPDATE : 298 files added in 1 seconds
xorriso : NOTE : Copying to System Area: 512 bytes from file '/usr/lib/grub/i386-pc/boot_hybrid.img'
ISO image produced: 2497 sectors
Written to medium : 2497 sectors at LBA 0
Writing to 'stdio:./output/os.iso' completed successfully.