-
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
Supermicro 2U 6028R-E1CR24N 24x LFF- Wholesale Build Your Own Storage Server
$249.99
Dell Poweredge R630 Server 2x E5-2620 V4 =16 Cores | S130 | 32GB RAM | 2x trays
$165.99
Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 32gb / 500gb / 495w
$164.99
Tyan GT86C-B5630 12x 3.5" Storage Server Wholesale Build Your Own Server
$269.99
HP PROLIANT DL380 GEN9 719061-B21 Server 15x3.5" 2*XEON E5-2640 v3 128GB
$175.00
Dell PowerEdge R630 Server 2x E5-2640v3 2.60Ghz 16-Core 64GB H330
$195.00
Dell PowerEdge R630 Server | 2x Xeon E5-2667v4, 128GB, RAM, H730, Dual 750w PSU
$229.00
2U 12 Bay SAS3 SuperMicro Server 6028U-TR4T+ W/ X10DRU-i+ Barebone 12 Caddy RAIL
$159.20
DELL POWEREDGE C6100 with 4x Nodes 8x Xeon X5660 CPU 96GB RAM no HDD WORKING
$118.99
Dell R640 8x 2.5" SFF Server iDRAC ENT - Wholesale Custom Build Your Server
$269.99