-
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
Netac 2TB 1TB 512GB 240GB Internal SSD 2.5'' SATAIII 6Gb/s Solid State Drive lot
$108.99
Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot
$109.99
Fanxiang 4TB 2TB 1TB SSD 550MB/s 2.5'' SATA III Internal Solid State Drive lot
$188.99
Fanxiang M.2 SATA SSD 2TB 1TB 512GB 256GB SSD Internal M2 Solid State Drive Lot
$109.99
Crucial MX500 CT250MX500SSD1 250 GB SATA III 2.5 in Solid State Drive
$14.99
Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot
$13.99
Samsung MZ-7PD128D 840 Pro Series 128GB SATA III 2.5" SSD
$10.00
WD BLUE 3D NAND 250GB 2.5" SATA Laptop SSD Solid State Tested,Wiped -WDS250G2B0A
$14.44
4 TB SSD SATA III Drive 2.5" Solid State Drive SATAIII 6Gb/s UP to 540MB/s
$149.00
Fanxiang 2TB 1TB 512GB 550MB/S MSATA SSD Solid State Drive 6Gb/s PC/Laptop lot
$104.49