无忧启动论坛

 找回密码
 注册
搜索
系统gho:最纯净好用系统下载站广告联系 微信:wuyouceo QQ:184822951
查看: 4804|回复: 9
打印 上一主题 下一主题

怎样修改U盘上的Ventoy菜单来引导veket-20的目录?

  [复制链接]
跳转到指定楼层
1#
发表于 2020-8-17 08:15:43 | 只看该作者 |只看大图 回帖奖励 |倒序浏览 |阅读模式

帮群友发帖问问
现在的问题是用ventoy安装到U盘,复制veket20的iso进去,能正常使用,但不能保存数据。照我的理解是,想要保存数据需要解开iso来引导

安装到硬盘上也是解开ISO的,看了ventoy上边也有个grub目录,那么应该是有办法用ventoy的grub来引导解开来的iso?

就是安装ventoy安装到U盘

http://wuyou.net/forum.php?mod=viewthread&tid=419840&extra=
复制v20的iso
http://wuyou.net/forum.php?mod=viewthread&tid=419610&extra=page%3D1
进U盘,就能正常引导,但不能读取保存下来的数据。

所以必须要解开iso来引导,那么解开iso之后如何引导?
veket-20安装到硬盘之后的引导菜单是这样的:
## start header
timeout=5
default=0
## end header

## start section veket_20
title veket 20
find --set-root --ignore-floppies /veket_20/vmlinuz
kernel /veket_20/vmlinuz pfix=fsck psubdir=veket_20
initrd /veket_20/initrd.gz
boot

title veket 20 (no save file)
find --set-root --ignore-floppies /veket_20/vmlinuz
kernel /veket_20/vmlinuz pfix=ram savefile=none psubdir=veket_20
initrd /veket_20/initrd.gz
boot
## end section veket_20

ventoy在U盘里的目录grub有个引导这样:

  1. #************************************************************************************
  2. # Copyright (c) 2020, longpanda <admin@ventoy.net>
  3. #
  4. # This program is free software; you can redistribute it and/or
  5. # modify it under the terms of the GNU General Public License as
  6. # published by the Free Software Foundation; either version 3 of the
  7. # License, or (at your option) any later version.
  8. #
  9. # This program is distributed in the hope that it will be useful, but
  10. # WITHOUT ANY WARRANTY; without even the implied warranty of
  11. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  12. # General Public License for more details.
  13. #
  14. # You should have received a copy of the GNU General Public License
  15. # along with this program; if not, see <http://www.gnu.org/licenses/>.
  16. #
  17. #************************************************************************************

  18. function ventoy_pause {
  19.     echo "press Enter to continue ......"
  20.     read vtTmpPause
  21. }

  22. function ventoy_debug_pause {
  23.     if [ -n "${vtdebug_flag}" ]; then
  24.         echo "press Enter to continue ......"
  25.         read vtTmpPause
  26.     fi
  27. }

  28. function ventoy_cli_console {
  29.     if [ -z "$vtoy_display_mode" ]; then
  30.         terminal_output  console
  31.     elif [ "$vtoy_display_mode" = "GUI" ]; then
  32.         terminal_output  console
  33.     fi
  34. }

  35. function ventoy_gui_console {  
  36.     if [ -z "$vtoy_display_mode" ]; then
  37.         terminal_output  gfxterm
  38.     elif [ "$vtoy_display_mode" = "GUI" ]; then
  39.         terminal_output  gfxterm
  40.     fi   
  41. }

  42. function ventoy_power {
  43.     configfile $prefix/power.cfg
  44. }

  45. function ventoy_diagnosis {   
  46.     configfile $prefix/debug.cfg
  47. }

  48. function ventoy_localboot {   
  49.     configfile $prefix/localboot.cfg
  50. }

  51. function ventoy_ext_menu {   
  52.     if [ -e $vt_plugin_path/ventoy/ventoy_grub.cfg ]; then
  53.         set ventoy_new_context=1
  54.         configfile $vt_plugin_path/ventoy/ventoy_grub.cfg
  55.         unset ventoy_new_context
  56.     else
  57.        echo "ventoy_grub.cfg NOT exist."
  58.        echo -e "\npress ENTER to exit ..."
  59.        read vtInputKey
  60.     fi
  61. }

  62. function get_os_type {
  63.     set vtoy_os=Linux
  64.    
  65.     for file in "efi/microsoft/boot/bcd" "sources/boot.wim" "boot/bcd" "bootmgr.efi" "boot/etfsboot.com" ; do        
  66.         if vt_file_exist_nocase (loop)/$file; then        
  67.             set vtoy_os=Windows
  68.             break
  69.         fi
  70.     done

  71.     if [ "$vtoy_os" = "Linux" ]; then
  72.         if vt_strstr "$vt_system_id" "FreeBSD"; then
  73.             set vtoy_os=Unix
  74.             set vt_unix_type=FreeBSD
  75.         elif [ -e (loop)/bin/freebsd-version ]; then
  76.             set vtoy_os=Unix
  77.             set vt_unix_type=FreeBSD
  78.             
  79.             
  80.         elif [ -e (loop)/boot/kernel/kernel ]; then            
  81.             if file --is-x86-kfreebsd (loop)/boot/kernel/kernel; then
  82.                 set vtoy_os=Unix
  83.                 set vt_unix_type=FreeBSD
  84.             elif file --is-x86-knetbsd (loop)/boot/kernel/kernel; then
  85.                 set vtoy_os=Unix
  86.                 set vt_unix_type=NetBSD
  87.             fi
  88.         fi
  89.     fi

  90.     if [ -n "${vtdebug_flag}" ]; then
  91.         echo ISO is $vtoy_os
  92.     fi
  93. }

  94. function vt_check_compatible_pe {
  95.     #Check for PE without external tools
  96.     if [ -f $1/HBCD_PE.ini ]; then
  97.         set ventoy_compatible=YES        
  98.     fi
  99. }

  100. function locate_initrd {
  101.     vt_linux_locate_initrd

  102.     if [ -n "${vtdebug_flag}" ]; then        
  103.         vt_linux_dump_initrd
  104.         ventoy_debug_pause
  105.     fi
  106. }

  107. function locate_wim {
  108.     vt_windows_locate_wim_patch (loop)
  109.    
  110.     if [ -n "${vtdebug_flag}" ]; then
  111.         echo '###############################################'
  112.         vt_dump_wim_patch
  113.         echo '###############################################'
  114.         ventoy_debug_pause
  115.     fi
  116. }

  117. function distro_specify_wim_patch {
  118.     if [ -d (loop)/h3pe ]; then
  119.         vt_windows_collect_wim_patch wim /BOOT/H3_10PE.WIM
  120.         vt_windows_collect_wim_patch wim /BOOT/H3_7PE.WIM
  121.         vt_windows_collect_wim_patch wim /BOOT/H3_8PE.WIM
  122.         vt_windows_collect_wim_patch wim /BOOT/H3_81PE.WIM
  123.     fi
  124. }

  125. function distro_specify_wim_patch_phase2 {
  126.     if [ -f (loop)/boot/boot.wim ]; then
  127.         vt_windows_collect_wim_patch wim /boot/boot.wim
  128.     fi
  129. }


  130. function distro_specify_initrd_file {
  131.     if [ -e (loop)/boot/all.rdz ]; then
  132.         vt_linux_specify_initrd_file /boot/all.rdz
  133.     elif [ -e (loop)/boot/xen.gz ]; then
  134.         if [ -e (loop)/install.img ]; then
  135.             vt_linux_specify_initrd_file /install.img
  136.         fi
  137.     elif [ -d (loop)/casper ]; then
  138.         if [ -e (loop)/casper/initrd ]; then
  139.             vt_linux_specify_initrd_file /casper/initrd
  140.         fi
  141.         if [ -e (loop)/casper/initrd.gz ]; then
  142.             vt_linux_specify_initrd_file /casper/initrd.gz
  143.         fi
  144.         if [ -e (loop)/casper/initrd-oem ]; then
  145.             vt_linux_specify_initrd_file /casper/initrd-oem
  146.         fi
  147.     elif [ -e (loop)/boot/grub/initrd.xz ]; then
  148.         vt_linux_specify_initrd_file /boot/grub/initrd.xz
  149.     elif [ -e (loop)/initrd.gz ]; then
  150.         vt_linux_specify_initrd_file /initrd.gz
  151.     elif [ -e (loop)/slax/boot/initrfs.img ]; then
  152.         vt_linux_specify_initrd_file /slax/boot/initrfs.img
  153.     elif [ -e (loop)/pmagic/initrd.img ]; then
  154.         vt_linux_specify_initrd_file /pmagic/initrd.img
  155.     elif [ -e (loop)/boot/initrd.xz ]; then
  156.         vt_linux_specify_initrd_file /boot/initrd.xz
  157.     elif [ -f (loop)/boot/initrd ]; then
  158.         vt_linux_specify_initrd_file /boot/initrd
  159.     elif [ -f (loop)/boot/x86_64/loader/initrd ]; then
  160.         vt_linux_specify_initrd_file /boot/x86_64/loader/initrd
  161.     elif [ -f (loop)/boot/initramfs-x86_64.img ]; then
  162.         vt_linux_specify_initrd_file /boot/initramfs-x86_64.img
  163.         

  164.     fi
  165. }


  166. function distro_specify_initrd_file_phase2 {
  167.     if [ -f (loop)/boot/initrd.img ]; then
  168.         vt_linux_specify_initrd_file /boot/initrd.img
  169.     elif [ -f (loop)/Setup/initrd.gz ]; then
  170.         vt_linux_specify_initrd_file /Setup/initrd.gz
  171.     elif [ -f (loop)/isolinux/initramfs ]; then
  172.         vt_linux_specify_initrd_file /isolinux/initramfs
  173.     elif [ -f (loop)/boot/iniramfs.igz ]; then
  174.         vt_linux_specify_initrd_file /boot/iniramfs.igz
  175.     elif [ -f (loop)/initrd-x86_64 ]; then
  176.         vt_linux_specify_initrd_file /initrd-x86_64
  177.     elif [ -f (loop)/live/initrd.img ]; then
  178.         vt_linux_specify_initrd_file /live/initrd.img
  179.     elif [ -f (loop)/initrd.img ]; then
  180.         vt_linux_specify_initrd_file /initrd.img
  181.     elif [ -f (loop)/sysresccd/boot/x86_64/sysresccd.img ]; then
  182.         vt_linux_specify_initrd_file /sysresccd/boot/x86_64/sysresccd.img
  183.     elif [ -f (loop)/CDlinux/initrd ]; then
  184.         vt_linux_specify_initrd_file /CDlinux/initrd
  185.     elif [ -f (loop)/parabola/boot/x86_64/parabolaiso.img ]; then
  186.         vt_linux_specify_initrd_file /parabola/boot/x86_64/parabolaiso.img
  187.         if [ -f (loop)/parabola/boot/i686/parabolaiso.img ]; then
  188.             vt_linux_specify_initrd_file /parabola/boot/i686/parabolaiso.img
  189.         fi
  190.     elif [ -f (loop)/hyperbola/boot/x86_64/hyperiso.img ]; then
  191.         vt_linux_specify_initrd_file /hyperbola/boot/x86_64/hyperiso.img
  192.         if [ -f (loop)/hyperbola/boot/i686/hyperiso.img ]; then
  193.             vt_linux_specify_initrd_file /hyperbola/boot/i686/hyperiso.img
  194.         fi
  195.     elif [ -f (loop)/EFI/BOOT/initrd.img ]; then
  196.         #Qubes
  197.         vt_linux_specify_initrd_file /EFI/BOOT/initrd.img
  198.         if [ "$grub_platform" != "pc" ]; then
  199.             vt_add_replace_file 0 "initrd.img"   
  200.         fi
  201.     elif [ -f (loop)/initrd ]; then
  202.         vt_linux_specify_initrd_file /initrd
  203.     elif [ -f (loop)/live/initrd1 ]; then
  204.         vt_linux_specify_initrd_file /live/initrd1
  205.     elif vt_strstr $vt_volume_id "Daphile"; then
  206.         vt_linux_parse_initrd_isolinux   (loop)/isolinux/
  207.         
  208.     fi
  209. }

  210. function ventoy_get_ghostbsd_ver {

  211.     # vt_parse_iso_create_date $1/${chosen_path} vt_create_date   
  212.     # if regexp "^202005" "$vt_create_date"; then
  213.         # set vt_freebsd_ver=12.x
  214.     # fi
  215.    
  216.     set vt_freebsd_ver=12.x
  217. }

  218. function ventoy_get_furybsd_ver {
  219.     if regexp "13\.[0-9]" "$2"; then
  220.         set vt_freebsd_ver=13.x
  221.     else
  222.         set vt_freebsd_ver=12.x
  223.     fi
  224. }

  225. function ventoy_get_freenas_ver {   
  226.     set vt_freebsd_ver=11.x

  227.     if [ -e (loop)/FreeNAS-MANIFEST ]; then
  228.         vt_parse_freenas_ver (loop)/FreeNAS-MANIFEST vt_freenas_ver
  229.         if regexp "^13\.[0-9]" "$vt_freenas_ver"; then
  230.             set vt_freebsd_ver=13.x
  231.         elif regexp "^12\.[0-9]" "$vt_freenas_ver"; then
  232.             set vt_freebsd_ver=12.x
  233.         elif regexp "^11\.[0-9]" "$vt_freenas_ver"; then
  234.             set vt_freebsd_ver=11.x
  235.         fi
  236.     fi
  237. }

  238. function ventoy_freebsd_proc {
  239.     if vt_strstr "$vt_volume_id" "GHOSTBSD"; then
  240.         ventoy_get_ghostbsd_ver $1 ${chosen_path}
  241.     elif vt_strstr "$vt_volume_id" "FREENAS"; then
  242.         ventoy_get_freenas_ver $1 ${chosen_path}   
  243.     elif vt_strstr "$vt_volume_id" "FURYBSD"; then
  244.         ventoy_get_furybsd_ver $1 ${chosen_path}   
  245.     elif regexp "^13_[0-9]" "$vt_volume_id"; then
  246.         set vt_freebsd_ver=13.x
  247.     elif regexp "^12_[0-9]" "$vt_volume_id"; then
  248.         set vt_freebsd_ver=12.x
  249.     elif regexp "^11_[0-9]" "$vt_volume_id"; then
  250.         set vt_freebsd_ver=11.x
  251.     elif regexp "^10_[0-9]" "$vt_volume_id"; then
  252.         set vt_freebsd_ver=10.x
  253.     elif regexp "^9_[0-9]" "$vt_volume_id"; then
  254.         set vt_freebsd_ver=9.x
  255.     elif [ -e (loop)/bin/freebsd-version ]; then
  256.         vt_unix_parse_freebsd_ver (loop)/bin/freebsd-version vt_userland_ver
  257.         if regexp ""13\.[0-9]-" "$vt_userland_ver"; then
  258.             set vt_freebsd_ver=13.x
  259.         elif regexp ""12\.[0-9]-" "$vt_userland_ver"; then
  260.             set vt_freebsd_ver=12.x
  261.         elif regexp ""11\.[0-9]-" "$vt_userland_ver"; then
  262.             set vt_freebsd_ver=11.x
  263.         elif regexp ""10\.[0-9]-" "$vt_userland_ver"; then
  264.             set vt_freebsd_ver=10.x
  265.         elif regexp ""9\.[0-9]-" "$vt_userland_ver"; then
  266.             set vt_freebsd_ver=9.x
  267.         fi
  268.     elif [ -e (loop)/README.TXT ]; then
  269.         vt_1st_line (loop)/README.TXT vt_freebsd_line1
  270.         if regexp "FreeBSD 13\.[0-9]-" "$vt_freebsd_line1"; then
  271.             set vt_freebsd_ver=13.x
  272.         elif regexp "FreeBSD 12\.[0-9]-" "$vt_freebsd_line1"; then
  273.             set vt_freebsd_ver=12.x
  274.         elif regexp "FreeBSD 11\.[0-9]-" "$vt_freebsd_line1"; then
  275.             set vt_freebsd_ver=11.x
  276.         elif regexp "FreeBSD 10\.[0-9]-" "$vt_freebsd_line1"; then
  277.             set vt_freebsd_ver=10.x
  278.         elif regexp "FreeBSD 9\.[0-9]-" "$vt_freebsd_line1"; then
  279.             set vt_freebsd_ver=9.x
  280.         fi
  281.     elif vt_strstr "${chosen_path}" "MidnightBSD"; then
  282.         set vt_freebsd_ver=9.x
  283.     else
  284.         set vt_freebsd_ver=12.x
  285.     fi
  286.    
  287.     set vt_freebsd_bit=64
  288.     for file in "/boot/kernel/kernel" "/boot/kernel/kernel.gz"; do
  289.         if [ -e (loop)/$file ]; then   
  290.             if file --is-i386-kfreebsd (loop)/$file; then
  291.                 set vt_freebsd_bit=32
  292.             fi
  293.             break
  294.         fi
  295.     done   

  296.     if [ -n "${vtdebug_flag}" ]; then
  297.         echo "This is FreeBSD $vt_freebsd_ver ${vt_freebsd_bit}bit"
  298.     fi
  299.    
  300.     unset vt_unix_mod_path
  301.     for file in "/COPYRIGHT" "/FreeNAS-MANIFEST" "/version" "/etc/fstab"; do   
  302.         if [ -e (loop)${file} ]; then                    
  303.             set vt_unix_mod_path=${file}
  304.             break
  305.         fi
  306.     done
  307.    
  308.     vt_unix_replace_ko $vt_unix_mod_path (vtunix)/ventoy_unix/FreeBSD/geom_ventoy_ko/$vt_freebsd_ver/$vt_freebsd_bit/geom_ventoy.ko.xz
  309.     vt_unix_replace_conf FreeBSD ${1}${chosen_path}
  310. }

  311. function ventoy_unix_comm_proc {
  312.     vt_unix_reset
  313.    
  314.     if [ "$ventoy_compatible" = "NO" ]; then
  315.         loopback vtunix $vtoy_efi_part/ventoy/ventoy_unix.cpio
  316.         
  317.         if [ "$vt_unix_type" = "FreeBSD" ]; then
  318.             ventoy_freebsd_proc $1 ${chosen_path}        
  319.         elif [ "$vt_unix_type" = "NetBSD" ]; then
  320.             echo "NetBSD not supported"
  321.             
  322.             
  323.             
  324.         else
  325.             if [ -n "${vtdebug_flag}" ]; then
  326.                 echo "Unknown unix type"
  327.             fi
  328.         fi
  329.     fi
  330.    
  331.     vt_unix_chain_data ${1}${chosen_path}   
  332.     ventoy_debug_pause
  333. }


  334. function uefi_windows_menu_func {
  335.     vt_windows_reset

  336.     if [ "$ventoy_compatible" = "NO" ]; then   
  337.         
  338.         if [ "$ventoy_fs_probe" = "iso9660" ]; then
  339.             loopback -d loop
  340.             vt_iso9660_nojoliet 1            
  341.             loopback loop $1$2
  342.         fi
  343.         
  344.         for file in "efi/microsoft/boot/bcd"; do
  345.             vt_windows_collect_wim_patch bcd (loop)/$file               
  346.         done

  347.         vt_windows_count_wim_patch vt_wim_cnt
  348.         if [ $vt_wim_cnt -eq 0 ]; then
  349.             distro_specify_wim_patch_phase2
  350.         fi
  351.         
  352.         ventoy_debug_pause        
  353.         locate_wim
  354.     fi

  355.     vt_windows_chain_data ${1}${chosen_path}   
  356.     ventoy_debug_pause
  357.    
  358.     if [ -n "$vtoy_chain_mem_addr" ]; then
  359.         ventoy_cli_console
  360.         chainloader ${vtoy_path}/ventoy_x64.efi  env_param=${env_param} isoefi=${LoadIsoEfiDriver} ${vtdebug_flag} mem:${vtoy_chain_mem_addr}:size:${vtoy_chain_mem_size}
  361.         boot
  362.     else
  363.         echo "chain empty failed"
  364.         ventoy_pause
  365.     fi
  366. }

  367. function uefi_linux_menu_func {
  368.     if [ "$ventoy_compatible" = "NO" ]; then   
  369.         
  370.         if [ "$ventoy_fs_probe" = "udf" ]; then
  371.             loopback -d loop            
  372.             set ventoy_fs_probe=iso9660
  373.             loopback loop $1$2
  374.         fi
  375.         
  376.         vt_load_cpio  ${vtoy_path}/ventoy.cpio   $2 $1 "busybox=$ventoy_busybox_ver"
  377.         
  378.         vt_linux_clear_initrd
  379.         
  380.         if [ -d (loop)/pmagic ]; then
  381.             vt_linux_specify_initrd_file /pmagic/initrd.img
  382.         else
  383.             for file in "boot/grub/grub.cfg" "EFI/BOOT/grub.cfg" "EFI/boot/grub.cfg" "efi/boot/grub.cfg" "EFI/BOOT/BOOTX64.conf" "/grub/grub.cfg"; do
  384.                 if [ -e (loop)/$file ]; then                    
  385.                     vt_linux_parse_initrd_grub  file  (loop)/$file
  386.                 fi
  387.             done
  388.         fi

  389.         # special process for special distros
  390.         if [ -d (loop)/loader/entries ]; then
  391.             vt_linux_parse_initrd_grub  dir  (loop)/loader/entries/
  392.         elif [ -d (loop)/boot/grub ]; then
  393.             vt_linux_parse_initrd_grub  dir  (loop)/boot/grub/
  394.         fi
  395.         
  396.         distro_specify_initrd_file
  397.         
  398.         vt_linux_initrd_count vtcount
  399.         if [ $vtcount -eq 0 ]; then
  400.             distro_specify_initrd_file_phase2
  401.             
  402.             if [ "$vt_efi_dir" = "NO" ]; then
  403.                 if [ -f (loop)/efi.img ];  then
  404.                     vt_add_replace_file 0 "initrd"
  405.                 fi
  406.             fi
  407.         fi
  408.         
  409.         locate_initrd
  410.         
  411.         if [ -d (loop)/loader/entries ]; then
  412.             vt_linux_get_main_initrd_index vtindex
  413.             
  414.             if [ -d (loop)/arch ]; then
  415.                 if [ -f (loop)/arch/boot/x86_64/archiso.img ]; then
  416.                     vt_add_replace_file $vtindex "EFI\\archiso\\archiso.img"
  417.                 elif [ -f (loop)/boot/initramfs_x86_64.img ]; then
  418.                     vt_add_replace_file $vtindex "boot\\initramfs_x86_64.img"
  419.                 fi
  420.             elif [ -f (loop)/EFI/BOOT/initrd.gz ]; then
  421.                 vt_add_replace_file $vtindex "EFI\\BOOT\\initrd.gz"
  422.             elif [ -f (loop)/loader/entries/thinstation.conf ]; then
  423.                 vt_add_replace_file $vtindex "boot\\initrd"
  424.             fi
  425.         elif [ -d (loop)/EFI/boot/entries ]; then
  426.             if [ -f (loop)/parabola/boot/x86_64/parabolaiso.img ]; then
  427.                 vt_add_replace_file 0 "EFI\\parabolaiso\\parabolaiso.img"
  428.             elif [ -f (loop)/hyperbola/boot/x86_64/hyperiso.img ]; then
  429.                 vt_add_replace_file 0 "EFI\\hyperiso\\hyperiso.img"
  430.             fi
  431.         elif [ -e (loop)/syslinux/alt0/full.cz ]; then
  432.             vt_add_replace_file 0 "EFI\\BOOT\\full.cz"            
  433.             set FirstTryBootFile='@EFI@BOOT@grubx64.efi'
  434.         fi
  435.         
  436.     fi
  437.    
  438.     vt_linux_chain_data ${1}${chosen_path}

  439.     if [ -n "$vtoy_chain_mem_addr" ]; then
  440.         ventoy_cli_console      
  441.         chainloader ${vtoy_path}/ventoy_x64.efi  env_param=${env_param} isoefi=${LoadIsoEfiDriver} FirstTry=${FirstTryBootFile} ${vtdebug_flag} mem:${vtoy_chain_mem_addr}:size:${vtoy_chain_mem_size}
  442.         boot
  443.     else
  444.         echo "chain empty failed"
  445.         ventoy_pause
  446.     fi
  447. }

  448. function uefi_unix_menu_func {
  449.     ventoy_unix_comm_proc $1 ${chosen_path}
  450.    
  451.     if [ -n "$vtoy_chain_mem_addr" ]; then
  452.         ventoy_cli_console
  453.         chainloader ${vtoy_path}/ventoy_x64.efi  env_param=${env_param} isoefi=${LoadIsoEfiDriver} FirstTry=${FirstTryBootFile} ${vtdebug_flag} mem:${vtoy_chain_mem_addr}:size:${vtoy_chain_mem_size}
  454.         boot
  455.     else
  456.         echo "chain empty failed"
  457.         ventoy_pause
  458.     fi
  459. }

  460. function uefi_iso_menu_func {

  461.     if [ -d (loop)/ ]; then
  462.         loopback -d loop
  463.     fi

  464.     if [ -n "$vtisouefi" ]; then
  465.         set LoadIsoEfiDriver=on
  466.         unset vtisouefi
  467.     elif vt_check_mode 2; then
  468.         set LoadIsoEfiDriver=on
  469.     else
  470.         unset LoadIsoEfiDriver
  471.     fi

  472.     set chosen_path=$2
  473.     vt_select_auto_install ${chosen_path}
  474.     vt_select_persistence ${chosen_path}

  475.     if vt_is_udf ${1}${chosen_path}; then
  476.         set ventoy_fs_probe=udf
  477.     else
  478.         set ventoy_fs_probe=iso9660
  479.         vt_iso9660_nojoliet 0
  480.     fi

  481.     loopback loop ${1}${chosen_path}   
  482.     get_os_type (loop)
  483.    
  484.     if [ -d (loop)/EFI ]; then
  485.         set vt_efi_dir=YES
  486.     elif [ -d (loop)/efi ]; then
  487.         set vt_efi_dir=YES
  488.     else
  489.         set vt_efi_dir=NO
  490.     fi
  491.    
  492.     if [ -n "$vtcompat" ]; then
  493.         set ventoy_compatible=YES
  494.         unset vtcompat
  495.     elif vt_check_mode 1; then
  496.         set ventoy_compatible=YES
  497.     else
  498.         vt_check_compatible (loop)
  499.     fi
  500.    
  501.     vt_img_sector ${1}${chosen_path}
  502.    
  503.     if [ "$vtoy_os" = "Windows" ]; then
  504.         vt_check_compatible_pe (loop)        
  505.         uefi_windows_menu_func  $1 ${chosen_path}
  506.     elif [ "$vtoy_os" = "Unix" ]; then
  507.         uefi_unix_menu_func $1 ${chosen_path}
  508.     else
  509.         uefi_linux_menu_func  $1 ${chosen_path}
  510.     fi

  511.     ventoy_gui_console
  512. }

  513. function uefi_iso_memdisk {   
  514.     echo 'Loading ISO file to memory ...'
  515.     vt_load_img_memdisk ${1}${2} vtoy_iso_buf
  516.    
  517.     ventoy_cli_console
  518.     chainloader ${vtoy_path}/ventoy_x64.efi memdisk env_param=${env_param} isoefi=${LoadIsoEfiDriver} ${vtdebug_flag} mem:${vtoy_iso_buf_addr}:size:${vtoy_iso_buf_size}
  519.     boot
  520.    
  521.     ventoy_gui_console
  522. }


  523. function legacy_windows_menu_func {
  524.     vt_windows_reset
  525.    
  526.     if [ "$ventoy_compatible" = "NO" ]; then   
  527.         
  528.         if [ "$ventoy_fs_probe" = "iso9660" ]; then
  529.             loopback -d loop
  530.             vt_iso9660_nojoliet 1
  531.             loopback loop $1$2
  532.         fi
  533.         
  534.         for file in "boot/bcd" "/efi/microsoft/boot/bcd" "SSTR/BCD"; do
  535.             vt_windows_collect_wim_patch bcd (loop)/$file               
  536.         done
  537.         
  538.         distro_specify_wim_patch

  539.         vt_windows_count_wim_patch vt_wim_cnt
  540.         if [ $vt_wim_cnt -eq 0 ]; then
  541.             distro_specify_wim_patch_phase2
  542.         fi
  543.         
  544.         ventoy_debug_pause        
  545.         locate_wim
  546.     fi

  547.     vt_windows_chain_data ${1}${chosen_path}   
  548.     ventoy_debug_pause   
  549.    
  550.     if [ -n "$vtoy_chain_mem_addr" ]; then
  551.         linux16   $vtoy_path/ipxe.krn ${vtdebug_flag} ibft mem:${vtoy_chain_mem_addr}:size:${vtoy_chain_mem_size}
  552.         boot
  553.     else
  554.         echo "chain empty failed"
  555.         ventoy_pause
  556.     fi
  557. }

  558. function legacy_linux_menu_func {
  559.     if [ "$ventoy_compatible" = "NO" ]; then

  560.         if [ "$ventoy_fs_probe" = "udf" ]; then
  561.             loopback -d loop
  562.             set ventoy_fs_probe=iso9660
  563.             loopback loop $1$2
  564.         fi
  565.    
  566.         vt_load_cpio  $vtoy_path/ventoy.cpio  $2 $1 "busybox=$ventoy_busybox_ver"

  567.         vt_linux_clear_initrd
  568.         
  569.         if [ -d (loop)/pmagic ]; then
  570.             vt_linux_specify_initrd_file /pmagic/initrd.img
  571.         else
  572.             for dir in "isolinux" "boot/isolinux" "boot/x86_64/loader" "syslinux" "boot/syslinux"; do
  573.                 if [ -d (loop)/$dir ]; then
  574.                     vt_linux_parse_initrd_isolinux   (loop)/$dir/
  575.                 fi
  576.             done
  577.         fi
  578.         
  579.         # special process for special distros
  580.         #archlinux
  581.         if [ -d (loop)/arch/boot/syslinux ]; then
  582.             vt_linux_parse_initrd_isolinux   (loop)/arch/boot/syslinux/  /arch/
  583.             vt_linux_parse_initrd_isolinux   (loop)/arch/boot/syslinux/  /arch/boot/syslinux/
  584.             
  585.         #manjaro
  586.         elif [ -d (loop)/manjaro ]; then
  587.             if [ -e (loop)/boot/grub/kernels.cfg ]; then
  588.                 vt_linux_parse_initrd_grub  file  (loop)/boot/grub/kernels.cfg
  589.             fi
  590.         elif [ -e (loop)/boot/grub/grub.cfg ]; then               
  591.             vt_linux_parse_initrd_grub  file  (loop)/boot/grub/grub.cfg
  592.         fi
  593.         
  594.         distro_specify_initrd_file
  595.         
  596.         vt_linux_initrd_count vtcount
  597.         if [ $vtcount -eq 0 ]; then
  598.             distro_specify_initrd_file_phase2
  599.         fi
  600.         
  601.         locate_initrd
  602.     fi
  603.    
  604.     vt_linux_chain_data ${1}${chosen_path}   
  605.     ventoy_debug_pause
  606.    
  607.     if [ -n "$vtoy_chain_mem_addr" ]; then
  608.         linux16   $vtoy_path/ipxe.krn ${vtdebug_flag}  mem:${vtoy_chain_mem_addr}:size:${vtoy_chain_mem_size}
  609.         boot
  610.     else
  611.         echo "chain empty failed"
  612.         ventoy_pause
  613.     fi
  614. }


  615. function legacy_unix_menu_func {   
  616.     ventoy_unix_comm_proc $1 ${chosen_path}
  617.    
  618.     if [ -n "$vtoy_chain_mem_addr" ]; then
  619.         linux16   $vtoy_path/ipxe.krn ${vtdebug_flag}  mem:${vtoy_chain_mem_addr}:size:${vtoy_chain_mem_size}
  620.         boot
  621.     else
  622.         echo "chain empty failed"
  623.         ventoy_pause
  624.     fi
  625. }


  626. function legacy_iso_menu_func {

  627.     if [ -d (loop)/ ]; then
  628.         loopback -d loop
  629.     fi

  630.     set chosen_path=$2
  631.     vt_select_auto_install ${chosen_path}
  632.     vt_select_persistence ${chosen_path}

  633.     if vt_is_udf ${1}${chosen_path}; then
  634.         set ventoy_fs_probe=udf
  635.     else
  636.         set ventoy_fs_probe=iso9660
  637.         vt_iso9660_nojoliet 0
  638.     fi
  639.    
  640.     loopback loop ${1}${chosen_path}
  641.    
  642.     get_os_type (loop)

  643.     if [ -n "$vtcompat" ]; then
  644.         set ventoy_compatible=YES
  645.         unset vtcompat
  646.     elif vt_check_mode 1; then
  647.         set ventoy_compatible=YES
  648.     else
  649.         vt_check_compatible (loop)
  650.     fi
  651.    
  652.     vt_img_sector ${1}${chosen_path}

  653.     if [ "$vtoy_os" = "Windows" ]; then
  654.         vt_check_compatible_pe (loop)        
  655.         legacy_windows_menu_func  $1 ${chosen_path}
  656.     elif [ "$vtoy_os" = "Unix" ]; then
  657.         legacy_unix_menu_func $1 ${chosen_path}
  658.     else
  659.         legacy_linux_menu_func  $1 ${chosen_path}
  660.     fi
  661. }

  662. function legacy_iso_memdisk {

  663.     linux16   $vtoy_path/memdisk iso raw   
  664.     echo "Loading ISO file to memory ..."
  665.     initrd16  ${1}${2}
  666.     boot
  667. }


  668. function iso_endless_os_proc {
  669.     if [ -d (loop)/ ]; then
  670.         loopback -d loop
  671.     fi

  672.     loopback loop ${1}${2}   
  673.     vt_img_sector ${1}${2}

  674.     vt_load_cpio  $vtoy_path/ventoy.cpio  $2 $1  "busybox=$ventoy_busybox_ver"
  675.     vt_trailer_cpio $1 $2 noinit
  676.    
  677.     ventoy_debug_pause

  678.     vt_set_boot_opt '@kparams' rdinit=/vtoy/vtoy

  679.     set eosimage=loop
  680.     set ventoy_bls_bootdev=/boot   
  681.     set ventoy_loading_tip="Loading files ......"
  682.    
  683.     export eosimage   
  684.     configfile (loop)/endless/grub/grub.cfg
  685.    
  686.     unset eosimage
  687.     unset ventoy_bls_bootdev
  688.     unset ventoy_loading_tip
  689.    
  690.     vt_unset_boot_opt
  691. }


  692. function ventoy_iso_busybox_ver {
  693.     set ventoy_busybox_ver=32
  694.    
  695.     #special process for deepin-live iso
  696.     if [ "$vt_chosen_size" = "403701760" ]; then
  697.         if vt_str_begin $vt_chosen_path "/deepin-live"; then
  698.             set ventoy_busybox_ver=64
  699.         fi
  700.     fi
  701. }

  702. function iso_common_menuentry {
  703.     unset vt_system_id
  704.     unset vt_volume_id
  705.    
  706.     vt_chosen_img_path vt_chosen_path vt_chosen_size
  707.     vt_parse_iso_volume ${vtoy_iso_part}${vt_chosen_path} vt_system_id vt_volume_id
  708.    
  709.     ventoy_iso_busybox_ver
  710.    
  711.     #special process for Endless OS
  712.     if vt_str_begin $vt_volume_id "Endless-OS"; then
  713.         iso_endless_os_proc $vtoy_iso_part $vt_chosen_path
  714.     fi

  715.     if [ "$grub_platform" = "pc" ]; then
  716.         if vt_check_mode 0; then
  717.             legacy_iso_memdisk $vtoy_iso_part $vt_chosen_path
  718.         else
  719.             legacy_iso_menu_func $vtoy_iso_part $vt_chosen_path
  720.         fi
  721.     else
  722.         if vt_check_mode 0; then
  723.             uefi_iso_memdisk $vtoy_iso_part  $vt_chosen_path
  724.         else
  725.             uefi_iso_menu_func $vtoy_iso_part  $vt_chosen_path            
  726.         fi
  727.     fi      
  728. }

  729. function common_unsupport_menuentry {
  730.     echo -e "\n The name of the iso file could NOT contain space or non-ascii characters. \n"
  731.     echo -e " 文件名中不能有中文或空格 \n"   
  732.     echo -e "\npress ENTER to exit (请按 回车 键返回) ..."   
  733.     read vtInputKey
  734. }

  735. function iso_unsupport_menuentry {
  736.     common_unsupport_menuentry
  737. }

  738. function wim_common_menuentry {
  739.     vt_chosen_img_path vt_chosen_path vt_chosen_size
  740.     vt_wim_chain_data ${vtoy_iso_part}${vt_chosen_path}
  741.    
  742.     ventoy_debug_pause   
  743.    
  744.     if [ -n "$vtoy_chain_mem_addr" ]; then
  745.         if [ "$grub_platform" = "pc" ]; then
  746.             linux16   $vtoy_path/ipxe.krn ${vtdebug_flag}  mem:${vtoy_chain_mem_addr}:size:${vtoy_chain_mem_size}
  747.         else
  748.             ventoy_cli_console
  749.             chainloader ${vtoy_path}/ventoy_x64.efi  env_param=${env_param} isoefi=${LoadIsoEfiDriver} ${vtdebug_flag} mem:${vtoy_chain_mem_addr}:size:${vtoy_chain_mem_size}
  750.             ventoy_gui_console
  751.         fi
  752.         boot
  753.     else
  754.         echo "chain empty failed"
  755.         ventoy_pause
  756.     fi
  757. }

  758. function wim_unsupport_menuentry {
  759.     common_unsupport_menuentry
  760. }

  761. function efi_common_menuentry {
  762.     vt_chosen_img_path vt_chosen_path vt_chosen_size
  763.    
  764.     vt_concat_efi_iso ${vtoy_iso_part}${vt_chosen_path} vtoy_iso_buf
  765.    
  766.     ventoy_debug_pause
  767.    
  768.     ventoy_cli_console   
  769.     chainloader ${vtoy_path}/ventoy_x64.efi memdisk env_param=${env_param} isoefi=on ${vtdebug_flag} mem:${vtoy_iso_buf_addr}:size:${vtoy_iso_buf_size}
  770.     boot
  771.     ventoy_gui_console
  772. }

  773. function efi_unsupport_menuentry {
  774.     common_unsupport_menuentry
  775. }

  776. #
  777. #============================================================#
  778. # IMG file boot process                                      #
  779. #============================================================#
  780. #


  781. function ventoy_img_easyos {
  782.     vt_load_cpio  $vtoy_path/ventoy.cpio  ${vt_chosen_path} ${vtoy_iso_part} "busybox=$ventoy_busybox_ver"
  783.     vt_trailer_cpio ${vtoy_iso_part} ${vt_chosen_path} noinit
  784.    
  785.     loopback easysfs (vtimghd,1)/easy.sfs
  786.     vt_get_lib_module_ver (easysfs) /lib/modules/ vt_module_ver
  787.    
  788.     if [ -n "$vt_module_ver" ]; then        
  789.         for mod in "kernel/drivers/md/dm-mod.ko" "kernel/drivers/dax/dax.ko"; do
  790.             vt_img_extra_initrd_append  (easysfs)/lib/modules/$vt_module_ver/$mod
  791.         done
  792.     fi

  793.     ventoy_debug_pause

  794.     #boot image file
  795.     vt_set_boot_opt rdinit=/vtoy/vtoy
  796.     vt_img_hook_root
  797.    
  798.     syslinux_configfile (vtimghd,1)/syslinux.cfg
  799.    
  800.     vt_img_unhook_root
  801.     vt_unset_boot_opt
  802.     loopback -d easysfs
  803. }

  804. function ventoy_img_volumio {
  805.     vt_load_cpio  $vtoy_path/ventoy.cpio  ${vt_chosen_path} ${vtoy_iso_part} "busybox=$ventoy_busybox_ver"
  806.     vt_trailer_cpio ${vtoy_iso_part} ${vt_chosen_path} noinit

  807.     ventoy_debug_pause

  808.     #boot image file
  809.     vt_set_boot_opt rdinit=/vtoy/vtoy imgpart=/dev/ventoy2 bootpart=/dev/ventoy1
  810.     vt_img_hook_root
  811.    
  812.     syslinux_configfile (vtimghd,1)/syslinux.cfg
  813.    
  814.     vt_img_unhook_root
  815.     vt_unset_boot_opt
  816. }


  817. function img_common_menuentry {
  818.     set ventoy_busybox_ver=32
  819.    
  820.     vt_chosen_img_path vt_chosen_path vt_chosen_size

  821.     if [ -d (vtimghd)/ ]; then
  822.         loopback -d vtimghd
  823.     fi

  824.     loopback vtimghd ${vtoy_iso_part}${vt_chosen_path}
  825.     vt_img_sector ${vtoy_iso_part}${vt_chosen_path}

  826.     vt_img_part_info (vtimghd)

  827.     set vtback_root=$root
  828.     ventoy_cli_console
  829.     vt_push_last_entry

  830.     vt_img_extra_initrd_reset

  831.     #vt_get_fs_label (vtimghd,1) vtImgHd1Label
  832.    
  833.     if [ -e (vtimghd,1)/easy.sfs ]; then
  834.         ventoy_img_easyos
  835.     elif [ -e (vtimghd,1)/volumio.initrd ]; then
  836.         ventoy_img_volumio
  837.    

  838.     else
  839.         echo -e "\n This IMG file is NOT supported now. \n"
  840.         echo -e " 当前不支持启动此 IMG 文件 \n"   
  841.         echo -e "\npress ENTER to exit (请按 回车 键返回) ..."   
  842.         read vtInputKey        
  843.     fi

  844.     set root=$vtback_root
  845.     vt_pop_last_entry
  846.     ventoy_gui_console
  847. }

  848. function img_unsupport_menuentry {
  849.     common_unsupport_menuentry
  850. }

  851. #############################################################
  852. #############################################################
  853. #############################################################
  854. #######                 Main Process              ###########
  855. #############################################################
  856. #############################################################
  857. #############################################################

  858. set VENTOY_VERSION="1.0.19"

  859. # Default menu display mode, you can change it as you want.
  860. #    0: List mode   
  861. #    1: TreeView mode
  862. set VTOY_DEFAULT_MENU_MODE=0

  863. set VTOY_MEM_DISK_STR="[Memdisk]"
  864. set VTOY_ISO_RAW_STR="Compatible Mode"
  865. set VTOY_ISO_UEFI_DRV_STR="UEFI FS"

  866. set VTOY_F2_CMD="ventoy_power"
  867. set VTOY_F4_CMD="ventoy_localboot"
  868. set VTOY_F5_CMD="ventoy_diagnosis"
  869. set VTOY_F6_CMD="ventoy_ext_menu"

  870. if [ "$grub_platform" = "pc" ]; then
  871.     set VTOY_TEXT_MENU_VER="Ventoy $VENTOY_VERSION BIOS  www.ventoy.net"
  872. else
  873.     set VTOY_TEXT_MENU_VER="Ventoy $VENTOY_VERSION UEFI  www.ventoy.net"
  874. fi

  875. vt_device $root  vtoy_dev

  876. if [ "$vtoy_dev" = "tftp" ]; then
  877.     set vtoy_path=($root)
  878.     for vtid in 0 1 2 3; do
  879.         if [ -d (hd$vtid,2)/ventoy ]; then
  880.             set vtoy_iso_part=(hd$vtid,1)
  881.             set vtoy_efi_part=(hd$vtid,2)
  882.             break
  883.         fi
  884.     done
  885.     loadfont ascii

  886.     if [ -f $vtoy_iso_part/ventoy/ventoy.json ]; then
  887.        set vt_plugin_path=$vtoy_iso_part
  888.     else
  889.         set vt_plugin_path=$prefix
  890.         vt_load_plugin $vt_plugin_path
  891.     fi
  892. else
  893.     if [ "$prefix" = "(ventoydisk)/grub" ]; then
  894.         set vtoy_path=(ventoydisk)/ventoy
  895.     else
  896.         set vtoy_path=($root)/ventoy
  897.     fi

  898.     set vtoy_iso_part=($vtoy_dev,1)
  899.     set vtoy_efi_part=($vtoy_dev,2)
  900.     loadfont unicode
  901.     set vt_plugin_path=$vtoy_iso_part
  902. fi


  903. #Load Plugin
  904. if [ -f $vtoy_iso_part/ventoy/ventoy.json ]; then
  905.    vt_load_plugin $vtoy_iso_part
  906. fi

  907. if [ -n "$VTOY_MENU_TIMEOUT" ]; then
  908.     set timeout=$VTOY_MENU_TIMEOUT
  909. else
  910.     unset timeout
  911. fi

  912. if [ -f $vtoy_iso_part/ventoy/ventoy_wimboot.img ]; then
  913.     vt_load_wimboot $vtoy_iso_part/ventoy/ventoy_wimboot.img
  914. elif [ -f $vtoy_efi_part/ventoy/ventoy_wimboot.img ]; then
  915.     vt_load_wimboot $vtoy_efi_part/ventoy/ventoy_wimboot.img
  916. fi


  917. if [ $VTOY_DEFAULT_MENU_MODE -eq 0 ]; then
  918.     set VTOY_F3_CMD="vt_dynamic_menu 1 1"
  919.     set VTOY_HOTKEY_TIP="F1:Memdisk  F2:Power  F3:TreeView  F4:Localboot  F5:Debug  F6:ExMenu"
  920. else
  921.     set VTOY_F3_CMD="vt_dynamic_menu 1 0"
  922.     set VTOY_HOTKEY_TIP="F1:Memdisk  F2:Power  F3:ListView  F4:Localboot  F5:Debug  F6:ExMenu"
  923. fi


  924. if [ -n "$vtoy_gfxmode" ]; then
  925.     set gfxmode=$vtoy_gfxmode
  926. else
  927.     set gfxmode=1920x1080,1366x768,1024x768
  928. fi

  929. if [ "$vtoy_display_mode" = "CLI" ]; then
  930.     terminal_output  console
  931. elif [ "$vtoy_display_mode" = "serial" ]; then
  932.     if [ -n "$vtoy_serial_param" ]; then
  933.         serial $vtoy_serial_param
  934.     fi
  935.     terminal_input   serial
  936.     terminal_output  serial
  937. elif [ "$vtoy_display_mode" = "serial_console" ]; then
  938.     if [ -n "$vtoy_serial_param" ]; then
  939.         serial $vtoy_serial_param
  940.     fi
  941.     terminal_input   serial console
  942.     terminal_output  serial console   
  943. else   
  944.     if [ -n "$vtoy_theme" ]; then
  945.         set theme=$vtoy_theme
  946.     else
  947.         set theme=$prefix/themes/ventoy/theme.txt
  948.     fi
  949.     terminal_output  gfxterm
  950. fi

  951. #export necessary variable
  952. export theme
  953. export gfxmode
  954. export vtoy_dev
  955. export vtoy_iso_part
  956. export vtoy_efi_part
  957. export VENTOY_VERSION




  958. #colect all image files (iso files)
  959. set ventoy_img_count=0
  960. vt_list_img $vtoy_iso_part ventoy_img_count

  961. #Main menu
  962. if [ $ventoy_img_count -gt 0 ]; then
  963.     if [ $VTOY_DEFAULT_MENU_MODE -eq 0 ]; then
  964.         vt_dynamic_menu 0 0
  965.     else
  966.         vt_dynamic_menu 0 1
  967.     fi
  968. else
  969.     if [ -n "$VTOY_NO_ISO_TIP" ]; then
  970.         NO_ISO_MENU="No ISO files found, $VTOY_NO_ISO_TIP"
  971.     elif [ -n "$VTOY_DEFAULT_SEARCH_ROOT" ]; then
  972.         NO_ISO_MENU="No ISO files found, please check VTOY_DEFAULT_SEARCH_ROOT"
  973.     else
  974.         NO_ISO_MENU="No ISO files found"
  975.     fi
  976.     menuentry "$NO_ISO_MENU (Press enter to reboot ...)" {
  977.         echo -e "\n    Rebooting ... "
  978.         reboot
  979.     }
  980. fi
复制代码


能直接修改这引导文件来引导解开来的veket20的iso吗?
或者有别的方法?


用别的工具安装能正常保存数据,但在电脑兼容上没有ventoy好,用ventoy来安装和引导怎样才能保存数据?
若不解开iso来引导还有别的方法实现吗?
2#
发表于 2020-8-17 09:22:27 | 只看该作者
靠,膜拜一下楼主,然后偷偷溜走,不留一点痕迹

点评

晕,来求助的,高手指点下  详情 回复 发表于 2020-8-17 09:24
回复

使用道具 举报

3#
 楼主| 发表于 2020-8-17 09:24:58 | 只看该作者
jeep2700 发表于 2020-8-17 09:22
靠,膜拜一下楼主,然后偷偷溜走,不留一点痕迹

晕,来求助的,高手指点下
回复

使用道具 举报

4#
发表于 2020-8-17 10:00:44 来自手机 | 只看该作者
新手膜拜。只希望ventoy越来越健全
回复

使用道具 举报

5#
发表于 2020-8-17 14:13:10 | 只看该作者
        这一类的linux,要想保存,肯定要解开,不解开是不行的,sfs文件不解开是不能保存的。

ventoy设计初衷是针对iso或者wim启动,不解开需要适配。

点评

确定没法可想了? ventoy用多系统启动方便,可惜功能缺失。 别的工具想要这样的多个系统不容易。谢谢你的解答!  详情 回复 发表于 2020-8-24 14:15
回复

使用道具 举报

6#
 楼主| 发表于 2020-8-24 14:15:38 | 只看该作者
liuzhaoyzz 发表于 2020-8-17 14:13
这一类的linux,要想保存,肯定要解开,不解开是不行的,sfs文件不解开是不能保存的。

ventoy设 ...

确定没法可想了?
ventoy用多系统启动方便,可惜功能缺失。
别的工具想要这样的多个系统不容易。谢谢你的解答!
回复

使用道具 举报

7#
发表于 2020-8-25 06:19:04 来自手机 | 只看该作者
本帖最后由 my9823 于 2020-8-25 06:21 编辑

自定义菜单

Screenshot_2020-08-25-06-16-22-664_com.android.browser.jpg (320.59 KB, 下载次数: 100)

Screenshot_2020-08-25-06-16-22-664_com.android.browser.jpg

点评

谢谢了!学习下!  详情 回复 发表于 2020-9-8 19:36
回复

使用道具 举报

8#
发表于 2020-9-2 18:15:14 | 只看该作者
直接问Ventoy的作者longpanda 吧。
回复

使用道具 举报

9#
 楼主| 发表于 2020-9-8 19:36:03 | 只看该作者

谢谢了!学习下!
回复

使用道具 举报

10#
发表于 2021-9-21 19:18:49 | 只看该作者
学习一下
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|捐助支持|无忧启动 ( 闽ICP备05002490号-1 )

闽公网安备 35020302032614号

GMT+8, 2024-4-20 11:43

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表