pac-ac/osakaOS

Booting sequence stuck in "Initializing, stage 3" -- Audio Problems

Closed this issue · 4 comments

I am not that well equipped with Linux knowledge, but I have managed to initialize the booting process with:

sudo qemu-system-x86_64 -enable-kvm -boot menu=on -drive id=disk,file=Image.img,format=raw,if=none -device piix4-ide,id=piix4 -device ide-hd,drive=disk,bus=piix4.0 -cpu 486 -smp 1 -m 1G -vga virtio -audiodev pa,id=pa0,server=unix:/tmp/pulse-socket

The QEMU window shows up, but regardless of which device I choose to boot it from the sequence either gets stuck in second or the third stage. I have g++, binutils, libc6-dev-i386, qemu-system-x86, grub2, xorriso installed. Couldn't downgrade qemu-system so that it would register -machine pcspk-audiodev=po0as the proper version wasn't in the list of available versions.
Screenshot from 2024-02-27 21-55-46

Sorry for the late response! I was trying to compile it from source, whereby qemu didn't let me. After a research, the problem was due to qemu not supporting -machine pcspk-audiodev and couldn't get it working. Now I used the precompiled iso image in order to run the OS on Boxes and tested the audio there. The Beepcommand doesn't seem to give away any sound. Maybe this has something to do with pulseaudio? I added the line load-module module-native-protocol-unix auth-anonymous=1 socket=/tmp/pulse-socket to /etc/pulse/default.pa (bottom).

It works no problem in a VM, I am following your work on your youtube channel. Love it!