Let's say you've got "knopperdisk-0.1.bz2" (replace 0.1 with the appropriate version)
To unzip the file, type the following:
bzip2 -d knopperdisk-0.1.bz2
After unzipping, go to the directory which has just been created and then you can put the image on a disk. Make sure there is a disk in your disk drive.
dd if=knopperdisk-0.1 of=/dev/fd0 bs=1k
Or for all the Windows people out there, unzip the file with "winrar" or "winace", then download "rawrite.exe" from here. Execute it and follow the instructions the program gives you.
Boot directly from USB using Linux
Here we're going to describe how to boot directly from an usb device using the "USB-HDD" boot method in your BIOS. There are also several BIOS'es which display the USB device under "hard disks", so please take a look there as well. Before you do this your USB device has to be plugged in of course!
Requirements: Syslinux (a bootloader which can be downloaded here: Syslinux
You need a FAT formatted USB device to be able to use this!
Copy the files in "ROOTFS" to wherever your USB device is mounted as described above.
Unmount the device after this.
Where "x" is the corresponding scsi device and "y" is the partition number where the files are located. For instance, use the output from:
to figure this out.
After this you only have to reboot your computer with the appropriate boot method.
Boot directly from USB using Windows
- KnopperDisk USB-package http://knopperdisk.knopper.tk/usb/
- Syslinux http://www.kernel.org/pub/linux/utils/boot/syslinux/
pick the most recent version, just make sure to use the .zip package
1. Format the USB-stick to FAT, FAT32 probably works too. (Right click the device in My Computer and select format..)
2. Use Winzip/Winrar/similar to unpack the Knopperdisk USB-package somewhere.
3. Go where you unpacked KnopperDisk-package and browse to directory called "ROOTFS".
4. In "ROOTFS", select every file and copy them to your USB-stick. It's recommended to empty your USB-device before doing this.
That's it, and now.. To make it bootable, download syslinux and start command prompt (type cmd in RUN-console in the Start menu) and navigate to where you've unpacked syslinux. (It might be easier to just copy syslinux.exe to root of C: or somewhere using Explorer)
5. There type:
where "h:" is your USB device.
NOTE: In XP you may have to set syslinux.exe in NT4 compatibility mode. Also, the syslinux.com didn't do anything for me, so just write "syslinux.exe h:" rather than "syslinux h:". And... the newest syslinux didn't seem to work for me. (2.11 worked fine: http://www.kernel.org/pub/linux/utils/boot/syslinux/Old/syslinux-2.11.zip)