Ed_P wrote: ↑10 Sep 2022, 16:56
BTW My USB2 drive is labeled Porteus50 and boots on my EFI system.
I used the wrong term! What I meant was flag.
Ed_P wrote: ↑10 Sep 2022, 16:56
rustydu for clarify for other new users that will see this thread could you explain what you did in GParted terms? GParted is a GUI part of Porteus / Administration and easier for new to Linux users to use.
Absolutely! This request posed a challenge as I had never used Gparted before tonight and it also turned out that I didn't understand what was actually happening with fdisk, I think I get it now. Anyway, here is the process for prepping a USB pendrive to accept the Porteus installation via Gparted:
1. Wipe the drive.
In Gparted the pendrive can be selected in the drop down menu on the top right. If there aren't any protected files simply delete the partition by selecting it and clicking the trash can. You may need to reboot so that the kernel recognizes the changes.
I had protected linux installation media written to my usb so to be certain I was starting from zero I wiped my drive using:
umount /dev/PENDRIVE
dd if=/dev/zero of=/dev/PENDRIVE bs=1M
This is probably overkill but in my situation I couldn't find a better way. Replace PENDRIVE with the usb drive's device name.
2. Set the Partition Table
Go to Devices > Create Partition Table
Choose "msdos"
Apply
This is the option for the MBR partition type. Do not choose "GPT". I have not been able to get Porteus to boot using GPT, even with a successful installation. There may be way of getting it to work with multiple partitions, but I have not been able to do it with one or many.
3. Create the Partition
Right click the unallocated partition table and select "New"
Where it says "File System:", select FAT32 (!SEE # 5 BELOW FOR MORE DETAILS!)
Leave the remaining fields as they are and click OK.
Click the check mark to write the changes to the drive.
4. Flag the drive as bootable.
Right click the new partition and select "Manage Flags".
Select 'boot' from the menu and click OK. This will write the change to the USB drive.
Leave Gparted.
5.
ENSURE THE THE PARTITION HAS BEEN FORMATTED TO FAT32
Open the terminal and enter:
umount /dev/PENDRIVE_PARTITION
mkfs.fat -F 32 /dev/PENDRIVE_PARTITION
This will not change the boot flag.
And that's it. From here continue with the installation guide from the beginning and everything should click.
As for the FAT32 issue... I'm not sure what happens in Gparted, but If I don't manually run this mkfs script the Porteus installation will fail and throw errors. Fdisk indicated that the partition that Gparted made had a vFAT signature. Considering that before this process I knew virtually nothing about file systems and partition tables, I unfortunately can't offer a good explanation as to why this was the case for me.
I hope this is helpful to someone!
