dd status=none conv=fsync if=. /boot/boot.img of=$DISK bs=1 count=446
xzcat ./boot/core.img.xz | dd status=none conv=fsync of=$DISK bs=512 count=2047 seek=1
xzcat ./ventoy/ventoy.disk.img.xz | dd status=none conv=fsync of=$DISK bs=512 count=$VENTOY_SECTOR_NUM seek=$part2_start_sector
ntfslabel [options] device [label]
ntfslabel /dev/sda1 Ventoy
mkfs.ntfs /dev/sda1 -f
Comments
Post a Comment