📄 create_bootiso.sh
字号:
#!/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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -