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 Tue 18 Sep 2018, 09:22
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
Remastering a frugal install
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 3 of 3 [42 Posts]   Goto page: Previous 1, 2, 3
Author Message
rufwoof

Joined: 24 Feb 2014
Posts: 2532

PostPosted: Wed 21 Jan 2015, 16:28    Post subject:  

Originally I remastered to a general (non machine specific) version. Later I opted to just simply remaster to my own PC specific as I find that works ok with most other systems anyway, but you have to manually reconfigure for language/locale etc.

From that I've created my own remaster process - that's a two click 30 second process.

I merge puppy sfs into initrd so that only vmlinuz and that initrd are required to boot up puppy and the remaster process is set to replace the existing initrd (where grub4dos looks on the hard disk) - ready for the next reboot.

I've found that using no compression of puppy sfs to be the best overall choice for me. I've 1.5GB of ram and a 400MB non compressed puppy sfs is fine with that. I do however compress initrd using a fast LZO level 1 compression, which shrinks the initrd size down to around 200MB.

When booted /initrd/pup_ro2 is close to 400MB, I also load up a office sfs that compressed comes in at around 500MB, leaving around 600MB of free for work/play. I've removed my swap partition so as to have no disk bound working (all memory bound). That office sfs includes libre office, audacity, flash, xvidcap, blender 3D animation, python and openshot video editor - which more or less caters for my needs. The only other program I use is Firefox, which I run as a portable app - disk based (so updates, bookmarks etc are all persistent).

When remastering is a two click operation and takes 30 seconds on a old PC, quicker on later PC's, its hardly worth bothering with savefiles (I personally ram boot with no save file (PUPMODE 5) all of the time).

Another change included in that is my baee puppy has a copy of all of the CD files (excluding puppy sfs), so there's no need to 'insert CD or mount a local ISO' during remastering, its all to hand already for the program/script. As those files are relatively small it would be nice IMO if more Puppy's used that approach.
Back to top
View user's profile Send private message 
johnywhy


Joined: 20 Aug 2011
Posts: 852

PostPosted: Sat 23 May 2015, 18:19    Post subject:  

hi

after remastering xprecise according to steps in OP, i drag-copied all the files in the new iso into my existing xprecise frugal dir, overwriting the existing files. i did not re-run grub.

is that the wrong way to do it?

now i'm able to boot xprecise no problem.

but the network and frisbee icons are now missing from system tray.

how to get them back?

also, upon boot, i see the notifications telling me puppy is requesting an ip address from my wifi, so my prior frisbee settings seem to be working-- but just for a few seconds. then i see "wlan down", and there's no connection.

then, if i run frisbee from whisker menu, it opens fine, and automatically connects to my wifi.

but the network and frisbee icons are still missing from system tray. how to get them back? and how to fix the failed connection attempt on boot?

also, the clock seems to not want to keep correct time anymore.


thx!

_________________
Now: X-Tahr 2.0! StretchDog! DevuanDog!
Tops: TarhNOP Vlina-R2 Racy
Used: Puppeee Precise Lucid Wary Tahrpup Quirky Slacko MacPup Saluki Puppy Studio LxPupTarh Lina-Lite Lina
i ♥ Puppy
Back to top
View user's profile Send private message 
riedzig

Joined: 01 Oct 2015
Posts: 34

PostPosted: Thu 19 May 2016, 02:08    Post subject: Why make/not make a separate .zdrv.sfs?  

Hi,
While remastering I never know the advantages of this option in terms of size, boot speed etc. of the new remastered Puppy. Since there's no recommendation and I find no mention in this topic I would be happy to get any hint from you.
Back to top
View user's profile Send private message 
gcmartin

Joined: 14 Oct 2005
Posts: 6730
Location: Earth

PostPosted: Thu 19 May 2016, 16:55    Post subject:  

Remaster intent is to allow your presently running PUP with all of what you've saved and installed currently in your Puppy filesystem on your desktop to be saved as a single ISO with no save-sessions. It creates a new pristine ISO matching what you are currently running.

Expect no difference in what or how your present desktop is working.

Hope that helps

_________________
Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engines or use DogPile
Back to top
View user's profile Send private message 
stemsee

Joined: 27 Jun 2013
Posts: 2262
Location: In The Way

PostPosted: Thu 19 May 2016, 18:08    Post subject:  

There are several remastering methods and solutions. They do not necessarily result in an iso, more usually in a main sfs module which may or may not go into an initrd file.

I have written several remaster scripts: SFS-Direct-Remaster which remasters a running system immediately to a replacement main sfs module. SFS-Unattended-Remaster, which was further developed by others to remaster many linux distros. However my last effort was Simple-Remaster, which can also go all the way to iso, can in/ex-clude zdrv/other modules|wine prefix, can work on device or in ram, run from prompt with or without X, does not need an original iso, all questions occur at start and auto-runs to completion; now includes a handy drag'n'drop desktop widget for adding files or dirs to exclude from the remaster just by dragging them to the widget etc. The system is cleaned of 99% of sensitive data.
Back to top
View user's profile Send private message MSN Messenger 
riedzig

Joined: 01 Oct 2015
Posts: 34

PostPosted: Mon 23 May 2016, 02:23    Post subject:  

Maybe I put my question vaguely. I'm a bit familiar with remastering using the builtin tool, but when I get to the option "do you want to make a separate zdrv.sfs (yes-no)" I don't know what is better for me to make a slim, fast booting, to one PC customized new Puppy. If there's no difference at all, then I don't see the point of giving this option.
Back to top
View user's profile Send private message 
Sailor Enceladus

Joined: 22 Feb 2016
Posts: 1540

PostPosted: Mon 23 May 2016, 09:25    Post subject:  

riedzig wrote:
Maybe I put my question vaguely. I'm a bit familiar with remastering using the builtin tool, but when I get to the option "do you want to make a separate zdrv.sfs (yes-no)" I don't know what is better for me to make a slim, fast booting, to one PC customized new Puppy. If there's no difference at all, then I don't see the point of giving this option.

zdrv makes it easy to update or switch kernels later. I see you didn't have success with zdrv_cutter Laughing
Back to top
View user's profile Send private message 
hamoudoudou

Joined: 24 Jul 2014
Posts: 1467
Location: rabat

PostPosted: Sun 22 Oct 2017, 06:04    Post subject: Tested wih a Puppy 64 bit . It works.  

Tested wih a Puppy 64 bit . It works. jump in the future.
They are 35 topics explaining how to do, but none with a 64 bits. I did it for you. .
Catdude explanations are clear enough with screenshots.. for most of us. But deep in the forum. Sure the beginners dont' yet know how to use the search tools.
Back to top
View user's profile Send private message 
johnywhy


Joined: 20 Aug 2011
Posts: 852

PostPosted: Sun 04 Mar 2018, 00:27    Post subject:  

rufwoof wrote:
. From that I've created my own remaster process - that's a two click 30 second process .

Woah!

Can you please share the steps?

Thx!

_________________
Now: X-Tahr 2.0! StretchDog! DevuanDog!
Tops: TarhNOP Vlina-R2 Racy
Used: Puppeee Precise Lucid Wary Tahrpup Quirky Slacko MacPup Saluki Puppy Studio LxPupTarh Lina-Lite Lina
i ♥ Puppy
Back to top
View user's profile Send private message 
belham2

Joined: 15 Aug 2016
Posts: 1534

PostPosted: Sun 04 Mar 2018, 05:39    Post subject:  

johnywhy wrote:
rufwoof wrote:
. From that I've created my own remaster process - that's a two click 30 second process .

Woah!

Can you please share the steps?

Thx!



Hi Johnny,

All that is being done is what Fatdog & the Fatdog team have been doing for the past 7-8 years, and a few others tinkered with back in 2010/2011. In Fatdog's case, they long ago decided to merge the puppy.sfs (or Fatdog.sfs) into initrd so that only vmlinuz and that initrd are required to boot up. Sound familiar?

Look at Fatdog, play with it, then you'll understand what to do in any other pup if you want. Just be aware there are some downsides, a big one being the hardware you run on. Depending on your hardware---specifically your BIOS and motherboard---you may be staring at 4-10 minute bootup times when merging the puppy.sfs into the initrd. As James (Fatdog Developer) talks about, it's all about how your BIOS handles the data flow. Knowing many others (like myself) still have hardware that is perfectly good but struggles with huge initrds, James & the team decided to offer clear documentation for a small initrd Fatdog option (in essence, ripping the puppy.sfs out).

Thus, do some simple "reverse engineering", read the Fatdog documentation on Ibiblio, and you'll understand. Also, look at many of the simple remaster scripts written by others in the "remastering" threads. You'll be off & running in no time. IMHO, currently the best remastering scripts written in all of the puppy/ddog universe are the ones written by Fred of DebianDog fame here on Murga. They are the standard puppy should shoot for when they ever get around to re-doing Shinobars's/Barry's original remaster script(s)---script(s) that are still offered in Pups today and, in my humble opinion, need some re-working as they have not kept up with changes and/or needs of puppy users.

Good luck! Wink


P.S. Murga poster nic007 has some good stuff in terms of simple, clear remaster scripts. Search for his posts, and you'll come across them. Good stuff.
Back to top
View user's profile Send private message 
johnywhy


Joined: 20 Aug 2011
Posts: 852

PostPosted: Sun 04 Mar 2018, 17:19    Post subject:  

belham2 wrote:
Depending on your hardware---specifically your BIOS and motherboard---you may be staring at 4-10 minute bootup times when merging the puppy.sfs into the initrd. .

Hrm, I'm looking for ways to shorten boot time.

belham2 wrote:
James & the team decided to offer clear documentation for a small initrd Fatdog option (in essence, ripping the puppy.sfs out). .

But depending on my hardware that might not help?
What's the difference between merging puppy.sfs into initrd and ripping out puppy.sfs?

belham2 wrote:
, do some simple "reverse engineering", read the Fatdog documentation on Ibiblio, and you'll understand. .

Ha! You overestimate me. I'm already overwhelmed. Guess I was hoping for a 2 step remaster which doesn't first require reverse engineering anything 😁

belham2 wrote:
best remastering scripts written in all of the puppy/ddog universe are the ones written by Fred of DebianDog fame here on Murga..

I assume these are BASH scripts? Would they also require some reverse engineering to work with x-tahr?

belham2 wrote:
Murga poster nic007 has some good stuff in terms of simple, clear remaster scripts. .

Different from the small initrd Fatdog option how?

Thx!

_________________
Now: X-Tahr 2.0! StretchDog! DevuanDog!
Tops: TarhNOP Vlina-R2 Racy
Used: Puppeee Precise Lucid Wary Tahrpup Quirky Slacko MacPup Saluki Puppy Studio LxPupTarh Lina-Lite Lina
i ♥ Puppy
Back to top
View user's profile Send private message 
hamoudoudou

Joined: 24 Jul 2014
Posts: 1467
Location: rabat

PostPosted: Thu 26 Apr 2018, 05:00    Post subject: discovered to day that stemsee has his own script .  

discovered to day that stemsee has his own script .
Included in Slacko menu utilities.
'Do you want to append the idstring to the sfs? 'y' or 'n'?' 10 seconds
TIME OUT
Assume no
'not added.'
Question what is that

and some other questions to wich only expeerts can answer.. If expert they don't need help to remasterize their SFS :
Do you want to modify /etc/rc.d/rc.local by adding some code
which is needed to assist sfs-direct-remastering? y or n?")'" Evil or Very Mad
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 3 of 3 [42 Posts]   Goto page: Previous 1, 2, 3
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
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.1406s ][ Queries: 12 (0.0342s) ][ GZIP on ]