When booting my CLFS system in QEMU, this is my command line:
andrew@bigbox:~$ qemu-system-ppc -nographic \The switches used are:
-hda cross-lfs-ppc/disk.img -kernel \
cross-lfs-ppc/clfs-fs/boot/clfskernel-2.6.24.7 -M g3beige
-nographic -> QEMU should output to my terminal rather than VNC
-hda -> This is the file to use as disk /dev/hda
-kernel -> The kernel to use
-M g3beige -> QEMU should emulate a beige G3 PowerMac
When I was building my CLFS system, I didn't follow the directions for Yaboot because I was under the impression that I could simply hand QEMU the kernel and root file system and it would be happy. When creating my disk image, I didn't create any partitions, everything's simply in hda. One of these two spots are probably the root of my problem. I'm going to try building Yaboot first and if that doesn't fix it, I'll work on creating the partitions correctly within my disk image file.
When booting, QEMU goes through its normal bios output but after finding a display and building the device tree, it hangs with:
Calling quiesce ...After a few minutes, it will reboot and end up at the same place. The verbosity is not much help for debugging and Google doesn't seem to be my friend with this issue.
returning from prom_init
I'll be sure to either comment on this post as to my resolution or I'll write another post detailing the fix.