Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 22 Aug 2014, 06:04
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
How to save settings with a diskless client?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 2 [22 Posts]   Goto page: Previous 1, 2
Author Message
seaside

Joined: 11 Apr 2007
Posts: 886

PostPosted: Fri 16 Aug 2013, 13:05    Post subject:  

Benno_fra_DK,

Another approach would be to tar compress /initrd/pup_rw and then install it on the pupmainxxx.sfs file.
Code:
cd /initrd/pup_rw
tar -cvzf pupsave.tgz *


Then send pupsave.tgz to the pupmainxxx.sfs file location and use an SFS editor (Edit-SFS is one) to open the pupmainxxx.sfs file. The editor will create a "working tree" which will be the top level where pupsave.tgz should be extracted. After installing pupsave.tgz, the new sfs file including the pupsave.tgz files will be built.

Cheers,
s
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 8166

PostPosted: Fri 16 Aug 2013, 13:43    Post subject:  

Hmm all sounding familiar sunburnt

Quote:
Puppy has a flag file for Xwin failure at boot, there may be others too.
This will show the [ Ignore ] [ Ram Boot ] options at each boot.


Indeed and that's way saving normally occurs after X has been killed. There is/was a live backup script that did deal with such problems.

Question that popped up in my head.... does pxe booting have the possibility of loading an sfs either within or outside the initrd.gz

I suppose the other way is to rewrite pxe in puppy to load files in a more conventional way ... ie establish network then load files as if on a local drive

mike
Back to top
View user's profile Send private message 
seaside

Joined: 11 Apr 2007
Posts: 886

PostPosted: Fri 16 Aug 2013, 15:24    Post subject:  

mikeb wrote:
Hmm all sounding familiar sunburnt

Quote:
Puppy has a flag file for Xwin failure at boot, there may be others too.
This will show the [ Ignore ] [ Ram Boot ] options at each boot.


Indeed and that's way saving normally occurs after X has been killed. There is/was a live backup script that did deal with such problems.

mike


mikeb,

Yes, there are those "first boot" flag files which I think are saved in /var/local. I guess you could just copy these from an existing save file.

Regards,
s
Back to top
View user's profile Send private message 
sunburnt


Joined: 08 Jun 2005
Posts: 5016
Location: Arizona, U.S.A.

PostPosted: Fri 16 Aug 2013, 16:13    Post subject:  

Yep, I`ll bet there`s boot variables that are being messed up.

As I suggested, you should try the Puppy menu remaster, and then look for others.
Back to top
View user's profile Send private message 
raffy

Joined: 25 May 2005
Posts: 4762
Location: Manila

PostPosted: Sat 17 Aug 2013, 12:53    Post subject: remaster  

A remaster with your new settings will give you a new pupXXX.sfs, which you then build into newinitrd.gz.

There is a stage in the remaster when you are asked to inspect /tmp/root (for the contents of the new /root) as well as /tmp/etc. In both cases, you should update /tmp/root and /tmp/etc with your new files - a radical approach is simply copy over /root to /tmp and /etc to /tmp when that question is asked.

In your pxelinux.cfg, you can add different initrd.gz and kernel builds, much like using grub entries (each set has a different label). For example, you may have an English build and a local language build.

_________________
Puppy user since Oct 2004. Want FreeOffice? Get the sfs (English only).
Back to top
View user's profile Send private message 
Ted Dog


Joined: 13 Sep 2005
Posts: 2312
Location: Heart of Texas

PostPosted: Sat 17 Aug 2013, 17:25    Post subject:  

Benno_fra_DK wrote:
BTW - I only want to save settings once. I just want to boot up the same session on every startup.


Oh, try my sloppy remaster,

http://murga-linux.com/puppy/viewtopic.php?p=690327#690327
Back to top
View user's profile Send private message 
sunburnt


Joined: 08 Jun 2005
Posts: 5016
Location: Arizona, U.S.A.

PostPosted: Sat 17 Aug 2013, 22:24    Post subject:  

Excellent Ted Dog; Thank you for coming forward.

Configuring Kiosk`s and the like is a common requirement for PXE booting.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 2 [22 Posts]   Goto page: Previous 1, 2
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Cutting edge
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0585s ][ Queries: 11 (0.0068s) ][ GZIP on ]