⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mkfd-nbi.sh

📁 linux下从网卡远程启动
💻 SH
字号:
#! /bin/sh# Make an NBI floppy disk image using MTOOLS & DOS files# DOES NOT require a diskette in drive /dev/fd0# DOES requires a bootsector from your target OS in file 'bootsect.bin'# Make this once from a bootable floppy with the command:#   dd if=/dev/fd0 of=bootsect.bin bs=512 count=1mv ~/.mtoolsrc ~/.mtoolsrc.tmpecho drive x: file=\"$1.img\" > ~/.mtoolsrc# comment out the line below if image is a VFAT aware OS (Win9X+)echo 'mtools_no_vfat=1' >> ~/.mtoolsrcrm -f $1.img#dd if=/dev/zero of=$1.img bs=512 count=2880# Make a 1.44MB disk image filemformat -C -f 1440 -B bootsect.bin x:mcopy io.sys x:mcopy msdos.sys x:mcopy command.com x:# additional files below this line# additional files above this linemknbi-dos $1.img > $1.nbirm $1.imgrm -f ~/.mtoolsrcmv ~./mtoolsrc.tmp ~/.mtoolsrc

⌨️ 快捷键说明

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