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

Re: Booting Debian Raspberry Pi image under QEMU?



On Fri, Nov 14, 2025 at 03:06:46PM +0100, didier gaumet wrote:

Hi, Didier

(putting the other interested person in CC since not subscribed)

> Le 14/11/2025 à 14:33, tomas@tuxteam.de a écrit :
> > Hi,
> > 
> > I'm trying to boot a Debian raspberry Pi image under qemu; specifically,
> > it is

[...]

> I am definitely not familiar with the qemu syntax (I only use qemu through
> wirt-manager and my usage is very basic)
> 
> So perhaps am I totally wrong here but I wonder if the -kernel option does
> not imply that the guest and the host must share the same architecture, so
> you could not launch an ARM guest from an AMD64 host, if that is what you
> are trying to achieve (perhaps am I wrong on this subject, too).
> Or perhaps you can directly launch an ARM kernel by copying it in an
> appropriate location on an AMD64 host, I do not know

Oh, so you imply -kernel points to something *outside* of the image? That
might explain the error message nicely! Thanks for the hint, I'll check
as soon as I'm at it again.

> From the Qemu doc:
> https://qemu-project.gitlab.io/qemu/system/linuxboot.html
> 
> And from the qemu-system manpage:
> [...]>    Boot Image or Kernel specific
> >        There are broadly 4 ways you can boot a system with QEMU.
> > 
> >           • specify a firmware and let it control finding a kernel
> > 
> >           • specify a firmware and pass a hint to the kernel to boot
> > 
> >           • direct kernel image boot
> > 
> >           • manually load files into the guest's address space
> [...]

I see how one could read this that way, yes. Thanks again :-)

Cheers
--  
tomás

Attachment: signature.asc
Description: PGP signature


Reply to: