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 Wed 05 Aug 2015, 06:27
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
Simple-Remaster
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [22 Posts]   Goto page: 1, 2 Next
Author Message
stemsee

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

PostPosted: Thu 07 May 2015, 09:51    Post subject:  Simple-Remaster
Subject description: remaster to iso or just main sfs module
 

My latest remaster script - Simple-Remaster. Remasters a puppy linux system all the way to iso or just main sfs.module. I have tested and debugged extensively on Tahr pup. There is provision for April and FatDog and Lighthouse, but not tested yet.

Having learnt from my previous efforts, I feel that this is a significant improvement.

Cleaning is performed first by excluding in rsync, and then by removal in an intermediary directory. No need to perform any special preparation. Simply run from menu, answer the five questions. 1) provide path to work dir 2) provide path to destination dir 3) modules in or out 4) xz or gzip compression 5) Make iso yes or no.

Then it should just fly through. If work dir has been used before rsync will update only, or the script will create a new dir. If destination has files, the script will advise and give time to exit script or continue and delete files and dirs, or a new dir can be created. At the last stage before creating iso, rox opens DISTRO_SFS location and destination dir for copying of intrd, vmlinuz, zdrv*, ydrv*, and adrv* files if it didn't already do so by itself. ISO is made using genisoimage command, in one dir up from destination dir.

full disclaimer: use at own risk, as per usual.
simple-remaster.pet
Description 
pet

 Download 
Filename  simple-remaster.pet 
Filesize  183.52 KB 
Downloaded  93 Time(s) 
Back to top
View user's profile Send private message MSN Messenger 
Ted Dog


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

PostPosted: Thu 07 May 2015, 17:26    Post subject:  

lol how many swings at the bat are you going to do at the remaster game, is this related to your past work or a clean break and rethink?
Also.. any future for LZ4 compression?
Back to top
View user's profile Send private message 
Bindee

Joined: 19 Jun 2014
Posts: 286

PostPosted: Thu 07 May 2015, 18:01    Post subject:  

I'm guessing this means he has moved past the Alpha experimental cutting edge stage. Smile
Back to top
View user's profile Send private message 
stemsee

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

PostPosted: Thu 07 May 2015, 19:49    Post subject:  

Hey, what can I say? Still a lot to learn!! Wink

This does use snippets of code from previous efforts, It is less ambitious but better implemented, yet achieves better results with less code. I intend to incorporate sfs-direct-remastering concept in with this, and rewrite the utilities, thusly replacing previous suite with one beautiful script and fewer supporting files.

Today I finished off the code for April, which has initrd-tree in /boot. Also ISO with syslinux.bin boot.cat etc in /boot/ISO which is along the same lines I organised things in sfs-unattended remaster. So should now work with April, all the way to iso.

EDIT: It doesn't work with April.
simple-remaster-1.0.3.pet
Description  fixed bug found by slavvo67
pet

 Download 
Filename  simple-remaster-1.0.3.pet 
Filesize  183.58 KB 
Downloaded  61 Time(s) 

Last edited by stemsee on Thu 18 Jun 2015, 10:50; edited 2 times in total
Back to top
View user's profile Send private message MSN Messenger 
slavvo67

Joined: 12 Oct 2012
Posts: 720
Location: The other Mr. 305

PostPosted: Thu 07 May 2015, 20:25    Post subject:  

Hey Ted Dog:

I think he named it "Simple" after me! While I liked aspects of Stemsee's other Remaster program(s), my remastering success was limited. Rolling Eyes

Anyway, thanks Stemsee for your continued efforts!

Slavvo67
Back to top
View user's profile Send private message 
Ted Dog


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

PostPosted: Thu 07 May 2015, 20:31    Post subject:  

ok sounds more like the goals of puppylinux are being covered, small clean and faster.. Laughing
would it be possible to take a fatdog64 and use this remaster to force it into April methods? That was something I always wished to try..
Back to top
View user's profile Send private message 
stemsee

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

PostPosted: Thu 07 May 2015, 21:45    Post subject:  

Fatdog has kernel modules and main.sfs in intrd as does april. But april doesn't support sfs lyers and fd does. Do you mean fd expanded to a block device in ram? The script should handle fatdog correctly.
Back to top
View user's profile Send private message MSN Messenger 
slavvo67

Joined: 12 Oct 2012
Posts: 720
Location: The other Mr. 305

PostPosted: Thu 07 May 2015, 22:25    Post subject:  

simple-remaster-1.0.2.pet did not extract with PPM2, as the file inside was named simple-remaster and not simple-remaster-1.0.2 Rolling Eyes

I simply unpacked the pet and repacked it with simple-remaster-1.0.2 as the filename. Worked perfectly.

I saw some error messages pop-up while it was running but I'm not sure if it caused any issue with the final sfs and .iso.

One that I did catch was somewhere between when the sfs is created and the .iso part of the program starts. There's a reference to mnt/sda6/emsee or Stemsee or something similar. You probably had that hard coded in for your distro.

The other error was message somewhere while the sfs was being created and it couldn't find a /tmp directory. Not sure which one or if it is necessary. I didn't test the final sfs / iso yet.

This was with a remaster of Vividpup installed on a USB with other pups via ISObooter. There could be issues with that but ya never know until you try. I'll let you know how the final came out --- soon.

Slavvo67
Back to top
View user's profile Send private message 
stemsee

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

PostPosted: Fri 08 May 2015, 06:44    Post subject:  

That's great slavvo67

thanks for testing and useful feedback. Yes I may have left in hard code, tht should have taken values from variables in /etc/rc.d/PUPSTATE I wil check.
Back to top
View user's profile Send private message MSN Messenger 
Kai

Joined: 27 Apr 2015
Posts: 15

PostPosted: Wed 13 May 2015, 18:47    Post subject:  

Why don't the other projects use this re-master ???
Back to top
View user's profile Send private message 
gcmartin


Joined: 14 Oct 2005
Posts: 5294
Location: Earth

PostPosted: Wed 13 May 2015, 22:45    Post subject:  

@StemSee has made several far reaching advances in Puppyland over the last year. But, excepting for a very few, most developers have either missed his demonstrations to us or have not taken the time to incorporate his very good projects.

But, ALL of his project have surfaced in his EmSee series of distros. I have tested his 2015 series of distros and have found them one of the very best fully featured PUPs to have surfaced coming out of Puppyland. When booted, there is so much forward thinking items staring at you. He extends PUPPY such that there is little left to either add or think of. I run his distros, Live, from DVD.

Hope others take the time to download. Hope they, too, notice from the very 1st boot splash, the beginning of the many forward thinking(s) one encounters moving into the system. And, expect a very responsive user environment.

Last edited by gcmartin on Wed 13 May 2015, 22:53; edited 1 time in total
Back to top
View user's profile Send private message 
slavvo67

Joined: 12 Oct 2012
Posts: 720
Location: The other Mr. 305

PostPosted: Wed 13 May 2015, 22:51    Post subject:  

GCMartin:

Stemsee has done some great stuff. This one, however still needs some work, I think. Still testing... But strangely, I suddenly feel like I need a high quality passport for some reason....

FLASH... there's some spam about......

Slavvo67
Back to top
View user's profile Send private message 
stemsee

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

PostPosted: Thu 14 May 2015, 15:05    Post subject:  

@Kai

There are several remaster scripts available to puppy users. Most of them do a more thorough job of cleaning (pipes and sockets) than mine (although they take forever). Actually I intend to add a function that has the ability to determine files and dirs created by a newly installed app at first use, thus making a better method of cleaning as yet unknown app personal configs (using timestamps).

Truly there has been very little interest in my 'amateur' scripts: I may have good ideas, but not a clue about good programing with security in mind.

Smile
Back to top
View user's profile Send private message MSN Messenger 
slavvo67

Joined: 12 Oct 2012
Posts: 720
Location: The other Mr. 305

PostPosted: Thu 14 May 2015, 16:47    Post subject:  

Lots of interest here. Just not enough time to help you test them.... Sad
Back to top
View user's profile Send private message 
stemsee

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

PostPosted: Thu 14 May 2015, 18:32    Post subject:  

Slavvo67
I found the bug, which prevented the making of tmp sys proc and mnt in the workdir. Silly silly silly, I must have been tired when I changed the code.
simple-remaster-1.0.4.pet
Description 
pet

 Download 
Filename  simple-remaster-1.0.4.pet 
Filesize  183.59 KB 
Downloaded  50 Time(s) 
Back to top
View user's profile Send private message MSN Messenger 
Display posts from previous:   Sort by:   
Page 1 of 2 [22 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
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.1743s ][ Queries: 12 (0.0265s) ][ GZIP on ]