[LinuxBIOS] Prestine Qemu on Debian following linuxbios tutorial leads to login prompt ... but not directly so
steffen_moeller at gmx.de
Thu Dec 27 19:56:46 CET 2007
-----BEGIN PGP SIGNED MESSAGE-----
Dear LinuxBIOS developers,
Please add a line like the following to your FILO readme and on the
Wiki page http://linuxbios.org/FILO. Many thanks go to Robert Millan
and to Google.
+ On AMD64 for Debian install the gcc-multilib package.
Eventually I got to the point that the tutorial suggests to reach
Found Linux version 2.6.23-1-amd64 (unknown at Debian) #1 SMP Fri Nov 30
12:19:15 UTC 2007 bzImage.
Loading kernel... ok
Jumping to entry point...
but no further than that. And, jumping to the rescue of FILO a bit,
qemu -hda disk.img -nographic does not even say "hello".
In this thread from Sept2006/April2007
was suggested to use a different FILO than the version 0.5 that I
tapped into, however, I could not find any indication for any earlier
release I could try. Please consider to update the tutorial respectively.
After some food uptake I then downloaded
a CD image to net-install Debian. This is something bootable. Running
qemu -cdrom debian-40r1-i386-netinst.iso -hda disk.img -boot d does
the expected and shows the Debian boot splash. This should be
repeatable with FILO and LinuxBIOS, so I thought, good I am not overly
knowledgable here, but qemu -L . -cdrom debian-40r1-i386-netinst.iso
- -hda disk.img -boot d (just the -L being added with . harboring the
bios.bin and the vgabios-cirrus.bin) instead the system booted right
into my debootstrapped system in disk.img. Hillarious, isn't it, after
spending the full afternoon at it? The qemu option -boot d officially
indicates to boot from cdrom and thus represents not much of a magic.
With a second look at the iso it became fairly obvious why this was
$ ls /mnt/loopmountedNetInstIsoCD
autorun.bat dists/ isolinux/
autorun.inf doc/ md5sum.txt
debian/ install/ pics/
.disk/ install.386/ pool/ README.txt
So, apparently, it is just some stupid (?) initial hurdle that the
CD's iso gave before the kernel with its the initrd on /dev/hda could
As another sidenote, the tutorial should not suggest to first copy the
kernels and then run deboostrap. Instead, one should chroot into
/mnt/rootfs and apt-get install linux-image-686, especially if one's
own kernels are AMD64. And if using debootstrap then the /etc/fstab
needs to be set, still. Setting the inittab default userlevel to 2
instead of the suggested 1 provides me with a login prompt. Otherwise
the daemons are not started properly and I am kicked out.
Is there someone on this list who could help me with preparing a fully
bootable image file that is compatible with FILO? These guys here are
by specifying the kernel outside the chroot. I am doing something
wrong when I now go and install lilo or so, right?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the coreboot