![]() ![]() If not exist /fedora.img echo WARNING: Changes will not be remembered unless a /fedora.img ext file is created! & pause Title FEDORA 36 PERSISTENT\nBoot to Fedora with persistence We also strip out comments for conciseness: Our reference file was Fedora_Persistent.mnu, and we had to make several changes to adapt it for our use. That said, let’s write the content we need to use for the Fedora-Workstation-Live-x86_64-36-1.5_Persistent.mnu file. We should also search the Easy2Boot site for more recent information. In general, some basic directions or links with more information are in the comments (prefixed with a #). However, we need to find the files that most closely match what we’re looking for and tailor their content to our specific use cases. mnu files for the various supported distributions: The EASY2BOOT/_ISO/docs/Sample mnu files/Linux folder contains sample. $ touch ubuntu-22.04.1-desktop-amd64_Persistent.mnu $ touch Fedora-Workstation-Live-x86_64-36-1.5_Persistent.mnu ![]() mnu files: $ cd /media/francesco/EASY2BOOT/_ISO/LINUX Its name must be identical to the ISO it refers to, except for the extension, with the addition of the suffix _ Persistent. mnu file is a UTF-8 or ASCII text containing grub4dos case-sensitive commands that we need in order to have persistence. This is the most challenging and error-prone part. The last step is to confirm that there’s no fragmentation. This way, we’re sure that only one file is copied at a time and that its writing is completed before copying the next file. $ sudo perl $USBSTICK/_ISO/docs/linux_utils/defragfs $USBSTICK -f $ cp $FEDORAISO/isolinux/vmlinuz $USBSTICK/LiveOS/ $ cp $FEDORAISO/isolinux/initrd.img $USBSTICK/LiveOS/ $ cp $FEDORAISO/LiveOS/squashfs.img $USBSTICK/LiveOS/ $ FEDORAISO=/media/francesco/Fedora-WS-Live-36-1-5 Of course, we have to change our example mount points to the actual ones: $ USBSTICK=/media/francesco/EASY2BOOT For the sake of clarity, we make explicit in two Bash variables the mounting points of the USB stick and of the ISO. Let’s proceed to copy the files in a manner that prevents fragmentation. We can use Disk Image Mounter, an option included by default in Linux Mint, to mount the ISO automatically, or alternatively, we can manually mount the ISO: Making sure the files are fully defragmented, meaning contiguous, prevents possible booting problems. Then, the correct command, assuming to replace our example mount point with the actual one, would be: $ sudo perl. We must again mount the volume ( fmt.sh unmounted that) and take note of the mount point, which is /media/francesco/EASY2BOOT in our case. The script is self-explanatory and warns us that having a second primary partition is a good idea, as we had previously noted.įinally, the script prompts us to defragment the volume but indicates a wrong command. Note: For best boot compatibilty, ensure a second Primary partition exists on the E2B USB drive. Is target device (/dev/sdb1) correct (y/n) : y fmt.sh produces two different results, with errors in the second case: $ cd Easy2Boot/_ISO/docs/linux_utils/ It’s worth noting that the bash command in sudo bash. Let’s then run the installation script, ensuring that the USB stick is mounted and that its first partition (in our case /dev/sdb1) is recognized correctly by the script. The next step is to download and extract the zipped archive of Easy2Boot for Linux, which is encrypted with the password “ e2b“: $ unzip -P e2b Easy2Boot_v2.18_password_is_e2b.zip -d Easy2Boot ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |