From OpenSCADAWiki
Jump to: navigation, search

The procedure for creating a live disk follow, for the data of the hybrid ISO-disk (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 utility isoinfo, which ordinary places into package "genisoimage".
  • Take original file of the ISO-image, open it into mc and copy from it to target FAT or EXT file system:
    • Debian: directories "isolinux" and "live"; rename the directory "isolinux" to "syslinux", on the target file system.
    • ALTLinux: directory "syslinux" and file "live".
  • Rename 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 file "syslinux/gfxboot.c32" to analogous file from current file system (ordinary it placed into 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