Page 1 of 1

Persistence on FAT32 pendrive

Posted: 05 Jul 2015, 09:18
by gatewayasteroid
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

Re: Persistence on FAT32 pendrive

Posted: 05 Jul 2015, 10:06
by sunnysideofthesun
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

Re: Persistence on FAT32 pendrive

Posted: 05 Jul 2015, 13:58
by tome
Upload your porteus.cfg to pastebin.com and link here.

Re: Persistence on FAT32 pendrive

Posted: 05 Jul 2015, 18:24
by Ed_P
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?

Re: Persistence on FAT32 pendrive

Posted: 06 Jul 2015, 07:57
by gatewayasteroid
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

Re: Persistence on FAT32 pendrive

Posted: 06 Jul 2015, 08:01
by gatewayasteroid
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

Re: Persistence on FAT32 pendrive

Posted: 06 Jul 2015, 08:02
by gatewayasteroid
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

Re: Persistence on FAT32 pendrive

Posted: 06 Jul 2015, 08:47
by fanthom
@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.

Re: Persistence on FAT32 pendrive

Posted: 06 Jul 2015, 09:35
by gatewayasteroid
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

Re: Persistence on FAT32 pendrive

Posted: 06 Jul 2015, 16:29
by Ed_P
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.

Re: Persistence on FAT32 pendrive

Posted: 06 Jul 2015, 21:46
by beny
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.

Re: Persistence on FAT32 pendrive

Posted: 07 Jul 2015, 14:16
by gatewayasteroid
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.

Re: Persistence on FAT32 pendrive

Posted: 07 Jul 2015, 14:22
by gatewayasteroid
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