Add .gitignore, clean up build artifacts, add test scripts and configuration files
Some checks failed
Build Simple CLI / build (push) Failing after 1s
Some checks failed
Build Simple CLI / build (push) Failing after 1s
This commit is contained in:
parent
882552f4e7
commit
6aa6d32e1e
12 changed files with 128 additions and 185 deletions
26
test-boot-full.sh
Executable file
26
test-boot-full.sh
Executable file
|
|
@ -0,0 +1,26 @@
|
|||
#!/bin/bash
|
||||
# Test script to boot the simple-cli image with full BIOS/GRUB visibility (headless)
|
||||
|
||||
echo "Testing simple-cli bootable image with full boot process..."
|
||||
echo "Image: simple-cli.qcow2"
|
||||
echo "Size: $(ls -lh simple-cli.qcow2 | awk '{print $5}')"
|
||||
|
||||
# Test boot with QEMU (full boot process - BIOS, GRUB, kernel)
|
||||
echo "Testing full boot process (headless)..."
|
||||
echo "You should see:"
|
||||
echo "1. QEMU BIOS screen"
|
||||
echo "2. GRUB boot menu (if configured)"
|
||||
echo "3. Kernel loading"
|
||||
echo "4. System boot"
|
||||
echo ""
|
||||
echo "Press Ctrl+C to stop the VM when done testing."
|
||||
|
||||
qemu-system-x86_64 \
|
||||
-m 2G \
|
||||
-smp 2 \
|
||||
-drive file=simple-cli.qcow2,format=qcow2 \
|
||||
-boot c \
|
||||
-nographic \
|
||||
-serial mon:stdio
|
||||
|
||||
echo "Test complete!"
|
||||
Loading…
Add table
Add a link
Reference in a new issue