Persistence with Multiboot USB key

Post here if you are a new Porteus member and you're looking for some help.
funghost
Black ninja
Black ninja
Posts: 33
Joined: 20 Oct 2022, 11:59
Distribution: Slackware

Persistence with Multiboot USB key

Post#1 by funghost » 23 Jun 2023, 19:09

Hello,

I have a multiboot USB key containing Porteus 5.0 XFCE. On my USB key I have 3 partitions.
The 3rd partition is NTFS and can be used to store data.
I tried to set Porteus persistence via Porteus SaveFile Manager. The file porteussave.dat is created correctly.

In isolinux configuration, I've added in APPEND changes=porteussave.dat

At startup, it doesn't find the porteussave.dat file. However, if I put the file on another USB key containing only one partition, it detects it correctly.

Do you have any idea how to solve this problem ?
Thank you in advance for your feedback.

beny
Full of knowledge
Full of knowledge
Posts: 2098
Joined: 02 Jan 2011, 11:33
Location: italy

Persistence with Multiboot USB key

Post#2 by beny » 23 Jun 2023, 20:20

hi ,if you have enough space on porteus partition root, in terminal fdisk -l as root and append the line in the porteus config in /boot directory as the tread linked here
Where exactly is the append line I put the save.dat path in?

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

Persistence with Multiboot USB key

Post#3 by Ed_P » 23 Jun 2023, 22:05

funghost wrote:
23 Jun 2023, 19:09
On my USB key I have 3 partitions.
The 3rd partition is NTFS and can be used to store data.
What format are the 1st 2 partitions? If you are using a save.dat file 1 of the partitions is FAT32 or exFAT. And BTW & FWIW NTFS is NOT a good USB drive format. For large files exFAT is recommended.

I think your changes= cheatcode is missing a / in front of the file's name, assuming it's in the drive's root. If its in a folder ...
Ed

funghost
Black ninja
Black ninja
Posts: 33
Joined: 20 Oct 2022, 11:59
Distribution: Slackware

Persistence with Multiboot USB key

Post#4 by funghost » 24 Jun 2023, 05:39

Hi,

To create my USB flash drive, I use a dd and then do a fdisk to create a partition with the remaining space.
I've tried creating an ext4 or exFAT partition on the remaining space and I get the same result.
With a fdisk it doesn't give me the partition type for the 1st partition, the second is marked EFI (FAT-12/16/32). These two partitions are not writable.

beny I looked at the link you gave me and it's not what I want. I'd like to be able to have a configuration that I don't modify for each USB key I create.
Ed I tested with the / and it doesn't work.

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

Persistence with Multiboot USB key

Post#5 by Ed_P » 24 Jun 2023, 06:21

funghost wrote:
24 Jun 2023, 05:39
With a fdisk it doesn't give me the partition type for the 1st partition, the second is marked EFI (FAT-12/16/32). These two partitions are not writable.
:%) if the 1st 2 partitions are not writable and the 3rd partition is NTFS where is the porteus system? :unknown: All my USB drives are a single FAT32 partition and boot in my EFI notebook.
Ed

funghost
Black ninja
Black ninja
Posts: 33
Joined: 20 Oct 2022, 11:59
Distribution: Slackware

Persistence with Multiboot USB key

Post#6 by funghost » 24 Jun 2023, 06:48

The Porteus system is in the 1st partition.
Yes I see your key works in UEFI only. Mine works in BIOS and UEFI.

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

Persistence with Multiboot USB key

Post#7 by Ed_P » 24 Jun 2023, 15:54

Mine works in both modes also. :)

If your Porteus system is in the 1st partition what's in the 2nd non-writable partition? :%)
Ed

funghost
Black ninja
Black ninja
Posts: 33
Joined: 20 Oct 2022, 11:59
Distribution: Slackware

Persistence with Multiboot USB key

Post#8 by funghost » 25 Jun 2023, 05:59

On the 2nd partition I have the files for EFI
Ed_P wrote:
24 Jun 2023, 15:54
Mine works in both modes also. :)
:shock:

Do you have a key with a single partition that works in BIOS and UEFI ?
I'd like to know your method for creating this key and whether it works in multiboot.

If it's in the official documentation, I may have missed something.

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

Persistence with Multiboot USB key

Post#9 by Ed_P » 25 Jun 2023, 20:29

funghost wrote:
25 Jun 2023, 05:59
I'd like to know your method for creating this key and whether it works in multiboot.

Code: Select all

## Run GParted to partition & format the USB drive with a msdos Partition table.  ##
##  Use GParted's View > Device Information to check Partition Table type.        ##
##  Use GParted's Device > Create Partition Table if Partition Table shows as GPT.##
## Or under Windows use:                                                          ##
## > diskpart          * Run Command Prompt with Admin Rights.                    ##
## > list disk                                                                    ##
## >....                                                                          ##
## > select disk 1     * Note: disk nbr is the nbr of the USB disk                ##
## > clean                                                                        ##
## > create partition primary                                                     ##
## > exit   
Ed

funghost
Black ninja
Black ninja
Posts: 33
Joined: 20 Oct 2022, 11:59
Distribution: Slackware

Persistence with Multiboot USB key

Post#10 by funghost » 26 Jun 2023, 10:56

Thanks

Post Reply