Linux CD Mastering - Testing your initial ISO
Testing your initial ISO

Congratulations !! If you've made it this far, you should have a brand, spanking new ISO that is the result of your hard work. Now we should probably make sure that it will actually work. If you are not already there, switch back to Windows and open up "explorer" (file manager). Switch to your shared directory and take a look at the files. You should see a mylinux1.iso that is around 711 MB. If it is larger than 740 MB, you can still test it, but if you try to burn it to a CD it won't work. In this case, you'll need to go back to our guest environment and remove something. If you've followed the steps as we've laid them out, you should be fine.

Click for full size

To test our new ISO, we'll use VmWare to load and boot the ISO. Create a new virtual machine exactly as you did when we initially setup our mastering environment. When it comes time to choose the CD-ROM ISO image, select the image that we just created and click "OK".

Click for full size

Click the green arrow to start the machine. It should boot just as it did when we were setting up our mastering environment. You can choose to let Knoppix load all the way into KDE, or shortcut it by typing "knoppix 2" as we did before. If you receive any boot errors, then the remastered ISO is either corrupted or the build process failed for one or more reasons and you'll have to try again. Once our remastered ISO has finished loading, let's check out the version file that we created. Open a terminal window and type the following:
root@tty1[root]# mount
/dev/root on / type ext2 (rw)
/dev/scd0 on /cdrom type iso9660 (ro)
/dev/cloop on /KNOPPIX type iso9660 (ro)
/ramdisk on /ramdisk type tmpfs (rw,size=198832k)
/proc/bus/usb on /proc/bus/usb type usbdevfs (rw,devmode=0666)
automount(pid314) on /mnt/auto type autofs (rw,fd=4,pgrp=314,minproto=2,maxproto=4)
Your list should look similar if not identical

root@tty1[root]# cd /cdrom
root@tty1[cdrom]# ls -l
total 15
dr-xr-xr-x    3 root     root         4096 Jan 16 08:14 KNOPPIX
-r-xr-xr-x    1 root     root           54 Jan 16 07:44 autorun.bat
-r-xr-xr-x    1 root     root           45 Jan 16 07:44 autorun.inf
-r-xr-xr-x    1 root     root          967 Jan 16 07:44 autorun.pif
dr-xr-xr-x    3 root     root         2048 Jan 10  2004 boot
-r--r--r--    1 root     root         3262 Jan 16 07:44 cdrom.ico
-r--r--r--    1 root     root           20 Jan 16 08:34 cdversion.txt
-r--r--r--    1 root     root         2181 Jan 16 07:44 index.html
The file cdversion.txt is the file that we added

root@tty1[cdrom]# cat cdversion.txt
Version 1.0 Build 1
This is the version information that our script wrote to the file
Your build number may be different from ours

Now that we have successfully built and tested our first Linux ISO, we can get on to the fun stuff...customizing it!

 << Linux Env. Setup   Customizing the ISO >> 

1 2 3 4 5 6 7 8

(switch to medium sized images)