-
Booting Knoppix from USB and loading same image with Qemu
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
-
qemu-puppy is doing this also, feraga?
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?
-
Senior Member
registered user
Re: qemu-puppy is doing this also, feraga?

Originally Posted by
fellow
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".
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.
Similar Threads
-
By moon in forum Hardware & Booting
Replies: 21
Last Post: 03-06-2008, 02:17 AM
-
By inguaravi in forum Hdd Install / Debian / Apt
Replies: 4
Last Post: 12-02-2007, 06:27 AM
-
By throwaway in forum Customising & Remastering
Replies: 3
Last Post: 07-20-2007, 04:01 PM
-
By yangwawa in forum Ideas
Replies: 9
Last Post: 11-27-2004, 01:49 AM
-
By dorianW in forum Customising & Remastering
Replies: 1
Last Post: 04-11-2003, 06:25 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX
$59.99

GIGABYTE Z790 AORUS ELITE AX LGA 1700 Intel Z790 ATX Motherboard with DDR5
$189.99

MAG X870 TOMAHAWK WIFI Motherboard, ATX - Supports AMD Ryzen 9000 / 8000 / MSI
$143.50

Intel H310 LGA1151 8-9th Gen DDR4 M.2 NVMe mATX Motherboard IO Shield Battery
$54.99

GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard
$59.99

Intel H81 Motherboard M.2 NVMe LGA 1150 mATX w/ IO Shield (Random Slot Color)
$29.90

ASUS PRIME B360M-C MicroATX Intel LGA1151 DDR4 HDMI VGA USB RJ-45 Audio
$34.99

ASRock AMD BC-250 16GB 128GB SSD Used
$220.00

ASUS PRIME Z490-V Motherboard Intel Z490 10th gen DDR4 LGA 1200 ATX w/ IO Shield
$84.99

Dell XPS 8940 Desktop Motherboard Intel H470 LGA1200 DDR4 K3CM7 KV3RP 427JK
$154.99