WARNING: The compile script does not always stop on an error (e.g. Go and get a cup of coffee for 10 minutes. You can remove the lines which are executed when a test fails or you can add in a line to return a 0 result.įor the grub-core version (screenshot 1 below) I just removed two lines - this caused an 'Unofficial Ventoy' to be displayed (presumably because the partition volume name was wrong).įor the EDK2 EFI ventoy.c file, I added an extra line just below ventoy_check_device so it returned 0 (screenshot 3 below) - the effect was that no 'Unofficial Ventoy' message was displayed at all when UEFI64-booting.ĭuring compilation (which takes a while!) you may be prompted to press A to continue. Note: Be very careful to get the correct paths, especially for the EDK2 file as it can be quite confusing! if you edit the wrong Ventoy.c it may be overwritten by the source Ventoy.c when you compile! 105kb) - makesĮDK2/ edk2_mod /edk2-edk2-stable201911/MdeModulePkg/Application/Ventoy/Ventoy.c (approx. GRUB2/MOD_SRC/grub-2.04/grub-core/ventoy/ventoy.c (approx. There are two Ventoy.c code files which test for an 'official' Ventoy USB drive: INSTALL/grub/themes/ventoy/background.png PNG file which can be changed or it can be edited using gimp: Once it is compiling without errors, then try editing the source files. Tip: Before you edit any files, try to compile it first. Other steps are also required - see the compile instructions for full details. Tip: Highlight each link - right-click - Save Link As. You will need to cut and paste each of the URLs listed and then copy each file to the locations shown in list 2.2 (the list shown above may change - so use the one on the GitHub page). You may need to use the mv command if you get permission errors, e.g. Next I assume that you have unzipped the code into the /home directory (check /home/Ventoy-master/README.md file for the directory level).Ģ.2 Download third-part source code (check on website - this list may change!) => /home/Ventoy-master/ DOC/dietlibc-0.34.tar.xz => /home/Ventoy-master/ DOC/musl-1.2.1.tar.gz => /home/Ventoy-master/ GRUB2/grub-2.04.tar.xz => /home/Ventoy-master/ EDK2/edk2-edk2-stable201911.zip => /home/Ventoy-master/ ExFAT/exfat-1.3.0.zip => /home/Ventoy-master/ ExFAT/libfuse-fuse-2.9.9.zip => / opt/gcc-linaro-7.4.1-2019.02-x86_64_ => / opt/2 To get root permissions (you are prompted for the root password - in my case toor).Ĭurrently the text on github says: 2.1 Download Ventoy source code from github and decompress it. In CentOS - cut and paste the text from the BuildVentoyFromSource.txt file into the terminal and allow it to install all these packages. Use a browser to visit the Ventoy GitHub page and find section 1.2Ĭurrently this says (it may change!): yum install \ libXpm net-tools bzip2 wget vim gcc gcc-c++ samba dos2unix glibc-devel glibc.i686 glibc-devel.i686 \ mpfr.i686 mpfr-devel.i686 zlib.i686 rsync autogen autoconf automake libtool gettext* bison binutils \ flex device-mapper-devel SDL libpciaccess libusb freetype freetype-devel gnu-free-* qemu-* virt-* \ libvirt* vte* NetworkManager-bluetooth brlapi fuse-devel dejavu* gnu-efi* pesign shim \ iscsi-initiator-utils grub2-tools zip nasm acpica-tools glibc-static zlib-static Now you can go to Applications - System Tools - Settings - Devices - Displays and set a more appropriate Monitor resolution. Once the CentOS Desktop is running, click VBox - Devices - Insert Guest Additions CD and run the script when offered. Installation Instructions - See for detailĬompile Instructions - See BuildVentoyFromSource.txt The Ventoy GitHub page gives more details here. I setup the root account with a password ( toor), and a User account (Steve) with no password. Remember to enable networking during CentOS Setup (first screen). I did not use a Minimal Install because I am not a linux guru and I find using the Desktop GUI easier! When installing CentOS, I added the Gnome desktop and some other libraries. I attached the CentOS 7 ISO as a virtual CD. I created a new Ubuntu 圆4 VM with a 20Gb dynamic vdi hard disk. I used Virtual Box 5 on a Windows 10 system.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |