You are not logged in.

#1 2014-11-15 19:51:23

rebootl
Member
Registered: 2012-01-10
Posts: 431
Website

[SOLVED] Archiso releng: booting (in qemu) fails...

Hello

I'm trying to build a modified live media using archiso. The distant goal would be to create a live PXE server that acts as an installation server for (other) pre-configured linux images.

But now I'm a bit stuck at the beginning...

I tried to follow the Archiso wiki closely to create a modified iso. Using the releng profile and acting as root.
However, even when leaving the profile completely unmodified, booting it (using qemu) fails.

To create the iso I used (acc. to the wiki):

# ./build.sh -v

I don't have the full output anymore, but a big portion is here: http://pastebin.com/LdCrWxEB
It looked okay to me.

Note that booting the official iso using qemu (tested 2014.11 and 2014.09) works perfectly fine.

So, I think I must be missing something - maybe obvious ?

This is the output I got in the VM: http://s16.postimg.org/jfzbm21xh/boot_fail.png
(Sorry for the screenshot, but I can't just copy this from the VM.)

And this is the command I used for qemu:

$ qemu-system-x86_64 -enable-kvm -m 512 -cdrom archlinux-2014.11.15-dual.iso

Before this, I copied the iso from releng/out/ to my home and changed owner and group to my user.

Maybe something special is needed to boot it in qemu ?

I haven't tested the baseline profile, but I think that's what I'll do next.

I can see some somewhat similar threads, of people trying to create a multi-boot usb or having problems with UEFI, e.g.:
https://bbs.archlinux.org/viewtopic.php?id=188504 (no solution/ I don't understand)
https://bbs.archlinux.org/viewtopic.php?id=157948 (I don't think it applies here)

Thanks

Edit: Using baseline results in the same error.

Edit: Putting the image on a USB stick (using dd) results in the same error as well, so the problem isn't with qemu.

Last edited by rebootl (2014-11-16 09:22:16)


Personal website: reboot.li
GitHub: github.com/rebootl

Offline

#2 2014-11-16 04:20:18

djgera
Developer
From: Buenos Aires - Argentina
Registered: 2008-12-24
Posts: 723
Website

Re: [SOLVED] Archiso releng: booting (in qemu) fails...

You did not posted any boot error, but I can guess what happens...

loop module is not loaded due a change in systemd, just boot with earlymodules=loop to force loading it, should be fixed in next systemd package.

Offline

#3 2014-11-16 09:22:00

rebootl
Member
Registered: 2012-01-10
Posts: 431
Website

Re: [SOLVED] Archiso releng: booting (in qemu) fails...

Oh, thank you so much. That fixed it!

You did not posted any boot error [...]

Well, I posted the screenshot ("output of the VM"), because I couldn't copy the text from the VM. And I guess I was too lazy to type... It contains the boot error.

Edit: In order to eventually help people find this, I'm typing the error partially, here:

[...]
:: Mounting /run/archiso/cowspace (tmpfs) filesystem, size=75%...
losetup: cannot find an unused loop device
:: Mounting '' to '/run/archiso/sfs/airootfs'
Waiting 30 seconds for device...
ERROR: '' device did not show up after 30 seconds...
    Falling back to interactive prompt
    You can try to fix the problem manually, log out when you are finished
sh: can't acces tty; job control turned off
[rootfs /]#

Last edited by rebootl (2014-11-16 09:32:50)


Personal website: reboot.li
GitHub: github.com/rebootl

Offline

#4 2014-11-16 23:58:57

djgera
Developer
From: Buenos Aires - Argentina
Registered: 2008-12-24
Posts: 723
Website

Re: [SOLVED] Archiso releng: booting (in qemu) fails...

Nice.

PS: You can simple save the output of console, starting qemu with -serial stdio, then in kernel command line pass: console=ttyS0  wink

Offline

Board footer

Powered by FluxBB