VECHIEF ISOLINUX ================= The ISOLINUX direcory (RELEASE/isolinux) contains a generic Vector Linux Setup. It should not need any modification. To use it for various distro, here are the important points. These however, will be done automatically by various script. IN THE TARGET (will be compressed into veclinux.bz2) ---------------------------------------------------- 1. Prepare the TARGET, make sure it is a bootable and stable system. (Automatic by v2-base and v3-kernel) 2. The TARGET must contains the complete vasm2, veckpkg2 and vlsetup, along with the required dependency (coreutil, tk, expect, etc). (Automatic by v4-core1). 3. Check, the configuration script called /sbin/config-stage1. This is the one that will be called duting the installation. Modify it if you want to. 4. Compress the TARGET to the MEDIA/veclinux/veclinux.bz2. (Automatic by v6-bulk1). On installation, the generic SETUP extracts the veclinux.bz2, then calls /sbin/config-stage1 in a chrooted environment. The config-stage1 can do whatever is needed to make sure the system will be booted properly. IN THE MEDIA: (will be made into the ISO) ---------------------------------------- 1. Copy the RELEASE/isolinux directory as is to /isolinux. (Automatic by v7-iso) 2. Add the kernel that will be used by the distro under /isolinux/kernel. There should be 2 kernels: ide and scsi. (Automatic by v7-iso) 3. Put bulk files under /veclinux, along with SETUP.CONF The SETUP.CONF contains information about distro name, distro version, HD requirements and the bulks list. The main bulk (BULK0) must be named veclinux.bz2. (Done by v6-bulk) 4. Put optional packages under /packages with the standard structure, e.g: packages/cli/BASE/*.tgz packages/x11/BASE/*.tgz packages/x11/gtk/BASE/*.tgz Then create the PKGLIST.TXT using pkglist utility. (Done by v5-pack1) 7. Copy additional files (README, CREDIT, doc, install) to the media (Automatic by v7-iso) 8. Make the iso from the media. (Automatic by v7.iso) MODIFICATION ------------------------------------------ If you want really want to hack the setup system, e.g. patch the setup program, here it is. The setup program is inside an initrd.img that will be loaded by isolinux to start the installation. You may find the default initrd.imd under initrd directory, called vinstall.img. Modify it as follow: * call mloop mount the vinstall.img into loop * use mc or whatever to copy the necessary files into loop/ Usually, from $SETUP partition (the installation tester) after a debugging session. * call mkimg create a new initrd.img and copy it to RELEASE/isolinux. * call uloop umount the loop