Code Sample |
# last ditch - try to mount KNOPPIX ci file from /dev/hda if test -n "$FOUND_KNOPPIX" then else echo "${BLUE}Assuming you're running from QEMU${NORMAL}" echo "${BLUE}Performing last-ditch effort to use ${MAGENTA}/dev/hda${BLUE}...${NORMAL}" echo "${BLUE}I'm not being clean or silent here, so there'll be an error or two..." # try to mount /dev/hda as a cloop $INSMOD modules/cloop.o file=/dev/hda if mount -t iso9660 /dev/cloop /KNOPPIX then FOUND_KNOPPIX="/dev/hda" echo "${GREEN}Success!${NORMAL}" else # try one more time, this time directly trying to mount /dev/hda if mount -t iso9660 /dev/hda /KNOPPIX then FOUND_KNOPPIX="/dev/hda" echo "${GREEN}Success!${NORMAL}" else echo "${RED}Failed..." fi fi fi |
Code Sample |
Tree: autorun.inf - 23 index.html - 391 qemu.bat - 198 qemu.sh - 194 ./KNOPPIX ./KNOPPIX/KNOPPIX - 50,158,212 bytes ./boot ./boot/isolinux ./boot/isolinux/ ./boot/isolinux/boot.cat - 2,048 ./boot/isolinux/boot.msg - 110 ./boot/isolinux/f2 - 1,592 ./boot/isolinux/f3 - 796 ./boot/isolinux/german.kbd - 256 ./boot/isolinux/isolinux.bin - 9,404 ./boot/isolinux/isolinux.cfg - 1,993 ./boot/isolinux/linux24 - 994,807 ./boot/isolinux/logo.16 - 36,649 ./boot/isolinux/minirt24.gz - 798,277 ./qemu ./qemu/qemu - 1,085,736 ./qemu/qemu.exe - 237,568 ./qemu/SDL.dll - 122,368 ./qemu/vgabios-cirrus.bin - 30,868 ./qemu/linux_boot.bin - 512 ./qemu/bios.bin - 65536 |
Code Sample |
qemu.bat listing: @echo off qemu\qemu.exe -L qemu/ -kernel boot/isolinux/linux24 -initrd boot/isolinux/minirt24.gz -hda KNOPPIX/KNOPPIX -append "ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=788 quiet" |
Code Sample |
qemu.sh listing: #!/bin/sh qemu/qemu -L qemu/ -kernel boot/isolinux/linux24 -initrd boot/isolinux/minirt24.gz -hda KNOPPIX/KNOPPIX -append "ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=788 quiet" |
Code Sample |
autorun.inf listing: [autorun] open=qemu.bat |