-
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
ASRock B550M Pro SE AM4 DDR4 SATA 6Gb/s 1 PCIe 4.0 x16 Micro ATX Motherboard
$84.99
Gigabyte Z370P D3 ATX Z370 LGA1151 Motherboard (Support Intel 6/7th 8th 9th)
$59.99
ASUS H110M-R Motherboard Intel 6th/7th Gen LGA1151 DDR4 Micro-ATX i/o shield
$42.00
Asus H81M-C Intel LGA1150 DDR3 Desktop Motherboard MicroATX Socket H3
$23.99
Asus Prime H310M-A R2.0 Intel LGA 1151 DDR4 Desktop Motherboard
$54.99
MSI H81I LGA1150 MINI-ITX DDR3 Desktop Motherboard With I/O Shield
$32.99
ASRock H170 Pro4S Motherboard ATX Intel H170 LGA1151 DDR4 SATA3 HDMI
$39.99
MSI H110M pro-vd 6th/7th Gen Intel DDR4 MATX Motherboard NO I/O SHIELD
$35.00
Gigabyte M-ATX motherboard with Intel Core i3 8100 CPU and 8GB DDR4 RAM
$84.00
Gigabyte GA-Z170N-WIFI LGA 1151 mini ITX Motherboard Intel Z170 DDR4 (Rev 2.0)
$94.50