-
Senior Member
registered user
Using kvm to install Knoppix from ISO image to flash and HD, 7.6.1 example.
This is well known, but there are a few refinements that can be useful.
First, connect a USB stick, here it is identified, e.g.by fdisk -l as /dev/sdc. Go to the download directory and boot the ISO image with kvm, connecting the stick. (Here 1024KB memory is used, Knoppix can run with less.)
Code:
sudo kvm -cdrom KNOPPIX_V7.6.1DVD-2016-01-16-EN.iso -hdb /dev/sdc -m 1024 -boot d &
Boot Knoppix as a virtual machine, at the boot prompt write knoppix or knoppix64 + cheatcodes (keyboard=... for instance)
Inside the virtual machine, check that everything works fine. You should have internet connection, for example.
Use the 'Install KNOPPIX to flash disk' to install to the USB stick. Inside the VM, it is considered a hard drive and called /dev/sda, but from the size you can see that the correct drive is referenced. You may also create at persistent store at this time.
It takes some time, but after a while, you will get the message that the installation is complete.
Then it is time for powering down the ISO VM.
The preparation of the new Knoppix version can be continued by running the flash in kvm:
Code:
sudo kvm -hda /dev/sdc -m 1000 -boot d &
With persistent store in place, you can use synaptic, aptitude or apt-get to update or install packages. Don't forget to update the package listings!
It takes a bit more time to do installs in the kvm VM, but you can continue with your usual tasks on your pc in the meantime, so at least for me, this is a timesaver.
After having updated/installed the most important packages, you can shut down the VM, and copy the knoppix main directory from the USB stick to the pc. If there are already Knoppix directories there, give it a suitable name, like KNOPPIX761_0 (The _0 suffix is in case you, like me, will do remasterings.)
To boot the new version, you will have to modify the bootloader.
I use old, legacy GRUB, where this is very easy - but enough for now
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

Fast Quad Core Dell Computer ~ i5 3.2GHz, 8gb RAM, 128gb SSD, Win 10 Pro
$59.00

Dell i5-6500 Desktop Computer PC up to 16GB RAM, 4TB SSD, Windows 10 Pro, WiFi
$163.79

Dell 9020 Optiplex Micro-Intel Core i5 vPro - 500GB SSD H-8GB RAM - Windows 11
$109.00

Dell i5 Quad Core 16GB 2TB 480SSD 22" 24"LCD WiFi Windows 10 Desktop Computer PC
$197.99

HP EliteDesk 800 G2 Mini Desktop Core i5-6th Gen 8GB RAM 500GB HDD Win10
$59.99

Dell OptiPlex 7050 Micro Intel Core i5-6500T 8GB RAM MFF PC NO HD NO OS
$64.95

Lenovo ThinkCentre M93p Tiny PC Intel Core i5-4570T @2.90GHz 8GB RAM w/ AC
$69.99

Intel Nuc D34010WYKH Core i3-4010U 1.70GHz 8GB 240GB SSD Mini PC (D7423A)
$50.55

HP EliteDesk 800 G3 DM 65W w/ Core i5-7500 CPU @3.5GHz - 8GB RAM - No HDD/SSD/OS
$80.00

NEW HP S01 SLIM DESKTOP PC 10TH GEN CORE i3-10105 3.70GHZ 8GB 256GB SSD WIN 11
$199.99