-
Senior Member
registered user
Mini HowTo: Create flash from 7.0.5 ISO using qemu/kvm
Prerequisites: Kvm must be running well. In 7.0.5, is does out of the box. Modules may otherwise have to be loaded. Qemu without kvm is rather slow, only for testing and emergencies IMHO. There have been bug problems in recent versions, so it's good practice to run package update of qemu-kvm first.
Code:
sudo modprobe kvm && sudo modprobe kvm-intel
Of course, you need to have the ISO, check downloading by md5sum or similar.
Log into the download directory.
1. Have USB media inserted, you can use fdisk -l to check what it identifies as:
Code:
knoppix@Microknoppix:/store/download/iso$ fdisk -l
.....
Disk /dev/sdc: 31.6 GB, 31608274944 bytes
64 heads, 32 sectors/track, 30144 cylinders, total 61734912 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x6f20736b
Device Boot Start End Blocks Id System
/dev/sdc1 * 2048 61734911 30866432 c W95 FAT32 (LBA)
2. Make qemu boot the ISO
Code:
sudo qemu -machine accel=kvm -cdrom KNOPPIX_V7.0.5DVD-2012-12-21-EN.iso -hdb /dev/sdc -m 1024 -boot d
Now you get the booting screen where you can just type knoppix (not Knoppix64 unless you run a full 64-bits system) and eventual keyboard modifications etc, just like booting a DVD.
It may be a bit confusing with all the different drive designations, and inside Knoppix under qemu, /dev/sdc1 becomes sda1, but if you use flash-knoppix to install to that medium, you will get a bootable stick by this procedure - at least I did.
(3. - eventually)
To have a basic Poor Man's Install of the ISO, you can boot the stick, do some tweaks, mount a suitable harddisk partition, and copy the system to a basic Knoppix directory on the disk:
Here, I used the Win7 partition:
Code:
mount /media/sda2
sudo rsync -ax /mnt-system/KNOPPIX/* /media/sda2/KNOPPIX705ISO &
Next time I boot from the stick, I use the command line
Code:
knoppix64 fromhd=/dev/sda2 knoppix_dir=KNOPPIX705ISO
Plus eventual other cheatcodes applicable.
The reason I make a separate directory for the ISO version, is all the problems I have had with purging and remastering 7.0.5. I can easily back up to this point.
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
![SAS - HGST Ultrastar 7K4000 HUS724040ALA640 0F14688 3.5](/store/img/UPoAAOSw9Hlmedgx/s-l225//SAS-HGST-Ultrastar-7K4000-HUS724040ALA640-0F14688-.jpg)
SAS - HGST Ultrastar 7K4000 HUS724040ALA640 0F14688 3.5" 4TB 7.2K RPM 64MB HDD
$19.99
![HITACHI HUS724040ALA640 4TB 7200RPM 64MB SATA 6.0Gb/s 3.5](/store/img/TIMAAOSw969gDuvf/s-l225//HITACHI-HUS724040ALA640-4TB-7200RPM-64MB-SATA-6-0G.jpg)
HITACHI HUS724040ALA640 4TB 7200RPM 64MB SATA 6.0Gb/s 3.5" HARD DRIVE ZERO HOURS
$52.00
![WD 4TB Gold Enterprise - 7200 RPM SATA 6Gb/s 128MB CACHE 3.5](/store/img/ZuIAAOSwYl9lpvWh/s-l225//WD-4TB-Gold-Enterprise-7200-RPM-SATA-6Gb-s-128MB-C.jpg)
WD 4TB Gold Enterprise - 7200 RPM SATA 6Gb/s 128MB CACHE 3.5" HDD - WD4002FYYZ
$42.95
![Hitachi 4TB 3.5](/store/img/Rm0AAOSwyN5ff32u/s-l225//Hitachi-4TB-3-5-Hard-Drive-HUS724040ALE640-Ultrast.jpg)
Hitachi 4TB 3.5" Hard Drive HUS724040ALE640 Ultrastar 7K4000 Internal 7.2K
$49.95
![HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5](/store/img/buwAAOSwDghlwalj/s-l225//HGST-Ultrastar-DC-HC520-12TB-SATA-6Gb-256MB-3-5-En.jpg)
HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5" Enterprise HDD- HUH721212ALE601
$74.99
![Seagate ST12000NM0127 12TB SATA 6Gb/s 256MB 7200RPM 3.5](/store/img/de0AAOSwcJJlDe~2/s-l225//Seagate-ST12000NM0127-12TB-SATA-6Gb-s-256MB-7200RP.jpg)
Seagate ST12000NM0127 12TB SATA 6Gb/s 256MB 7200RPM 3.5" Enterprise Hard Drive
$99.99
![1TB HDD/SSD 2.5](/store/img/IlgAAOSwtgpmKHfn/s-l225//1TB-HDD-SSD-2-5-SATA-Hard-Drive-with-Windows-10-or.jpg)
1TB HDD/SSD 2.5" SATA Hard Drive with Windows 10 or Windows 11 Pro Installed
$13.55
![Seagate Exos X20 18TB SATA 6Gb/s 3.5](/store/img/zZIAAOSwgcxj0FUO/s-l225//Seagate-Exos-X20-18TB-SATA-6Gb-s-3-5-Enterprise-Ha.jpg)
Seagate Exos X20 18TB SATA 6Gb/s 3.5" Enterprise Hard Drive - ST18000NM003D
$168.00
![Seagate ST1000VM002 1TB 64MB SATA6Gb/s 3.5](/store/img/tFMAAOSwjDVmceFV/s-l225//Seagate-ST1000VM002-1TB-64MB-SATA6Gb-s-3-5-Low-Pow.jpg)
Seagate ST1000VM002 1TB 64MB SATA6Gb/s 3.5" (Low Power) Hard Drive -PC, CCTV DVR
$24.99
![Western Digital Gold Enterprise 4TB,7200 RPM Internal Hard Disk Drive WD4002FYYZ picture](/store/img/uDIAAOSwY95lQDIU/s-l225//Western-Digital-Gold-Enterprise-4TB-7200-RPM-Inter.jpg)
Western Digital Gold Enterprise 4TB,7200 RPM Internal Hard Disk Drive WD4002FYYZ
$39.95