get the file
You can make a bootable floppy disk or CD, which directly starts grquiz with your own quiz-files. That bootdisk can be used as demo, for example at info-booths.
Download the file boot-akfquiz.zip and
unpack it. Then you get a file with the extension .img
.
How to make changes on the image-file
On GNU/Linux systems you can directly mount the image-file using the
loop-device:
mount -t vfat -o rw,loop akfquiz-3.1.0.img /mnt
Don't forget the umount
after you have made your changes!
On FreeBSD 5.X systems you can use the command mdconfig(8)
to prepare a virtual drive which you can mount then:
mdconfig -a -t vnode -f akfquiz-3.1.0.img -u 0
mount -t msdosfs /dev/md0 /mnt
After you've made your changes you have to umount the device
and detach the device:
umount /mnt
mdconfig -d -u 0
On windows it's not possible to do something like that directly - maybe there is some software for that. But you can of course also make your changes on a real floppy-disk and then make a new image from that floppy.
fit the image to your needs
You can put your own quizfiles on the image. The quizfiles you want to use must be on the image, even when you make a CD!
To change the configuration edit the file config.sys
.
It is configured to use a keyboard driver for German keyboards!
Please fit that to your needs.
If you want to run just one single quiz-file, you can put its name at
the end of the SHELL
-line:
SHELL=\BOOT\DGRQUIZ.EXE -LFN -P myquiz.akfquiz
make a bootable floppy under Unix-like systems
You need a 1.44MB floppy drive for that.
With Unix-like systems you can use the dd command to actually
write the disk-image to a disk. Use it like this:
dd if=akfquiz-3.1.0.img of=/dev/fd0
The expression /dev/fd0
stands for the device driver of
the floppy drive and may be different on other Unix-like systems, so
look up your documentation.
make a bootable floppy under Windows
You need a 1.44MB floppy drive for that.
Under Windows it is not possible to write directly to floppy-disks. There you have to use a special program for doing that. You can use the program RawWrite for windows for that.
make a bootable CD
You can also use the image-file to make a "El Torito" bootable CD. You have to put the image file on the CD. Of course you can also put other stuff on the CD. Making the CD bootable with this image is done differently with different programs.
With the program mkisofs
you can do it with the parameter
-b
and then the path to the image file. Attention:
The pathname must be relative to the source path specified to
mkisofs.
Example: When the files for the CD are in cd_dir
and the
boot-image is cd_dir/akfquiz/floppy/akfquiz-3.1.0.img
,
then use it like this:
mkisofs -o cd.iso -r -J -b akfquiz/floppy/akfquiz-3.1.0.img cd_dir/
(The parameters -r -J
are needed to get long filenames for
Unix-like systems and for Windows)