-
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
![Cisco Catalyst C9300-24UX-A 24 Port 10G/mGig UPOE Network Switch, no module picture](/store/img/g/E0cAAOSwNzxmPkm2/s-l225/Cisco-Catalyst-C9300-24UX-A-24-Port-10G-mGig-UPOE-.jpg)
Cisco Catalyst C9300-24UX-A 24 Port 10G/mGig UPOE Network Switch, no module
$279.97
![Cisco Catalyst C9300-24UX-A 24 Port 10G/mGig Copper UPOE Network Switch picture](/store/img/g/UdkAAOSwDmpmMtqf/s-l225/Cisco-Catalyst-C9300-24UX-A-24-Port-10G-mGig-Coppe.jpg)
Cisco Catalyst C9300-24UX-A 24 Port 10G/mGig Copper UPOE Network Switch
$499.00
![Cisco WS-C2960X-48FPD-L 48 V07 POE+ GE+2 10G SFP+, LAN BASE 740W w/ C2960X-Stack picture](/store/img/g/cqoAAOSwtYVmS7LQ/s-l225/Cisco-WS-C2960X-48FPD-L-48-V07-POE-GE-2-10G-SFP-LA.jpg)
Cisco WS-C2960X-48FPD-L 48 V07 POE+ GE+2 10G SFP+, LAN BASE 740W w/ C2960X-Stack
$140.00
![Cisco Nexus N9K-C93108TC-EX 48-Port 10G RJ-45 6x100G QSFP Network Switch W/Ears picture](/store/img/g/5bAAAOSwPTRlZ7fl/s-l225/Cisco-Nexus-N9K-C93108TC-EX-48-Port-10G-RJ-45-6x10.jpg)
Cisco Nexus N9K-C93108TC-EX 48-Port 10G RJ-45 6x100G QSFP Network Switch W/Ears
$499.99
![Cisco C3850-NM-2-10G 2 Port Network Exp.Module for 3850 picture](/store/img/g/yEAAAOSwxVReIhma/s-l225/Cisco-C3850-NM-2-10G-2-Port-Network-Exp-Module-for.jpg)
Cisco C3850-NM-2-10G 2 Port Network Exp.Module for 3850
$30.99
![Cisco SFP-10G-SR 10-2415-03 10 Gigabit Transceiver LOT OF 10 @ C picture](/store/img/g/oc8AAOSwCYRhKVrI/s-l225/Cisco-SFP-10G-SR-10-2415-03-10-Gigabit-Transceiver.jpg)
Cisco SFP-10G-SR 10-2415-03 10 Gigabit Transceiver LOT OF 10 @ C
$39.99
![Cisco C3850-NM-4-10G 4 Port Network Exp.Module for 3850 picture](/store/img/g/qPUAAOSwuOJd2AEx/s-l225/Cisco-C3850-NM-4-10G-4-Port-Network-Exp-Module-for.jpg)
Cisco C3850-NM-4-10G 4 Port Network Exp.Module for 3850
$124.90
![Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module 10-2415-03 picture](/store/img/g/7yMAAOSwjyBiZxyT/s-l225/Genuine-Cisco-SFP-10G-SR-V03-10GBASE-SR-SFP-Transc.jpg)
Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module 10-2415-03
$8.00
![NEW Cisco C9300-NM-2Y Dual-Port SFP 25G Network Module / NEW - picture](/store/img/g/OyYAAOSwDwNmWL~A/s-l225/NEW-Cisco-C9300-NM-2Y-Dual-Port-SFP-25G-Network-Mo.jpg)
NEW Cisco C9300-NM-2Y Dual-Port SFP 25G Network Module / NEW -
$544.99
![Cisco Catalyst WS-C2960X-24PD-L GigE PoE 370W, 2 x 10G SFP+, LAN Base w/C2960X-S picture](/store/img/g/9ZMAAOSwotJmTOhT/s-l225/Cisco-Catalyst-WS-C2960X-24PD-L-GigE-PoE-370W-2-x-.jpg)
Cisco Catalyst WS-C2960X-24PD-L GigE PoE 370W, 2 x 10G SFP+, LAN Base w/C2960X-S
$114.00