help-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Just can seam to figure this out, 452: out of range pointer error


From: Shaun Reitan
Subject: Just can seam to figure this out, 452: out of range pointer error
Date: Fri, 07 Feb 2025 00:06:51 +0000
User-agent: eM_Client/10.1.4588.0

I'm using qemu with KVM acceleration to boot an ubuntu 22.04 instance. The disk is a lvm that is flat. Not partitioning, just an ext4 filesystem. I've build a grub image to be used with the -kernel option of qemu. I've also built and am using custom version of seabios with virtio support.

I'm building the grub kernel using the following command

/opt/grub2-i386/bin/grub-mkimage -O i386-pc -o grub.img normal biosdisk ext2 -p '(hd0)/boot/grub'

The idea here is that the grub kernel will load grub, it's config, and any required modules from the instances disk. I have successfully been able to do this with AlmaLinux/RHEL 9 but for some reason I cannot get it to work with Ubuntu 22.04 LTS. Grub loads, I see the options as expected but when I select an option I immediately get the following error and I can't seam to figure out why. It's driving me crazy.
!
452: out of range pointer: 0xbfec8630


Any idea's what's going on here? Or how to figure out whats going on? Remember the disk is flat, no partitioning and no MBR.

On a side note, if I pull the vmlinuz and initrd from the disk image and use them with the -kernel and -initrd qemu params I am able to boot the instance.

--
Shaun Reitan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]