Official MediCat USB - A Multiboot Linux USB for PC Repair

  • Thread starter Jayro
  • Start date
  • Views 8,347,272
  • Replies 3,952
  • Likes 278

momosala

Well-Known Member
Newcomer
Joined
Sep 26, 2020
Messages
93
Trophies
0
Age
79
Location
France
XP
237
Country
France
Bonjour

Ou fut il mettre les lignes concernant la disposition du clavier SVP ?
_____________________________________________
En français : Fais un peu d'effort et envoies des messages en anglais.
Pour ce qui concerne ta question, tu peux ajouter la ligne rouge où tu veux, dans la section "control" du fichier "ventoy.json"
In English :
Make an effort and send messages in English.
Regarding your question, you can add the red line where you want, in the "control" section of the "ventoy.json" file.
 

AAA3A

Well-Known Member
Member
Joined
Feb 4, 2021
Messages
157
Trophies
0
XP
410
Country
France
The F2, F4 and F5 menus have no icons. So I tried to put some in too. As I am not good at image processing, I used some of the many icons in the Medicat /Icons folder. With this option you can also change the texts of all Ventoy submenus, including the parameters. Look at the pictures to see the results! If you want to do the same, follow the instructions below!

Reminder: The boot test software that I used during the screenshots distorts the icons. In normal legacy or uefi mode, the icons will be normal and perfectly adapted!

upload_2021-3-30_20-6-58.png

Submenu F2

upload_2021-3-30_20-7-34.png

Submenu F4

upload_2021-3-30_20-8-7.png

Submenu F5

upload_2021-3-30_20-8-36.png

Keyboard Layouts

upload_2021-3-30_20-9-5.png

Screen Display Mode

upload_2021-3-30_20-9-20.png

Check Plugin Configuration

To install the icons, download the attached \submenu folder and copy all its contents into the "\ventoy\theme\uefi\icons" and "\ventoy\theme\legacy\icons" folders.
Then replace the file "\ventoy\ventoy_grub.cfg" by the one in the attachment or add the code below.
And voila, the new icons will magically appear in the Ventoy menu!
Code:
submenu "Screen Display Mode" --class=debug_screen_mode {
    menuentry 'Force Text Mode' --class=debug_text_mode {
        terminal_output console
    }
    menuentry 'Force Graphics Mode' --class=debug_gui_mode {
        terminal_output gfxterm
    }
    menuentry 'Return to previous menu [Esc]' --class=vtoyret VTOY_RET {
        echo 'Return ...'
    }
}
if [ "$grub_platform" != "pc" ]; then
    submenu 'Ventoy UEFI Utilities' --class=debug_util {
        menuentry 'Fixup Windows BlinitializeLibrary Failure' --class=debug_util_blinit {
            chainloader ${vtoy_path}/vtoyutil_${VTOY_EFI_ARCH}.efi env_param=${env_param} ${vtdebug_flag} feature=fix_windows_mmap
            boot
            echo -e "\npress ENTER to exit ..."
            read vtInputKey
        }
        menuentry 'Return to previous menu [Esc]' --class=vtoyret VTOY_RET {
            echo 'Return ...'
        }
    }
fi
submenu 'Check plugin json configuration (ventoy.json)' --class=debug_json {
    menuentry 'Check global control plugin configuration' --class=debug_control {
        set pager=1
        vt_check_plugin_json $vt_plugin_path control $vtoy_iso_part
     
        echo -e "\npress ENTER to exit ..."
        read vtInputKey
        unset pager
    }
 
    menuentry 'Check theme plugin configuration' --class=debug_theme {
        set pager=1
        vt_check_plugin_json $vt_plugin_path theme $vtoy_iso_part
     
        echo -e "\npress ENTER to exit ..."
        read vtInputKey
        unset pager
    }
 
    menuentry 'Check auto install plugin configuration' --class=debug_autoinstall {
        set pager=1
        vt_check_plugin_json $vt_plugin_path auto_install $vtoy_iso_part
     
        echo -e "\npress ENTER to exit ..."
        read vtInputKey
        unset pager
    }
 
    menuentry 'Check persistence plugin configuration' --class=debug_persistence {
        set pager=1
        vt_check_plugin_json $vt_plugin_path persistence $vtoy_iso_part
     
        echo -e "\n############### dump persistence ###############"
        vt_dump_persistence
     
        echo -e "\npress ENTER to exit ..."
        read vtInputKey
        unset pager
    }
 
    menuentry 'Check menu alias plugin configuration' --class=debug_menualias {
        set pager=1
        vt_check_plugin_json $vt_plugin_path menu_alias $vtoy_iso_part
     
        echo -e "\npress ENTER to exit ..."
        read vtInputKey
        unset pager
    }
 
    menuentry 'Check menu class plugin configuration' --class=debug_menuclass {
        set pager=1
        vt_check_plugin_json $vt_plugin_path menu_class $vtoy_iso_part
     
        echo -e "\npress ENTER to exit ..."
        read vtInputKey
        unset pager
    }
    menuentry 'Check injection plugin configuration' --class=debug_injection {
        set pager=1
        vt_check_plugin_json $vt_plugin_path injection $vtoy_iso_part
     
        echo -e "\npress ENTER to exit ..."
        read vtInputKey
        unset pager
    }
    menuentry 'Check auto memdisk plugin configuration' --class=debug_automemdisk {
        set pager=1
        vt_check_plugin_json $vt_plugin_path auto_memdisk $vtoy_iso_part
     
        echo -e "\npress ENTER to exit ..."
        read vtInputKey
        unset pager
    }
    menuentry 'Check image list plugin configuration' --class=debug_imagelist {
        set pager=1
        vt_check_plugin_json $vt_plugin_path image_list $vtoy_iso_part
     
        echo -e "\npress ENTER to exit ..."
        read vtInputKey
        unset pager
    }
 
    menuentry 'Check image blacklist plugin configuration' --class=debug_imageblacklist {
        set pager=1
        vt_check_plugin_json $vt_plugin_path image_blacklist $vtoy_iso_part
     
        echo -e "\npress ENTER to exit ..."
        read vtInputKey
        unset pager
    }
 
    menuentry 'Check boot conf replace plugin configuration' --class=debug_bootconf_replace {
        set pager=1
        vt_check_plugin_json $vt_plugin_path conf_replace $vtoy_iso_part
     
        echo -e "\npress ENTER to exit ..."
        read vtInputKey
        unset pager
    }
 
    menuentry 'Check dud plugin configuration' --class=debug_dud {
        set pager=1
        vt_check_plugin_json $vt_plugin_path dud $vtoy_iso_part
     
        echo -e "\npress ENTER to exit ..."
        read vtInputKey
        unset pager
    }
 
    menuentry 'Check password plugin configuration' --class=debug_pwd {
        set pager=1
        vt_check_plugin_json $vt_plugin_path password $vtoy_iso_part
     
        echo -e "\npress ENTER to exit ..."
        read vtInputKey
        unset pager
    }
 
    menuentry 'Check custom boot plugin configuration' --class=debug_custom_boot {
        set pager=1
        vt_check_plugin_json $vt_plugin_path custom_boot $vtoy_iso_part
     
        echo -e "\npress ENTER to exit ..."
        read vtInputKey
        unset pager
    }

To change the icons, you must choose a .png file. Then, you have to delete the old icon (for example vtoyret.png).
Finally, rename the new icon using the name of the old one. Don't forget to modify the icons in Legacy AND Uefi! And voila, the new icons will magically appear in the Ventoy menu!
 

Attachments

  • submenu.zip
    5.4 MB · Views: 152
  • upload_2021-3-30_20-8-14.png
    upload_2021-3-30_20-8-14.png
    1.6 MB · Views: 210
Last edited by AAA3A,

AAA3A

Well-Known Member
Member
Joined
Feb 4, 2021
Messages
157
Trophies
0
XP
410
Country
France
The StartRedirect.exe software that is in mini windows 10 allows you to save the layout of the start menu.

1) It copies the folder %APPDATA%\Microsoft\Windows\Start Menu\Programs\
2) At startup, the start menu takes exactly the layout that has been saved.

How does this program restore the changes in the start menu? This software is not found anywhere on the internet, where did you find it?
 
Last edited by AAA3A,

Jayro

MediCat USB Dev
OP
Developer
Joined
Jul 23, 2012
Messages
12,997
Trophies
4
Location
WA State
Website
ko-fi.com
XP
17,073
Country
United States
Hi, Jayro.
I see that the Medicat VHD is .vhd type... I found out that the .vhdx type is a better option because there is also protection against data corruption and better alignment.
VHDX is not supported.

--------------------- MERGED ---------------------------

The F2, F4 and F5 menus have no icons. So I tried to put some in too. As I am not good at image processing, I used some of the many icons in the Medicat /Icons folder. With this option you can also change the texts of all Ventoy submenus, including the parameters. Look at the pictures to see the results! If you want to do the same, follow the instructions below!

Reminder: The boot test software that I used during the screenshots distorts the icons. In normal legacy or uefi mode, the icons will be normal and perfectly adapted!

View attachment 255300
Submenu F2

View attachment 255301
Submenu F4

View attachment 255302
Submenu F5

View attachment 255304
Keyboard Layouts

View attachment 255306
Screen Display Mode

View attachment 255307
Check Plugin Configuration

To install the icons, download the attached \submenu folder and copy all its contents into the "\ventoy\theme\uefi\icons" and "\ventoy\theme\legacy\icons" folders.
Then replace the file "\ventoy\ventoy_grub.cfg" by the one in the attachment or add the code below.
And voila, the new icons will magically appear in the Ventoy menu!
Code:
submenu "Screen Display Mode" --class=debug_screen_mode {
    menuentry 'Force Text Mode' --class=debug_text_mode {
        terminal_output console
    }
    menuentry 'Force Graphics Mode' --class=debug_gui_mode {
        terminal_output gfxterm
    }
    menuentry 'Return to previous menu [Esc]' --class=vtoyret VTOY_RET {
        echo 'Return ...'
    }
}
if [ "$grub_platform" != "pc" ]; then
    submenu 'Ventoy UEFI Utilities' --class=debug_util {
        menuentry 'Fixup Windows BlinitializeLibrary Failure' --class=debug_util_blinit {
            chainloader ${vtoy_path}/vtoyutil_${VTOY_EFI_ARCH}.efi env_param=${env_param} ${vtdebug_flag} feature=fix_windows_mmap
            boot
            echo -e "\npress ENTER to exit ..."
            read vtInputKey
        }
        menuentry 'Return to previous menu [Esc]' --class=vtoyret VTOY_RET {
            echo 'Return ...'
        }
    }
fi
submenu 'Check plugin json configuration (ventoy.json)' --class=debug_json {
    menuentry 'Check global control plugin configuration' --class=debug_control {
        set pager=1
        vt_check_plugin_json $vt_plugin_path control $vtoy_iso_part
    
        echo -e "\npress ENTER to exit ..."
        read vtInputKey
        unset pager
    }
 
    menuentry 'Check theme plugin configuration' --class=debug_theme {
        set pager=1
        vt_check_plugin_json $vt_plugin_path theme $vtoy_iso_part
    
        echo -e "\npress ENTER to exit ..."
        read vtInputKey
        unset pager
    }
 
    menuentry 'Check auto install plugin configuration' --class=debug_autoinstall {
        set pager=1
        vt_check_plugin_json $vt_plugin_path auto_install $vtoy_iso_part
    
        echo -e "\npress ENTER to exit ..."
        read vtInputKey
        unset pager
    }
 
    menuentry 'Check persistence plugin configuration' --class=debug_persistence {
        set pager=1
        vt_check_plugin_json $vt_plugin_path persistence $vtoy_iso_part
    
        echo -e "\n############### dump persistence ###############"
        vt_dump_persistence
    
        echo -e "\npress ENTER to exit ..."
        read vtInputKey
        unset pager
    }
 
    menuentry 'Check menu alias plugin configuration' --class=debug_menualias {
        set pager=1
        vt_check_plugin_json $vt_plugin_path menu_alias $vtoy_iso_part
    
        echo -e "\npress ENTER to exit ..."
        read vtInputKey
        unset pager
    }
 
    menuentry 'Check menu class plugin configuration' --class=debug_menuclass {
        set pager=1
        vt_check_plugin_json $vt_plugin_path menu_class $vtoy_iso_part
    
        echo -e "\npress ENTER to exit ..."
        read vtInputKey
        unset pager
    }
    menuentry 'Check injection plugin configuration' --class=debug_injection {
        set pager=1
        vt_check_plugin_json $vt_plugin_path injection $vtoy_iso_part
    
        echo -e "\npress ENTER to exit ..."
        read vtInputKey
        unset pager
    }
    menuentry 'Check auto memdisk plugin configuration' --class=debug_automemdisk {
        set pager=1
        vt_check_plugin_json $vt_plugin_path auto_memdisk $vtoy_iso_part
    
        echo -e "\npress ENTER to exit ..."
        read vtInputKey
        unset pager
    }
    menuentry 'Check image list plugin configuration' --class=debug_imagelist {
        set pager=1
        vt_check_plugin_json $vt_plugin_path image_list $vtoy_iso_part
    
        echo -e "\npress ENTER to exit ..."
        read vtInputKey
        unset pager
    }
 
    menuentry 'Check image blacklist plugin configuration' --class=debug_imageblacklist {
        set pager=1
        vt_check_plugin_json $vt_plugin_path image_blacklist $vtoy_iso_part
    
        echo -e "\npress ENTER to exit ..."
        read vtInputKey
        unset pager
    }
 
    menuentry 'Check boot conf replace plugin configuration' --class=debug_bootconf_replace {
        set pager=1
        vt_check_plugin_json $vt_plugin_path conf_replace $vtoy_iso_part
    
        echo -e "\npress ENTER to exit ..."
        read vtInputKey
        unset pager
    }
 
    menuentry 'Check dud plugin configuration' --class=debug_dud {
        set pager=1
        vt_check_plugin_json $vt_plugin_path dud $vtoy_iso_part
    
        echo -e "\npress ENTER to exit ..."
        read vtInputKey
        unset pager
    }
 
    menuentry 'Check password plugin configuration' --class=debug_pwd {
        set pager=1
        vt_check_plugin_json $vt_plugin_path password $vtoy_iso_part
    
        echo -e "\npress ENTER to exit ..."
        read vtInputKey
        unset pager
    }
 
    menuentry 'Check custom boot plugin configuration' --class=debug_custom_boot {
        set pager=1
        vt_check_plugin_json $vt_plugin_path custom_boot $vtoy_iso_part
    
        echo -e "\npress ENTER to exit ..."
        read vtInputKey
        unset pager
    }

To change the icons, you must choose a .png file. Then, you have to delete the old icon (for example vtoyret.png).
Finally, rename the new icon using the name of the old one. Don't forget to modify the icons in Legacy AND Uefi! And voila, the new icons will magically appear in the Ventoy menu!
Wow, you really put a lot of work into this, and it looks fantastic! I've integrated this into the latest development build of MediCat USB v31.04, and you're credited in the changelog! :grog:

Thank you for your contribution. :yaysp:
 

AAA3A

Well-Known Member
Member
Joined
Feb 4, 2021
Messages
157
Trophies
0
XP
410
Country
France
For the many French people who follow this thread, here is mini windows 10 from Jayro! I set the French time and the keyboard to AZERTY (no other modifications)!
I modified the registry with NTlite and changed the time settings with DISM commands after mounting the boot.wim file!

https://we.tl/t-KQP3pLc6rC

Please note: the link only remains for seven days!
 
  • Like
Reactions: BastardFromNowhere

Jayro

MediCat USB Dev
OP
Developer
Joined
Jul 23, 2012
Messages
12,997
Trophies
4
Location
WA State
Website
ko-fi.com
XP
17,073
Country
United States
For the many French people who follow this thread, here is mini windows 10 from Jayro! I set the French time and the keyboard to AZERTY (no other modifications)!
I modified the registry with NTlite and changed the time settings with DISM commands after mounting the boot.wim file!

https://we.tl/t-KQP3pLc6rC

Please note: the link only remains for seven days!
Very cool! You should upload it somewhere permanent, like Google Drive or MEGA.
 
  • Like
Reactions: AAA3A

AAA3A

Well-Known Member
Member
Joined
Feb 4, 2021
Messages
157
Trophies
0
XP
410
Country
France
  • Like
Reactions: Jayro

DeanSpy

Member
Newcomer
Joined
Mar 30, 2021
Messages
9
Trophies
0
Age
58
XP
38
Country
Canada
Where can I go for help - I can't get it to boot. The 7zip extraction does not look the same as in your instructions. Thanks!
 

DeanSpy

Member
Newcomer
Joined
Mar 30, 2021
Messages
9
Trophies
0
Age
58
XP
38
Country
Canada
upload_2021-4-1_9-56-5.png

This is the root drive of the USB that 7zip created. I used rufus to make the disk bootable because ventnoy failed everytime

--------------------- MERGED ---------------------------

upload_2021-4-1_9-56-5.png

This is the root drive of the USB that 7zip created. I used rufus to make the disk bootable because ventnoy failed everytime
upload_2021-4-1_9-59-38.png
 

Jayro

MediCat USB Dev
OP
Developer
Joined
Jul 23, 2012
Messages
12,997
Trophies
4
Location
WA State
Website
ko-fi.com
XP
17,073
Country
United States
If Ventoy fails every time, then you need to do a low-level "FULL" format of the disk. (Not "Quick format".) I typically use a partition manager to wipe all the drive's partitions, and then create a single NTFS partition on the drive. That usually allows Ventoy to write to the drive. and the second issue you have is you need to take everything out of that folder. I didn't zip the files in a folder, so I'm not sure why that folder is even there. You must have extracted the zip files wrong on the drive. Rufus won't help you get the drive booting properly, because Ventoy installs it's own secret partition to the end of the drive with it's own boot files. Make sure you're running Ventoy2Disk with admin priveledges as well.

UPDATE: You know what? After reading your log file, you may want to try using Ventoy's boot CD to install Ventoy to the drive. It looks like Windows isn't allowing it for some reason.
 
Last edited by Jayro,

AAA3A

Well-Known Member
Member
Joined
Feb 4, 2021
Messages
157
Trophies
0
XP
410
Country
France
The StartRedirect.exe software that is in mini windows 10 allows you to save the layout of the start menu.

1) It copies the folder %APPDATA%\Microsoft\Windows\Start Menu\Programs\
2) At startup, the start menu takes exactly the layout that has been saved.

How does this program restore the changes in the start menu? This software is not found anywhere on the internet, where did you find it?
 

Jayro

MediCat USB Dev
OP
Developer
Joined
Jul 23, 2012
Messages
12,997
Trophies
4
Location
WA State
Website
ko-fi.com
XP
17,073
Country
United States
The StartRedirect.exe software that is in mini windows 10 allows you to save the layout of the start menu.

1) It copies the folder %APPDATA%\Microsoft\Windows\Start Menu\Programs\
2) At startup, the start menu takes exactly the layout that has been saved.

How does this program restore the changes in the start menu? This software is not found anywhere on the internet, where did you find it?
Under System32 there's a file called Win10.cfg or something similar to that, and it has start menu items in it as text strings.
 

Jayro

MediCat USB Dev
OP
Developer
Joined
Jul 23, 2012
Messages
12,997
Trophies
4
Location
WA State
Website
ko-fi.com
XP
17,073
Country
United States
You say that because you've tried and it didn't work or because you believe Ventoy doesn't have support for it? I ask this because in ventoy's docs says there is support, although I have never tried
Well I also use VHD because of compatibility with iODD devices. They only support VHD and RMD.
 

AAA3A

Well-Known Member
Member
Joined
Feb 4, 2021
Messages
157
Trophies
0
XP
410
Country
France
The StartRedirect.exe software that is in mini windows 10 allows you to save the layout of the start menu.

1) It copies the folder %APPDATA%\Microsoft\Windows\Start Menu\Programs\
2) At startup, the start menu takes exactly the layout that has been saved.

How does this program restore the changes in the start menu? This software is not found anywhere on the internet, where did you find it?

The software startredirecte.exe is not found anywhere on the internet, where did you find it?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: Keep current Gen consoles stock mod last gen imo