From OpenSCADAWiki
The procedure for creating a live disk is the following, for the data of the hybrid ISO (Debian and ALTLinux):
- To simplify the operation of extracting and copying of the ISO-data let perform it into the twin-panels file manager mc. For mc allowing to view the ISO-image you need install the utility isoinfo, which ordinary places into the package "genisoimage".
- Take original file of the ISO-image, open it into mc and copy from it to the target FAT or EXT file system:
- Debian: the directories "isolinux" and "live"; rename the directory "isolinux" to "syslinux", on the target file system.
- ALTLinux: the directory "syslinux" and file "live".
- Rename the file "syslinux/isolinux.cfg" to "syslinux/syslinux.cfg", for FAT, or "syslinux/extlinux.cfg", for EXT.
- ALTLinux: Append to the argument "append", of the section "label live" of the file "syslinux/syslinux.cfg", the sub-string "automatic=method:disk,label:MY_LAB" or "automatic=method:disk,uuid:MY-UUID", where MY_LAB and MY-UUID you can obtain, for partition of "the live disk", by the command aid blkid.
- ALTLinux: Replace the file "syslinux/gfxboot.c32" to analogous one file from current file system (ordinary it is placed into the directory "/usr/lib/syslinux/").
- Install boot-loader from the command line, all from the superuser: su -
- Unmount the disk: umount /dev/sd{x}1
- Initialize the MBR of the disk to the correct value: ms-sys -s /dev/sd{x}
- Initialize the boot loader: syslinux /dev/sd{x}1