Results 1 to 4 of 4

Thread: Booting Knoppix from USB and loading same image with Qemu

  1. #1
    Junior Member
    Join Date
    May 2007
    Posts
    4

    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

  2. #2
    Junior Member
    Join Date
    May 2007
    Posts
    4
    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

  3. #3
    Junior Member
    Join Date
    Nov 2007
    Posts
    1

    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?

  4. #4
    Senior Member registered user
    Join Date
    Jan 2007
    Posts
    104

    Re: qemu-puppy is doing this also, feraga?

    Quote 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

  1. Error messages when loading persistant image
    By moon in forum Hardware & Booting
    Replies: 21
    Last Post: 03-06-2008, 02:17 AM
  2. Booting Knoppix without CD and with ISO image and PH?
    By inguaravi in forum Hdd Install / Debian / Apt
    Replies: 4
    Last Post: 12-02-2007, 06:27 AM
  3. how to mount KNOPPIX image without booting
    By throwaway in forum Customising & Remastering
    Replies: 3
    Last Post: 07-20-2007, 04:01 PM
  4. Replies: 9
    Last Post: 11-27-2004, 01:49 AM
  5. KDE loading... background image
    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
  •  


AMD EPYC 7282 CPU Processor 16 Cores 32 Threads 2.8GHZ up to 3.2GHZ 120W no lock picture

AMD EPYC 7282 CPU Processor 16 Cores 32 Threads 2.8GHZ up to 3.2GHZ 120W no lock

$75.00



Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc... picture

Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc...

$419.99



Intel Xeon E5-2697A V4 2.6GHz CPU Processor 16-Core Socket LGA2011 SR2K1 picture

Intel Xeon E5-2697A V4 2.6GHz CPU Processor 16-Core Socket LGA2011 SR2K1

$39.99



Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc... picture

Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc...

$619.99



Intel Core i5-9500 3.00ghz Processor (SRF4B) picture

Intel Core i5-9500 3.00ghz Processor (SRF4B)

$55.88



Intel Quad Core i3-12100 3.3GHz 12MB LGA1700 12th Gen. CPU Processor SRL62 picture

Intel Quad Core i3-12100 3.3GHz 12MB LGA1700 12th Gen. CPU Processor SRL62

$46.03



AMD Ryzen 5 4500 6-Core 3.6GHz Socket AM4 65W CPU Desktop Processor picture

AMD Ryzen 5 4500 6-Core 3.6GHz Socket AM4 65W CPU Desktop Processor

$79.00



Intel Core i9-14900KF Unlocked Desktop Processor picture

Intel Core i9-14900KF Unlocked Desktop Processor

$579.99



Intel Core i7-3770 3.40GHz 8MB Quad Core Socket LGA1155 CPU Processor SR0PK picture

Intel Core i7-3770 3.40GHz 8MB Quad Core Socket LGA1155 CPU Processor SR0PK

$35.00



Intel 16 Core i7-13700T DESKTOP processor TURBO Boost 4.90Ghz CM8071504820903 picture

Intel 16 Core i7-13700T DESKTOP processor TURBO Boost 4.90Ghz CM8071504820903

$269.00