make_boot_iso

来自「Linux嵌入式设计配套光盘,学习嵌入式设计可参考」· 代码 · 共 20 行

TXT
20
字号
#!/bin/sh# This script will create a bootable iso image for burning onto a boot CD. The# contents of the image is taken from the directory provided.if [ "$2" = "" ]then  echo "usage: $0 <iso_image> <root_fs>"  exit 1fi#mkisofs -o $1 -b isolinux/isolinux.bin -c isolinux/boot.cat\#  -no-emul-boot -boot-info-table -hide-rr-moved -r -J $2# Use -R to save owners and permissions.# Eliminate any emacs backups (*~).mkisofs -o $1 -b isolinux/isolinux.bin -c isolinux/boot.cat\  -no-emul-boot -boot-info-table -hide-rr-moved -R -J -m '*~' $2

⌨️ 快捷键说明

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