Persistence on FAT32 pendrive

Please reproduce your error on a second machine before posting, and check the error by running without saved changes or extra modules (See FAQ No. 13, "How to report a bug"). For unstable Porteus versions (alpha, beta, rc) please use the relevant thread in our "Development" section.
gatewayasteroid
White ninja
White ninja
Posts: 7
Joined: 05 Jul 2015, 09:06
Distribution: Slackware, Debian, CRUX, Arch
Location: Italy

Persistence on FAT32 pendrive

Post#1 by gatewayasteroid » 05 Jul 2015, 09:18

Hello all.

It's a pity that Porteus persistence (with DAT file) is not working with a FAT32 pendrive setup.
I created a .DAT file with the referenced tool inside the "porteus" folder, then edited the porteus.cfg file inside the boot folder as follows:

Code: Select all

changes=/porteus/porteussave.dat
without luck. I also tried with the full path:

Code: Select all

changes=/mnt/sdb1/porteus/porteussave.dat
During boot up I read a message saying something like "changes cheatcode not found".

I think this is a key point of this distro and should work without hassles. :(

Thanks for any hints

Regards

User avatar
sunnysideofthesun
Black ninja
Black ninja
Posts: 62
Joined: 24 Apr 2015, 22:16
Distribution: other
Location: check the logs

Re: Persistence on FAT32 pendrive

Post#2 by sunnysideofthesun » 05 Jul 2015, 10:06

Yeah, that's real pity.
We feel your pain.
...Ah, who am I kidding. No, we don't.

Please provide some more information.
1. Is this one and only partition on your usb stick?
2. What is the "referenced tool"?
3. How do you expect savefile to work?
4. In which way you installed Porteus?
5. Where do you live?
6. Your yearly income?
7. Please enter your phone number.
8. Your porteus.cfg listing.
9. And directory structure including files of the whole usb pen too.

If anything, you're not the first with such problem http://forum.porteus.org/viewtopic.php?f=39&t=985

tome
Contributor
Contributor
Posts: 675
Joined: 26 Jun 2013, 14:03
Distribution: x64 Openbox
Location: Russia is causing the immense damage to humanity
Contact:

Re: Persistence on FAT32 pendrive

Post#3 by tome » 05 Jul 2015, 13:58

Upload your porteus.cfg to pastebin.com and link here.
You have mind and feelings. Be wise and clever.

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

Re: Persistence on FAT32 pendrive

Post#4 by Ed_P » 05 Jul 2015, 18:24

gatewayasteroid wrote:then edited the porteus.cfg file inside the boot folder as follows:

Code: Select all

changes=/porteus/porteussave.dat
Did you add the changes= to the APPEND initrd=initrd.xz line or did you add it below that line?
Ed

gatewayasteroid
White ninja
White ninja
Posts: 7
Joined: 05 Jul 2015, 09:06
Distribution: Slackware, Debian, CRUX, Arch
Location: Italy

Re: Persistence on FAT32 pendrive

Post#5 by gatewayasteroid » 06 Jul 2015, 07:57

sunnysideofthesun wrote:Yeah, that's real pity.
We feel your pain.
...Ah, who am I kidding. No, we don't.
No comment
Please provide some more information.
1. Is this one and only partition on your usb stick?
of course
2. What is the "referenced tool"?
the save file creator, provided by Porteus
3. How do you expect savefile to work?
exactly like slax, and as described by the (very clear) documentation.
4. In which way you installed Porteus?
I copied all the ISO content and ran the EXE from Windows, as clearly indicated in the documentation.
5. Where do you live?
in a sunny place
6. Your yearly income?
not that bad, and I don't even have a mortgage for my house, which is fine
7. Please enter your phone number.
5
8. Your porteus.cfg listing.

Code: Select all

[...]
LABEL XFCE
MENU LABEL Graphics mode (XFCE)
KERNEL vmlinuz
APPEND initrd=initrd.xz changes=/porteus/porteussave.dat timezone=Europe/Rome kmap=it,us
TEXT HELP
    Run Porteus the best way we can.
    Try to autoconfigure graphics
    card and use the maximum
    allowed resolution
ENDTEXT
[...]
I also tried with

Code: Select all

[...]
LABEL XFCE
MENU LABEL Graphics mode (XFCE)
KERNEL vmlinuz
APPEND initrd=initrd.xz changes=/mnt/sdb1/porteus/porteussave.dat timezone=Europe/Rome kmap=it,us
TEXT HELP
    Run Porteus the best way we can.
    Try to autoconfigure graphics
    card and use the maximum
    allowed resolution
ENDTEXT
[...]
the porteussave.dat file is existing and as said correctly created with the porteus tool.
9. And directory structure including files of the whole usb pen too.
as said, it's the ISO content, unchanged:

Code: Select all

/boot
/EFI
/porteus
as clearly indicated in the documentation
If anything, you're not the first with such problem http://forum.porteus.org/viewtopic.php?f=39&t=985
So you confirm that it's not working properly, and it's a pity for such a great distro :(

Thanks

gatewayasteroid
White ninja
White ninja
Posts: 7
Joined: 05 Jul 2015, 09:06
Distribution: Slackware, Debian, CRUX, Arch
Location: Italy

Re: Persistence on FAT32 pendrive

Post#6 by gatewayasteroid » 06 Jul 2015, 08:01

Ed_P wrote:
gatewayasteroid wrote:then edited the porteus.cfg file inside the boot folder as follows:

Code: Select all

changes=/porteus/porteussave.dat
Did you add the changes= to the APPEND initrd=initrd.xz line or did you add it below that line?
on the same line

Code: Select all

APPEND initrd=initrd.xz changes=/porteus/porteussave.dat timezone=Europe/Rome kmap=it,us
and

Code: Select all

APPEND initrd=initrd.xz changes=/mnt/sdb1/porteus/porteussave.dat timezone=Europe/Rome kmap=it,us
Thanks

gatewayasteroid
White ninja
White ninja
Posts: 7
Joined: 05 Jul 2015, 09:06
Distribution: Slackware, Debian, CRUX, Arch
Location: Italy

Re: Persistence on FAT32 pendrive

Post#7 by gatewayasteroid » 06 Jul 2015, 08:02

tome wrote:Upload your porteus.cfg to pastebin.com and link here.
it's the original one, I just changed the "APPEND" line as follows:

Code: Select all

LABEL XFCE
MENU LABEL Graphics mode (XFCE)
KERNEL vmlinuz
APPEND initrd=initrd.xz changes=/porteus/porteussave.dat timezone=Europe/Rome kmap=it,us
TEXT HELP
    Run Porteus the best way we can.
    Try to autoconfigure graphics
    card and use the maximum
    allowed resolution
ENDTEXT
and

Code: Select all

LABEL XFCE
MENU LABEL Graphics mode (XFCE)
KERNEL vmlinuz
APPEND initrd=initrd.xz changes=/mnt/sdb1/porteus/porteussave.dat timezone=Europe/Rome kmap=it,us
TEXT HELP
    Run Porteus the best way we can.
    Try to autoconfigure graphics
    card and use the maximum
    allowed resolution
ENDTEXT
without luck

Thanks

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Re: Persistence on FAT32 pendrive

Post#8 by fanthom » 06 Jul 2015, 08:47

@gatewayasteroid
please boot porteus and provide output of 'cat /proc/cmdline' command.

i'm sure it wont match your APPEND line from porteus.cfg which means the porteus is booted by some other bootloader or some other entry from bootloader config.
Please add [Solved] to your thread title if the solution was found.

gatewayasteroid
White ninja
White ninja
Posts: 7
Joined: 05 Jul 2015, 09:06
Distribution: Slackware, Debian, CRUX, Arch
Location: Italy

Re: Persistence on FAT32 pendrive

Post#9 by gatewayasteroid » 06 Jul 2015, 09:35

fanthom wrote:@gatewayasteroid
please boot porteus and provide output of 'cat /proc/cmdline' command.

i'm sure it wont match your APPEND line from porteus.cfg which means the porteus is booted by some other bootloader or some other entry from bootloader config.
That's my feeling also, but I just used the EXE file to make the pendrive bootable, so I'm stuck.
I will reformat it in EXT4 and do a "linux" installation to avoid the DAT file, anyway I wanted to signal the "bug".
I'm available to do tests, of course.
Thanks

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

Re: Persistence on FAT32 pendrive

Post#10 by Ed_P » 06 Jul 2015, 16:29

gatewayasteroid wrote:I'm available to do tests, of course.
Thanks
Then before you reformat the drive do the command fanthom recommended and post it's output.
Ed

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

Re: Persistence on FAT32 pendrive

Post#11 by beny » 06 Jul 2015, 21:46

hi, are you shure that the pendrive have the same name everyway you mount it,if this is not,you have to clean the changes line.

gatewayasteroid
White ninja
White ninja
Posts: 7
Joined: 05 Jul 2015, 09:06
Distribution: Slackware, Debian, CRUX, Arch
Location: Italy

Re: Persistence on FAT32 pendrive

Post#12 by gatewayasteroid » 07 Jul 2015, 14:16

beny wrote:hi, are you shure that the pendrive have the same name everyway you mount it,if this is not,you have to clean the changes line.
yes, it's the same name on the same PC.

gatewayasteroid
White ninja
White ninja
Posts: 7
Joined: 05 Jul 2015, 09:06
Distribution: Slackware, Debian, CRUX, Arch
Location: Italy

Re: Persistence on FAT32 pendrive

Post#13 by gatewayasteroid » 07 Jul 2015, 14:22

fanthom wrote:@gatewayasteroid
please boot porteus and provide output of 'cat /proc/cmdline' command.

i'm sure it wont match your APPEND line from porteus.cfg which means the porteus is booted by some other bootloader or some other entry from bootloader config.

Code: Select all

guest@porteus:~$ cat /proc/cmdline
quiet \boot\syslinux\vmlinuz initrd=boot\syslinux\initrd.xz
thanks

Post Reply