-
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 R640 Server | 2x Gold 6132 28 Cores | H730p | Choose RAM / DRIVES
$2630.00
M.2 NVME SATA SSD Enclosure USB 3.2 Gen 2 10Gbps for M-Key or M+B Key SSD to 8TB
$19.86
SanDisk 2TB Ultra 3D NAND SSD, Internal Solid State Drive - SDSSDH3-2T00-G26
$117.99
WD 500GB My Passport SSD, Portable External Solid State Drive WDBAGF5000ARD-WESN
$59.99
Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot
$14.99
Intel DC S3510 Series 120GB SSD 2.5" 6Gb/s SATA Solid State Drive SSDSC2BB120G6K
$8.99
Micron 5100 MAX 120GB SATA 6Gb/s 2.5" Internal SSD MTFDDAK120TCC Solid State
$8.99
Western Digital PC SN730 256GB NVMe SDBQNTY-256G M.2 2280 PCIe Solid State (SSD)
$16.00
Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot
$109.99
Fanxiang SSD 4TB 2TB 1TB PS5 SSD M.2 NVME SSD 7300MBS PCIe 4.0 Solid State Drive
$249.99