Never mind, got it working, turns out there were some issues with QEMU and large linux kernels. Will have an howto soon for my dual boot config
- LS
Greetings folks,
I am trying to make a bootable USB installation, which can also be loaded by Qemu from windows. (Helps in situations like my windows PC which dosnt boot a liveusb).
Progress:
I modified linuxrc script to mount /dev/hda as /cdrom. Qemu loads KNOPPIX/knoppix as /dev/hda. With the new minirt.gz I am tried booting from USB, works as expected.
For the Qemu case, I am getting some problems.
my batch file contains this:
qemu\qemu.exe -L qemu/ -no-kqemu -m 512 -kernel linux -initrd minirt.gz -hda KNOPPIX/knoppix -append "qemu root=/dev/hda ramdisk_size=100000 init=/etc/init lang=us toram knoppix_name=knoppix knoppix_dir=knoppix BOOT_IMAGE=expert nomce apm=power-off vga=791"
The errors I am getting are this:
RAMDISK: Couldn't find valid RAM disk image starting at 0.
VFS: Mounted root (iso9660 filesystem) readonly
...
/etc/rcS.d/S00knoppix-autoconfig: line 100: /proc/sys/kernel/printk: No such file or directory
and bunch of errors.
I think something went wrong while loading the Ramdisk, also I dont see any of the prints from minirt.gz
Isnt root=/dev/hda sufficient for ?
Any suggestions would be great.
Thanks,
LS
Never mind, got it working, turns out there were some issues with QEMU and large linux kernels. Will have an howto soon for my dual boot config
- LS
I am very interested in a usb flash drive that will be both bootable on metal as well and qemu bootable. I believe Qemu-puppy is doing this here:
http://www.erikveen.dds.nl/qemupuppy/
To be even more demanding, I have found it possible to run the same image in and Mac OSX Q (emu) application.
Let's add one more request-- an encrypted root filesystem, with /boot in the clear. Feraga.com has a project for this
Any interest?
DSL (Damnsmalllinux) has a way to do the "real" bootable USB + qemu bootable USB. I believe it is called the "5-way install".Originally Posted by fellow
Once it is installed on the USB key, you can boot in multiple ways:
1) Directly from the USB device.
2) For computers with no USB boot support, boots from a mini-CD or full-CD disk and then starts DSL from the USB key.
3) For computers with no USB or CD boot support, boots from a floppy disk and then starts DSL from the USB key.
4) Boots inside QEMU from a computer running Windows host operating system.
5) Boots inside QEMU from a computer running a Linux host operating system (Red Hat, Ubuntu, etc).
and someone in the user forums also added a MAC version of QEMU so you could boot it from a computer running a Macintosh operating system.

Crucial MX500 1TB 2.5" SATA III Internal SSD CT1000MX500SSD1
$99.99
Dell Latitude 14" Laptop Computer Intel i5 Up To 32GB RAM 1TB SSD Windows 11 Pro
$316.61
Samsung 2.5" 870 EVO SSD SATA III 250GB 500GB 1TB Internet Solid State Drive Lot
$90.00
Dell Latitude 14" Laptop Computer Intel i7 Up To 32GB RAM 1TB SSD Windows 11 Pro
$349.48
Lenovo Legion 5 Gaming 15.1" WQXGA OLED 165Hz Core i9-14900HX 16GB 1TB RTX 5070
$1469.00
1TB Kingston DataTraveler Max DTMAX/1TB USB Type-C Flash Drive
$86.95
External SSD 1TB 2TB 4TB Portable Hard Drive USB 3.0 Type-C High Speed PC Mac
$19.99
SAMSUNG T7 Portable SSD 1TB Indigo Blue USB 3.2 Gen2 External MU-PC1T0H/AM
$159.99
External Solid State Drive USB 3.2 Gen2, 1TB SSD External Hard Drive with C to A
$100.00
Dell Precision 7670 i7-12850HX 2.1GHz 32GB 1TB NVMe 16" A1000 Win 11 Pro: Good
$649.00