Page 3 of 3

Posted: Tue 05 Feb 2013, 13:43
by jakfish
Forgive me for thread-dredging, but I have to give a shout-out to rcrsn51.

I frugally installed a puppeee to an ssd partition and could not get out of the pupmode=12 state until I found this thread and the great init editing tool.

Put a pupmode=13 in the init and now I have a true frugal install on an ssd partition with no need to boot off usb/sd card.

rcrsn51--many, many thanks,
Jake

Posted: Tue 05 Feb 2013, 13:56
by rcrsn51
There was a suggestion from jemimah that "pmedia=ataflash" would also get you a PUPMODE=13 environment. Did you try that?

Posted: Tue 05 Feb 2013, 15:32
by jakfish
I did. And for my specs: working w/ puppeee installed to sd card, then once in puppeee on the sd card, using Universal Install to /sda7, I could not get pupmode=13 no matter which handle I jiggled in syslinux.cfg

Jake

Posted: Wed 06 Feb 2013, 07:57
by jakfish
Oh, dear, this didn't work out as well as I thought.

While I am running in pupmode 13, I'm unable to save manually. The cpu goes to 100% and no changes are written to pupsave.sfs.

I thought of a corrupted save file, but even with starting fresh, I wasn't even offered a choice to make a save file at the end of the initial startup.

If I run this puppeee, fresh, with the original init file, then I am offered a chance to save at the end of the first session.

Changing the syslinux.cfg file to pmedia=ideflash, or ataflash, or usbflash does not help.

Jake

How to Make a Flash Drive Install Work Like a Hard Drive

Posted: Wed 06 Feb 2013, 08:40
by Monsie
jakfish,

How about: pmedia=satahd

Have a look at this thread here.

Hope this helps,
Monsie

Posted: Wed 06 Feb 2013, 09:03
by jakfish
Hi, Monsie,

Thanks for weighing in. I had never heard of that command and immediately tried it. Unfortunately, I'm still in pupmode=12. (That would be with the original, unedited init)

Thanks again for the tip,
Jake

Posted: Wed 06 Feb 2013, 14:49
by rcrsn51
Jemimah made her suggestion here and it apparently worked for nooby in Quirky. Maybe puppeee doesn't recognize "pmedia=ataflash".

PUPMODE=13 is a much more complicated environment than 12. You may not be able to force it just by changing the init.

Posted: Wed 06 Feb 2013, 15:17
by jakfish
Yes, when in pupmode 13 and it was trying to save, it appeared to be making a copy of everything, if only b/c all the folders in root and above were suddenly in bold text, puppy's signal that changes have been made.

But it never finished the save properly and remembered very little of what I had asked it to save.

Jake

How to Make a Flash Drive Install Work Like a Hard Drive

Posted: Fri 08 Feb 2013, 09:04
by dalebednell
Hi
Thanks for this script works like a dream nice not to have the wait to shut down. :D

Posted: Wed 05 Jun 2013, 12:19
by DaveS
Recently set this up using Slacko 5.5. Using ext3 could not get desktop to initialise. Ext2 is fine.

Posted: Wed 05 Jun 2013, 12:42
by 01micko
DaveS wrote:Recently set this up using Slacko 5.5. Using ext3 could not get desktop to initialise. Ext2 is fine.
Might have been something changed in woof. I can't see any kernel based reason (off the top of my head). Besides, ext2 is probably better for USB anyway.

What needs to happen though is more support in woof for F2FS, which is in the latest 3.8 kernels and above and designed for nand media. It's way faster than any other filesystem and pretty stable too. If you want to try it get either PHATSlacko, ThinSlacko or pemasu's latest upups. Idealy, when F2FS becomes the standard, we can toss out restricted saving. I'm not so sure it matters anyway, as I have an old (6 yo) kingston 1 GB drive that has been formatted a thousand times with different pups and filesystems and it doesn't look like failing. Of course it will one day when least expected, but who uses flash for mission critical anyway? It's more of a convenience.

Posted: Wed 05 Jun 2013, 12:47
by DaveS
01micko wrote:
DaveS wrote:Recently set this up using Slacko 5.5. Using ext3 could not get desktop to initialise. Ext2 is fine.
Might have been something changed in woof. I can't see any kernel based reason (off the top of my head). Besides, ext2 is probably better for USB anyway.

What needs to happen though is more support in woof for F2FS, which is in the latest 3.8 kernels and above and designed for nand media. It's way faster than any other filesystem and pretty stable too. If you want to try it get either PHATSlacko, ThinSlacko or pemasu's latest upups. Idealy, when F2FS becomes the standard, we can toss out restricted saving. I'm not so sure it matters anyway, as I have an old (6 yo) kingston 1 GB drive that has been formatted a thousand times with different pups and filesystems and it doesn't look like failing. Of course it will one day when least expected, but who uses flash for mission critical anyway? It's more of a convenience.
With regard to speed, startup is a little slower than a HD install but I think that's down to USB bus speed.

Posted: Fri 07 Jun 2013, 19:23
by DaveS
I came across an interesting issue with this. The edit process does not work cross Puppy versions. Thus, if I want to edit init for booting Precise, I must do the edit process from within Precise, not say Slacko, and vise versa.
Maybe I should not have been surprised, but somehow I was :roll:

Posted: Wed 11 Sep 2013, 22:01
by Bert
I just used this method again and it all worked immediately without problems.

For Precise 5.7.1 the line in initrd.gz where you want to insert "PUPMODE=12" is now line 919.

Thanks again for this great tutorial , rcrsn51!

Posted: Fri 13 Sep 2013, 16:03
by Bert
For those running pupmode 12 from flash, who would like to get rid of the warning popup
WARNING! Do not unplug usb Flash Drive.
I found how to disable it:

* Open /usr/sbin/delayedrun as text (right-click on icon, then 'open as text')

* Go to line 232 (line numbers in Geany: View>Editor>show line numbers)

* Comment out lines 232, 233, 234 (put a '#' at start of line)

like this:
Image

* and save.

This gives 'the HDD experience' from a tiny usb key :wink:

Just remember NOT to unplug the flash drive! :lol:

Flash Drive enregistre en permanance

Posted: Tue 15 Jul 2014, 11:25
by Pelo
Very interesting ! on test bench.
All my moves and acts are permanently recorded on flash drive. Well, i shall come back and give you the return.

As a progress never goes alone, i am translating your topic to french with Precord.
Unfortunately, the MP3s are more than 250 K, i must adjust my recording time and set audio as mono.
Mp3 then are included in tar.gz to be joined in the forum to the english written topic.

Suspense, initrd.gz permuté, poweroff. A tout de suite.

Ok Man ! session already saved ! it works.

Posted: Tue 15 Jul 2014, 11:32
by Pelo
Ok Man ! session already saved ! it works.
I run an old puprescue 0.25 remasterised with Super Lucid.

Posted: Tue 15 Jul 2014, 12:25
by rcrsn51
Excellent. Thank you for testing.