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
  •  


Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 32GB RAM No HDD picture

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 32GB RAM No HDD

$378.93



Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram  2x 550W PSU No HDD picture

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD

$275.00



Dell PowerEdge R240 Intel Xeon E-2224 3.50GHz 8GB DDR4 ECC NO HDD 250W picture

Dell PowerEdge R240 Intel Xeon E-2224 3.50GHz 8GB DDR4 ECC NO HDD 250W

$285.97



Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 64gb / Raid / 2x 1Tb picture

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 64gb / Raid / 2x 1Tb

$374.99



Dell Poweredge R810 4x Xeon X7560 2.26ghz 32-Cores | 256GB | 3x Trays | H700 picture

Dell Poweredge R810 4x Xeon X7560 2.26ghz 32-Cores | 256GB | 3x Trays | H700

$289.99



Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Core | HBA330 | No RAM or HDD picture

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Core | HBA330 | No RAM or HDD

$149.99



Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W picture

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W

$409.99



Dell PowerEdge R730 8 Bay Server 64Gb 1x80Gb SSD 3x900Gb SAS 2x12c v4CPU Proxmox picture

Dell PowerEdge R730 8 Bay Server 64Gb 1x80Gb SSD 3x900Gb SAS 2x12c v4CPU Proxmox

$620.00



Dell PowerEdge R530 2x E5-2630v4 H330 iDRAC8 Port Card Riser No PSU/RAM/HDD picture

Dell PowerEdge R530 2x E5-2630v4 H330 iDRAC8 Port Card Riser No PSU/RAM/HDD

$99.99



Dell PowerEdge FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM picture

Dell PowerEdge FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM

$699.00