diff --git a/IMG/cpio/ventoy/hook/debian/360-disk.sh b/IMG/cpio/ventoy/hook/debian/360-disk.sh index e0be61bb..b40aec3a 100644 --- a/IMG/cpio/ventoy/hook/debian/360-disk.sh +++ b/IMG/cpio/ventoy/hook/debian/360-disk.sh @@ -47,8 +47,8 @@ mount -t iso9660 $VTOY_PATH/mnt/fuse/ventoy.iso $VTOY_PATH/mnt/iso rm -f /puppy.sfs echo -e "\n\\033[1;35mCopying to ram ...\\033[0;39m" > /dev/console -[ -e $VTOY_PATH/mnt/iso/360Disk/puppy.sfs ] && cp -a $VTOY_PATH/mnt/iso/360Disk/puppy.sfs /puppy.sfs -[ -d $VTOY_PATH/mnt/iso/360Disk/addsw ] && cp -a $VTOY_PATH/mnt/iso/360Disk/addsw / +[ -d $VTOY_PATH/mnt/iso/360Disk ] && cp -a $VTOY_PATH/mnt/iso/360Disk $VTOY_PATH/ +[ -e $VTOY_PATH/360Disk/puppy.sfs ] && mv $VTOY_PATH/360Disk/puppy.sfs /puppy.sfs umount $VTOY_PATH/mnt/iso umount $VTOY_PATH/mnt/fuse diff --git a/IMG/cpio/ventoy/hook/debian/360-switch-root.sh b/IMG/cpio/ventoy/hook/debian/360-switch-root.sh index 7695849b..63da14da 100644 --- a/IMG/cpio/ventoy/hook/debian/360-switch-root.sh +++ b/IMG/cpio/ventoy/hook/debian/360-switch-root.sh @@ -21,7 +21,9 @@ VTPATH_OLD=$PATH; PATH=$BUSYBOX_PATH:$VTOY_PATH/tool:$PATH +mkdir -p /pup_new/mnt/sdz +mv $VTOY_PATH/360Disk /pup_new/mnt/sdz/ +[ -f /pup_new/root/scripts/cd_plugin ] && echo "/root/scripts/cd_plugin sdz" >> /pup_new/etc/rc.d/rc.local PATH=$VTPATH_OLD -set_ventoy_hook_finish diff --git a/README.md b/README.md index 9f494e38..0227081d 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,8 @@ Most type of OS supported(Windows/WinPE/Linux/Unix/Vmware/Xen...)
* x86 Legacy BIOS, IA32 UEFI, x86_64 UEFI, ARM64 UEFI supported * UEFI Secure Boot supported (1.0.07+) * Persistence supported (1.0.11+) -* Windows/Linux auto installation supported (1.0.09+) +* Windows auto installation supported (1.0.09+) +* RHEL7/8/CentOS/7/8/SUSE/Ubuntu Server/Debian ... auto installation supported (1.0.09+) * FAT32/exFAT/NTFS/UDF/XFS/Ext2(3)(4) supported for main partition * ISO files larger than 4GB supported * Native boot menu style for Legacy & UEFI