Sudo grub-install -boot-directory=/mnt/boot /dev/sdx Install grub, if in BIOS mode or booted from USB drive run: sudo mount /dev/sdx2 /mnt Linux /casper/vmlinuz file=/cdrom/preseed/ed boot=casper quiet splash - persistent Open the ISO's folder as Administrator, open the ISO using Archive Manager.Įxtract the ISO's contents to the Target's root partition.ĭrag and drop the boot and EFI folders from Archive Manager window to the EFI boot partition.Įdit sdx2/boot/grub/grub.cfg adding set root=(hd0,3) after the first line that starts with menuentry.Īdd a space and the word "persistent" after. Create an ext4 partition labeled casper-rw. Add an ext4 root partition large enough for the Ubuntu ISO's contents, (~ 3GB for 20.04).Add a 300MB FAT32 EFI boot partition next to it.Create a 1MB BIOS boot partition on the left, formatted as unformatted.Create a GPT partition table on Target USB. Making a Grub2 booter that uses Persistent partitions is easy.* The following method extracts the contents of the ISO to a partition There are many ways to make a Bootable USB Flash Drive
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |