-
Senior Member
registered user
Qemu/kvm as a tool for handling 7.4.2 install from ISO
To me, it seems that rather few people use Qemu/kvm as a tool for handling Knoppix. Both for testing and running images, to avoid the CD/DVD burning step, and a lot of other things. Here, I will just tell how I used it to create a plain flash install og 7.4.2 very easily. Basically the same story I have told before, but now it is 7.4.2. I did this on a Knoppix 7.0.5 install.
Download and check the ISO image, insert the USB stick to install on in a USB (preferably USB3.0) port.
Then check qemu/kvm-modules are in place, and find out what the drive is called
Code:
$sudo modprobe kvm && modprobe kvm-intel
$fdisk -l
Log into the download directory and run the DVD image in qemu with kvm acceleration. Here, the stick has been mapped as /dev/sdc, I run with 1GB memory, and boot the image
Code:
$sudo qemu -machine accel=kvm -cdrom KNOPPIX_V7.4.2DVD-2014-09-28-EN.iso -hdb /dev/sdc -m 1024 -boot d
A small window with the Knoppix boot prompt opens - here you can enter kernel and keyboard options etc. Then a somewhat larger window where Knoppix runs, apperars. You can use this to check different aspects of the new version.
Then click the Install Knoppix to flash icon. Beware of the pecularity occurring next: You must choose install to hard disk, because when starting the virtual machine with the -hdb /dev/sdc parameter, the USB stick has been mapped to /dev/sda. You will be able to check it from the size of the drive.
You have the ordinary choices - I recommend to start with the simplest procedure: Let Knoppix format the whole drive as FAT32, use a 4GB overlay file (not partition) if the stick allows it.
For me, this worked very well on the first try. I immediately used the stick to boot another PC where the whole disk was to wiped out and setup anew for a new install.
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

Dell PowerEdge R720 Server | 2x E5-2670 V2 =20 Cores | 128GB | H710 | No HDD
$246.99

Dell PowerEdge R430 4B LFF 2x 2.40GHz E5-2680 v4 Server CTO Custom Wholesale
$254.98

HP ProLiant Microserver Gen8 - Intel 2.5Ghz, 6GB RAM, 10G LAN, 1x 1TB 7200
$224.00

SuperMicro 6028U-TR4T+ 2x E5-2690v4 128Gb 9361-8i RAID 12LFF Server X10DRU-I+
$569.95

Server for Home Lab 1U Micro Mini Low-Power (~30W Idle)
$89.95

Dell Poweredge R720XD 2 X TEN CORE 2.80GHZ E5-2680v2 128GB RAM 12 X 3TB SERVER
$499.99

Sonnet xMac Mini Server
$299.99

Supermicro 2U Server 8 or 12 HD Bay 3.5 LFF E ATX Storage Chassis Direct Connect
$179.00

HP ProLiant BL460c G8(Gen8) 2x 8 CORE E5-2670 2.6GHz 192GB RAM 2x 146GB SAS HDD
$175.00

OEMR Dell Poweredge R730xd (2x) Xeon E5-2640 2.6GHz/(8x) 4GB/NO HDD'S
$299.99