Re: can't boot a Debian on QEMU-mips virtual machine, could be initrd or root device problems
- Date: Mon, 30 Apr 2018 20:48:42 +0300
- From: Reco <recoverym4n@xxxxxxxxx>
- Subject: Re: can't boot a Debian on QEMU-mips virtual machine, could be initrd or root device problems
On Mon, Apr 30, 2018 at 06:58:13PM +0200, Thomas Schmitt wrote:
> i wrote:
> > > Shouldn't there be a bootloader installed in debian_mips32b.img ?
> Reco wrote:
> > No. One of the oddities of QEMU's malta that nobody was able to
> > write a
> > working bootloader for it. OP is doing it the only way that's
> > possible.
> And he has luck to already have found somebody who has seen a MIPS
> more recently than 20 years ago.
> Would my idea to install from ISO work at all ?
> (I have a debian-7.4.0-mips-netinst.iso but feel not really in the
> for trying what would happen.)
$ qemu-system-mips -m 2048 -nographic -cdrom
/tmp/debian-7.4.0-mips-netinst.iso -boot d
qemu-system-mips: Could not load MIPS bios 'mips_bios.bin', and no
-kernel argument was specified
Of course if you happen to have that magic mips_bios.bin lying around -
it may even boot. Or not. Even the installation guide mentions TFTP as a
preferred way to install Debian on MIPS.
Also, that 'iso' is no way a conventional ISO9660 or UDF image:
$ file -sL /tmp/debian-7.4.0-mips-netinst.iso
/tmp/debian-7.4.0-mips-netinst.iso: SGI disk label (volume header)
PS I should be more careful with e-mail headers.