-
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

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

Dell Poweredge VRTX M630 Server - Read
$1000.00

HP ProLiant BL460c Gen 9 Blade 2x Xeon E5-2690v3 P244BR RAID Fabric & Mezzanine
$144.46

HPE ProLiant BL460c Gen9 E5-v4 10Gb/20Gb FlexibleLOM CTO Blade Server
$85.00

Dell M1000e - loaded backend + 5 x M620 e5-2670 + memory
$500.00

GIGABYTE MT70-HD0 w/ 2X CPU INTEG CAVIUM THUNDERX / NO HEATSINK / USED
$224.99

Dell PowerEdge FX2S 4 Slot Blade Chassis - PEFX2S
$245.00

HP C7000 Enclosure 16x ProLiant BL460c G8 2x Xeon E5-2680 2.7ghz 8-Core CPUs
$589.99

Dell PowerEdge M630 Server 2x E5-2670v3 2.3GHz 12C 0 GB nice w/HD caddies
$109.97

BARRACUDA BBS190A intel atom d525 2 GB Stratodesk NoTouch
$129.99