Page 3 of 9

I am comming

Posted: Tue 23 Nov 2010, 23:41
by shinobar
Thanks don and to all.
I have to appologize i couldn't respond. I am busy now with refining the grub4dosconfig.
You know I am working on regarding easy setup of Puppy in 7 area.
  1. Boot up menu
  2. Direct desktop
  3. Country setup
  4. Frugal installer for easy installation
  5. Grub4Dosconfig for easy setup the boot loader
  6. Winfonts for providing swap space for Windows dualboot PC.
  7. Pupsaveconfig
Former 6 is getting success. And the last is this pupsaveconfig.
I am comming back after a while.

great work

Posted: Thu 25 Nov 2010, 10:24
by emil
Shinobar, I just wanted to give a big *thumbs up* to you, great work!
These are all very important little features!

I think the save file creation should get a major improvement, maybe it is possible to stay in the X system while doing it. Having the text menus looks so very dangerous and outfashioned :-D. What were the arguments to create it at the end of the first session and not right in the beginning, e.g same time as the country wizard?

kind regards
emil

Re: great work

Posted: Thu 25 Nov 2010, 11:07
by shinobar
emil wrote:What were the arguments to create it at the end of the first session and not right in the beginning, e.g same time as the country wizard?
Exactly we are aiming that.

BTW, i'd like to congratulate your new SageLive!

pupsaveconfig-1.6.1 a mock up sample was mistake

Posted: Sun 05 Dec 2010, 11:29
by shinobar
Hi all, i am back!

Attached at the top post pupsaveconfig-1.6.1.pet, still a mock up sample.
It does not yet reflect our discussion here on the password.
It is only for indicating that i am back to this project.
It has a help file at '/usr/share/doc/help/C/pupsaveconfig.txt', but you need pman, recent Puppy has, installed on your puppy.

To see the mock up, on the virtual terminal, type:

Code: Select all

pupsaveconfig2 --debug
EDIT: was mistake. Please wait maybe more one week before next test release.

pupsaveconfig-1.9.2

Posted: Wed 15 Dec 2010, 07:42
by shinobar
Working model is now available!
Download pupsaveconfig-1.9.2.pet from here.
Install on any Puppy-4.x/5.x running with RAM only mode.
Need you test and help towards the version 2.

Find 'PupSaveConfig' menu under 'Utility'.
Or from terminal, type 'pupsaveconfig' (not 'pupsaveconfig2').
Or automatically launches at shutdown.
(Though we are intend to launch it automatically at the first boot up.)

Image

pupsaveconfig-1.9.2 adds the features:
  • GUI for configuring the savefile
  • Offer copying the main sfs to HDD at Live CD boot
  • Offer swap file for small RAM PC
  • Choice saving session or not for the frugal install on flash(PUPMODE=13)... You need to select '0' for periodical save interval.
  • Remove CD at poweroff. But does not at reboot.
Memorandum:
  • Warning on password and keyboard layout issue, but no check with input phrase
  • Does not support 'save to floppy' (does it work in recent Puppy?)
  • Does not support 'Save to entire partition' (It is buggy and not recommended)
  • Does not treat PSAVEMARK (Do you need?)
  • Swap file is taken on internal HDD regardless it can be flash device(SSD) nor external (real) HDD.

Super

Posted: Wed 15 Dec 2010, 10:20
by emil
*BIG THUMBS UP*
I go for a test ...

Save session or not

Posted: Wed 15 Dec 2010, 11:27
by shinobar
Tanks, emil.

BTW, to make the choice save session or no, the Puppy need frugal installed on flash(PUPMODE=13).
You need to choose the periodic saving to '0'.

Image

PS: As for saving session back to the Live CD, you are always asked to save the session or not at the shutdown.

Posted: Wed 15 Dec 2010, 12:47
by jemimah
Looking great so far on Puppeee.

I'm wondering, is there a reason you didn't include ext4 support?

ext4 support

Posted: Wed 15 Dec 2010, 12:58
by shinobar
jemimah wrote: is there a reason you didn't include ext4 support?
I don't know why but Barry doesn't.
See the comment in rc.shutdown.

Code: Select all

#100401 choose ext2/3/4 for pupsave file. 100410 offer ext2/3 only.
You can try it with manually typing 'ext4' in the 'File type' combobox.

Posted: Wed 15 Dec 2010, 13:03
by jemimah
Weird. I'll have to add it back in from an older copy.

Thanks for making this.

Posted: Wed 15 Dec 2010, 18:53
by sc0ttman
just a quick question...

are you planning to allow users to choose the following settings, before a savefile is created:

1. choose to enable the 'save session or not' dialog at shutdown, after a save file has been created..

2. choose to make IDE frugal installs not save in real-time..
(make IDE installs behave like USB, only [ask to] save at shutdown...)

I will almost certainly be using this, even if these features are not planned at any time...

Good work once again!

'save session or not' dialog

Posted: Wed 15 Dec 2010, 22:52
by shinobar
sc0ttman wrote:1. choose to enable the 'save session or not' dialog at shutdown, after a save file has been created..

2. choose to make IDE frugal installs not save in real-time..
(make IDE installs behave like USB, only [ask to] save at shutdown...)
1. pupsaveconfig-1.9.2 already supports. Choose the periodic saving to '0'.
2. pupsaveconfig will not. Rewrite the boot option 'pmedia=atahd' to 'pmedia=ataflash'.

pupsaveconfig-1.9.3

Posted: Thu 16 Dec 2010, 08:03
by shinobar
The pupsaveconfig-1.9.2 yesterday was failed to save on unmounted partition. (Thanks to bon, Japanese Forum)

Fixed at pupsaveconfig-1.9.3.pet (16 Dec 2010) the test release available from here.

ext4 support

Posted: Thu 16 Dec 2010, 11:23
by shinobar
shinobar wrote:
jemimah wrote: is there a reason you didn't include ext4 support?
shinobar wrote:You can try it with manually typing 'ext4' in the 'File type' combobox.
Tested, and faild :lol:

Now, ext4 is supported with pupsaveconfig-1.9.4.pet available here.

Posted: Thu 16 Dec 2010, 19:35
by jemimah
Awesome! Thanks. :)

savefile config

Posted: Fri 17 Dec 2010, 08:03
by emil
Hello shinobar,

thanks lots for the savefileconfig implementation. I tested it yesterday with a frugal install and it worked flawless for me. I just want to share 2 thoughts that I have. Those are just ideas, no critics and I would like to know what you and maybe others think.

Firstly, would it be an idea to make a simpler "standard" interface and give the Option to call the detailed Menu as "expert" or "advanced".
The "standard" would just offer to create a standard savefile in the same directory of the lupy-511.sfs (I'm not sure about to handle Live CD Mode).
I think new users to puppy linux could be a bit overwhelmed with options and puppy specific terminology.

The second idea is about the Windows installation on NTFS. I had the windows installer discussed a bit on the Sage forum. The myth that Linux can't handle the NTFS filesystem properly seems persistent. Would it be possible that the savefileconfig recognises a premade "blank" savefile (lets say with name blank_savefile.img" and if it finds such a file offers the possibility to use it (rename and mke2fs ...). Then it would be possible that the windows installer creates all puppy files, sort of a "paranoid" mode.

thanks you again,
emil

Posted: Sun 19 Dec 2010, 07:01
by jemimah
Shinobar,

I've had a request for an option to automatically make a backup of the save file on shutdown (or startup, but I think shutdown is easier to implement).

Are you interested in coding this? Or will you merge my patches if I do it? I want to avoid having to patch the shutdown script every time you release an update. :)

automatically make a backup of the save file

Posted: Sun 19 Dec 2010, 07:34
by shinobar
jemimah wrote:I've had a request for an option to automatically make a backup of the save file on shutdown (or startup, but I think shutdown is easier to implement).

Are you interested in coding this? Or will you merge my patches if I do it? I want to avoid having to patch the shutdown script every time you release an update. :)
Fascinating idea.
We can find some trials on this forum, though i have never tried them yet.
I guess it is not so easy and needs another project.
If you or someone do some improvement on this theme i am willing to implement the code built in.

Some thought:
It may be implemented in /usr/sbin/snapmergepuppy, not in rc.shutdown.
EDIT: snapmergepuppy is effective only for PUPMODE=13.
The init or rc.shutdown is better place to support both PUPMODE=12/13 as jemimah says.
I guess the init at the boot up is good timing.

Some topics:

Posted: Sun 19 Dec 2010, 08:17
by jemimah
It needs to be in either the init script or the shutdown script because the save file must be unmounted before copying.

It should be as simple as "cp pupsave.2fs pupsave.2fs.bak" as long as you do it after the unmount. Most of the work is adding the configuration options.

automatic backup session

Posted: Sun 19 Dec 2010, 08:57
by shinobar
jemimah wrote:Most of the work is adding the configuration options.
Right, jemimah.
Where to save, how much space is allowed, how many old to keep, what frequency to be saved, ziped or unziped, we also need how to recover... etc..

I have no experience using similar system on Windows and do not know what options allowed on Windows... :?

Well, will you jemimah or someone start new topic on the automatic backup/recover session?