Re: can't boot a Debian on QEMU-mips virtual machine, could be initrd or root device problems

2018-04-30 Thread Thomas Schmitt
Hi, Reco wrote: > $ 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 Oops. I did not expect it to die so early. > Also, that 'iso' is no way a

Re: can't boot a Debian on QEMU-mips virtual machine, could be initrd or root device problems

2018-04-30 Thread Reco
Hi. On Mon, Apr 30, 2018 at 06:58:13PM +0200, Thomas Schmitt wrote: > Hi, > > 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

Re: can't boot a Debian on QEMU-mips virtual machine, could be initrd or root device problems

2018-04-30 Thread Reco
Hi. In-Reply-To: <3824776101913512...@scdbackup.webframe.org> On Mon, Apr 30, 2018 at 06:58:13PM +0200, Thomas Schmitt wrote: > Hi, > > 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

Re: can't boot a Debian on QEMU-mips virtual machine, could be initrd or root device problems

2018-04-30 Thread Thomas Schmitt
Hi, 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

Re: can't boot a Debian on QEMU-mips virtual machine, could be initrd or root device problems

2018-04-30 Thread Alan Tu
Thanks Reco. The concept I missed is, I need to grab the initrd and kernel from the installed system, specifically from the /boot directory. I know that now for all future architectures I mess with! There are lots of ways to do the same thing, I'm just sharing. To mount a partition inside raw

Re: can't boot a Debian on QEMU-mips virtual machine, could be initrd or root device problems

2018-04-30 Thread Reco
Hi. On Mon, Apr 30, 2018 at 06:30:32PM +0200, Thomas Schmitt wrote: > > # qemu-system-mips -m 2048 -rtc base=localtime -boot order=c > > -nographic -hda debian_mips32b.img -kernel vmlinux-4.9.0-6-4kc-malta > > -append "root=/dev/sda1" > > Shouldn't there be a bootloader installed in

Re: can't boot a Debian on QEMU-mips virtual machine, could be initrd or root device problems

2018-04-30 Thread Reco
Hi. On Mon, Apr 30, 2018 at 07:54:56AM -0700, Alan Tu wrote: > Hi, I'm having trouble bootting Debian 9.4 on a QEMU-emulated MIPS > malta virtual machine. I know QEMU introduces some complexity, but I > think my problem is more of a misunderstanding of Linux boot concepts. > I've tried

Re: can't boot a Debian on QEMU-mips virtual machine, could be initrd or root device problems

2018-04-30 Thread Thomas Schmitt
Hi, Alan Tu wrote: > I installed Debian inside a virtual disk image. >From outside qemu ? That could be tricky because being unusual. Last time i installed a virtual Debian, i did something like this: # Create virtual disk as data file qemu-img create debian_vm_disk.qemu 32G # Start

can't boot a Debian on QEMU-mips virtual machine, could be initrd or root device problems

2018-04-30 Thread Alan Tu
Hi, I'm having trouble bootting Debian 9.4 on a QEMU-emulated MIPS malta virtual machine. I know QEMU introduces some complexity, but I think my problem is more of a misunderstanding of Linux boot concepts. I've tried different permutations, and reading, but am stuck. I installed Debian inside a