create_bootiso.sh

来自「SLAX/FanX制作livecd的完全脚本」· Shell 代码 · 共 22 行

SH
22
字号
#!/bin/bash# Create bootable ISO from files in curent directory.# usage: create_bootiso /mnt/disk/freespace/resultFilename.iso# Author: Tomas Matejicek <http://www.linux-live.org>#CDLABEL="SLAX"if [ "$1" = "" -o "$1" = "--help" -o "$1" = "-h" ]; then  echo "This script will create bootable ISO from files in curent directory."  echo "example: $0 /mnt/hda5/slax.iso"  exitfi# isolinux.bin is changed during the ISO creation,# so we need to restore it from backup.gunzip -c isolinux.bin.gz >isolinux.binmkisofs -o "$1" -v -J -R -D -A "$CDLABEL" -V "$CDLABEL" \-no-emul-boot -boot-info-table -boot-load-size 4 \-b isolinux.bin -c isolinux.boot .

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?