Page 1 of 1
Persistence with Multiboot USB key
Posted: 23 Jun 2023, 19:09
by funghost
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.
Persistence with Multiboot USB key
Posted: 23 Jun 2023, 20:20
by beny
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?
Persistence with Multiboot USB key
Posted: 23 Jun 2023, 22:05
by Ed_P
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 ...
Persistence with Multiboot USB key
Posted: 24 Jun 2023, 05:39
by funghost
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.
Persistence with Multiboot USB key
Posted: 24 Jun 2023, 06:21
by Ed_P
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?

All my USB drives are a single FAT32 partition and boot in my EFI notebook.
Persistence with Multiboot USB key
Posted: 24 Jun 2023, 06:48
by funghost
The Porteus system is in the 1st partition.
Yes I see your key works in UEFI only. Mine works in BIOS and UEFI.
Persistence with Multiboot USB key
Posted: 24 Jun 2023, 15:54
by Ed_P
Mine works in both modes also.
If your Porteus system is in the 1st partition what's in the 2nd non-writable partition?

Persistence with Multiboot USB key
Posted: 25 Jun 2023, 05:59
by funghost
On the 2nd partition I have the files for EFI
Ed_P wrote: ↑24 Jun 2023, 15:54
Mine works in both modes also.
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.
Persistence with Multiboot USB key
Posted: 25 Jun 2023, 20:29
by Ed_P
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
Persistence with Multiboot USB key
Posted: 26 Jun 2023, 10:56
by funghost
Thanks