Which partiton do the files go in?

Post here if you are a new Porteus member and you're looking for some help.
Potatopotato
Ronin
Ronin
Posts: 2
Joined: 22 Jan 2024, 07:35
Distribution: 5

Which partiton do the files go in?

Post#1 by Potatopotato » 22 Jan 2024, 07:51

When i just tried putting the EFI in the fat32 partiton of my usb and the rest in ext4 it didnt work but i might of messed something up so i was looking for someone to give me step by step guide or explain which files go in which file format. and do i need to run the installer after changing the files?

User avatar
Ed_P
Contributor
Contributor
Posts: 8374
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Which partiton do the files go in?

Post#2 by Ed_P » 22 Jan 2024, 18:35

What does the ISO's USB_INSTILLATION.txt file recommend for EFI systems? :)
USB_INSTRUCTIONS.txt wrote:FOR EFI SYSTEMS:
Ensure the first partition is of type FAT32.
a) Copy the EFI, boot and porteus folders onto the FAT32 partition.
You may create a second partition with a linux filesystem for the porteus folder.
If you do so, you need to add the from=/mnt/sdb2 cheatcode to the porteus-v4.0-x86_64.cfg file.
This file is located in the porteus folder.
Personally I would recommend making the from= cheatcode change to the /boot/syslinux/porteus.cfg file rather than the /porteus/porteus-v5.0-x86_64.cfg file. I also recommend to be sure the from= sd** code refers to the correct drive. On my Dell my USB drive is sda1.
Ed

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3941
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Which partiton do the files go in?

Post#3 by ncmprhnsbl » 23 Jan 2024, 01:02

Potatopotato wrote:
22 Jan 2024, 07:51
When i just tried putting the EFI in the fat32 partiton of my usb and the rest in ext4 it didnt work but i might of messed something up so i was looking for someone to give me step by step guide or explain which files go in which file format. and do i need to run the installer after changing the files?
you'll need both the EFI and boot folders on the fat partition and as Ed suggests, add the from= cheatcode to the /boot/syslinux/porteus.cfg on the APPEND line.
i'd go further and say it's best to use the UUID of the target partition. eg. from=UUID:STrING-0F-ChARACtERS/path/folder (in your probly just: from=UUID:STrING-0F-ChARACtERS)
boot/docs/cheatcodes.txt:

Code: Select all

SPECIAL NOTE FOR USING CHEATCODES WITH 'LABEL' AND 'UUID':
If you specify a LABEL or UUID with a cheatcode, remember that all
portions of these commands are case sensitive.  You should use a
unique label for each of your partitions if you wish to use device
labels with your cheatcodes. Use the 'blkid' command to view your
device's UUID and LABEL. Using UUID and LABEL can be quite handy
because they are unique to your device, and your data will be found
and properly mapped on different hardware configurations.
Every cheatcode which contains a /path can take advantage of 'UUID:'
and 'LABEL:' extensions.

Examples:
changes=UUID:STrING-0F-ChARACtERS/path/file.dat
extramod=LABEL:YourLabelName/path/to_folder/with_modules
from=UUID:STrING-0F-ChARACtERS/path/folder
rootcopy=LABEL:YourLabelName/path/to_folder/with_files
that way it should always work no matter what you poke your usb in (or what else is connected)
and running the installer*.com is only necessary if you need to boot via legacy bios(and once is usually enough).
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

Post Reply