nicOS-Remaster

Miscellaneous tools
Message
Author
User avatar
nic007
Posts: 3408
Joined: Sun 13 Nov 2011, 12:31
Location: Cradle of Humankind

#21 Post by nic007 »

johnywhy wrote:
nic007 wrote:make an sfs of your savefile and call it the adrv (the name should look like that of the zdrv). Place this adrv with your other puppy files and boot that instead of the savefile.
thx, i'll try!
how do i get the iso? run your script?

THX
Create the adrv first and see if it works. BTW - Exclude the /sys, /dev, /mnt, /tmp and /initrd folders of the savefile when making the adrv. What do you want to do with the ISO, for use on the same machine or on other machines as well?

User avatar
nic007
Posts: 3408
Joined: Sun 13 Nov 2011, 12:31
Location: Cradle of Humankind

#22 Post by nic007 »

The scripts have been updated. See first post and download the new zip file.

User avatar
rockedge
Posts: 1864
Joined: Wed 11 Apr 2012, 13:32
Location: Connecticut, United States
Contact:

#23 Post by rockedge »

nic007 wrote:The scripts have been updated. See first post and download the new zip file.
Thank you for the work!

User avatar
johnywhy
Posts: 879
Joined: Sat 20 Aug 2011, 14:52

#24 Post by johnywhy »

nic007 wrote: ISO, for use on the same machine or on other machines as well?
other machines as well
[b]Now[/b]: X-Tahr 2.0! StretchDog! DevuanDog!
[b]Tops[/b]: TarhNOP Vlina-R2 Racy
[b]Used[/b]: Puppeee Precise Lucid Wary Tahrpup Quirky Slacko MacPup Saluki Puppy Studio LxPupTarh Lina-Lite Lina
[i]i ♥ Puppy[/i]

User avatar
nic007
Posts: 3408
Joined: Sun 13 Nov 2011, 12:31
Location: Cradle of Humankind

#25 Post by nic007 »

You haven't given feedback on whether you have been successful with making the adrv and that this method works for your current situation. You can run the Pristine version of the script afterwards to make the iso.

User avatar
nic007
Posts: 3408
Joined: Sun 13 Nov 2011, 12:31
Location: Cradle of Humankind

#26 Post by nic007 »

Made some editing errors with the updated versions. Fixed and attached to first post. Please download the new zip file.

User avatar
rockedge
Posts: 1864
Joined: Wed 11 Apr 2012, 13:32
Location: Connecticut, United States
Contact:

#27 Post by rockedge »

I mount an ISO of Xenial I will need and both scripts do not see the mounted ISO.....I am just beginning to try the scripts out.

All I am seeing is the /dev/sr0... what can I do?

User avatar
nic007
Posts: 3408
Joined: Sun 13 Nov 2011, 12:31
Location: Cradle of Humankind

#28 Post by nic007 »

rockedge wrote:I mount an ISO of Xenial I will need and both scripts do not see the mounted ISO.....I am just beginning to try the scripts out.

All I am seeing is the /dev/sr0... what can I do?
Mount the ISO before you run the script.

User avatar
rockedge
Posts: 1864
Joined: Wed 11 Apr 2012, 13:32
Location: Connecticut, United States
Contact:

#29 Post by rockedge »

Code: Select all

Mount the ISO before you run the script.
first thing I did. Even after the iso is mounted the script is not finding the mount point and the iso is not appearing as a selectable option.


UPDATE
I ran it in a Tahr 6.0.5 pae and mounted the ISO and the script did find it in this setup. Going for a remaster of Tahr with a full LAMP stack and Zoneminder.

User avatar
nic007
Posts: 3408
Joined: Sun 13 Nov 2011, 12:31
Location: Cradle of Humankind

#30 Post by nic007 »

rockedge wrote:

Code: Select all

Mount the ISO before you run the script.
first thing I did. Even after the iso is mounted the script is not finding the mount point and the iso is not appearing as a selectable option.


UPDATE
I ran it in a Tahr 6.0.5 pae and mounted the ISO and the script did find it in this setup. Going for a remaster of Tahr with a full LAMP stack and Zoneminder.
Works for me in Xenialpup7.5. Did you unmount the ISO before mounting it again and then running the script?

User avatar
rockedge
Posts: 1864
Joined: Wed 11 Apr 2012, 13:32
Location: Connecticut, United States
Contact:

#31 Post by rockedge »

yes I did.
the script ran well in tahr 6.0.5 but did not fully copy the necessary directories needed for running a LHMP and zoneminder.

Many of the comonents are there but most are in directories most auto-remaster scripts do not copy...nor does the stock re-master tool.

in my case manual re-mastering seems to be the only way to insure a complete zoneminder system that will start.

otherwise the script was pretty quick and the resulting ISO booted cleanly.

User avatar
nic007
Posts: 3408
Joined: Sun 13 Nov 2011, 12:31
Location: Cradle of Humankind

#32 Post by nic007 »

The script is based on puppys builtin remasterscript so if that does not work for you, this won't work either. However, I have been experimenting with my own scripts (totally independent from the builtin script) in the past. I attach two of them here. Try them if you like, perhaps you'll have some luck. Note that the working area is /mnt/home presuming that you are using a savefile.

BTW - Can you specify which directories were not copied, seems strange to me? Also - wouldn't it be better to run these components you are talking about as sfs-addon files (that way you don't have to include them in the base sfs file)
Attachments
Quick-Base-Remaster.zip
(3.14 KiB) Downloaded 301 times

User avatar
johnywhy
Posts: 879
Joined: Sat 20 Aug 2011, 14:52

#33 Post by johnywhy »

nic007 wrote:make an sfs of your savefile and call it the adrv
can i use PackIt for that? It has option "mksquashfs". Should i pick gzip or xz?

Archive Manager does not seem to have sfs option.

THX
[b]Now[/b]: X-Tahr 2.0! StretchDog! DevuanDog!
[b]Tops[/b]: TarhNOP Vlina-R2 Racy
[b]Used[/b]: Puppeee Precise Lucid Wary Tahrpup Quirky Slacko MacPup Saluki Puppy Studio LxPupTarh Lina-Lite Lina
[i]i ♥ Puppy[/i]

User avatar
nic007
Posts: 3408
Joined: Sun 13 Nov 2011, 12:31
Location: Cradle of Humankind

#34 Post by nic007 »

johnywhy wrote:
nic007 wrote:make an sfs of your savefile and call it the adrv
can i use PackIt for that? It has option "mksquashfs". Should i pick gzip or xz?

Archive Manager does not seem to have sfs option.

THX
So, you still want to save the work you put into the old save file? I'm asking because it will be less complicated if you use a new savefile, install the stuff anew and then do a remaster. Better still - consider using sfs-addons for the programs you want to use instead of installing pets. This way you can keep your savefile very small (or not use one) and there wouldn't really be a reason to remaster anything. That's how I operate Puppy.

User avatar
johnywhy
Posts: 879
Joined: Sat 20 Aug 2011, 14:52

#35 Post by johnywhy »

nic007 wrote:So, you still want to save the work you put into the old save file? I'm asking because it will be less complicated if you use a new savefile, install the stuff anew and then do a remaster.
and remove the built-ins anew as well, right? Cuz i removed a bunch of builtin stuff.

I think you're saying my save-file is corrupt in some way-- that my customizations are not the problem. Correct?
consider using sfs-addons for the programs you want to use instead of installing pets.
i'm fine with that, tho i noticed pets seem to work better than addons, for certain programs.

i want to share a live CD with friends. Do i need to manually copy those sfs-addons to the remaster-dir, before making the iso?

THX
[b]Now[/b]: X-Tahr 2.0! StretchDog! DevuanDog!
[b]Tops[/b]: TarhNOP Vlina-R2 Racy
[b]Used[/b]: Puppeee Precise Lucid Wary Tahrpup Quirky Slacko MacPup Saluki Puppy Studio LxPupTarh Lina-Lite Lina
[i]i ♥ Puppy[/i]

User avatar
nic007
Posts: 3408
Joined: Sun 13 Nov 2011, 12:31
Location: Cradle of Humankind

#36 Post by nic007 »

First decide what you want to do now, I will help you further then. Here are your options:
1. Try to salvage the contents of the old savefile by creating an adrv and then do a pristine remaster if the adrv works. This may or may not work because the contents of that savefile may be corrupted (but it saves you the trouble of installing all the stuff again).
2. Create a new savefile and either install the pets again or load the programs as sfs-addons and do a pristine remaster.

Personally, I woud go with option 2, greater chance of getting things right.

User avatar
johnywhy
Posts: 879
Joined: Sat 20 Aug 2011, 14:52

#37 Post by johnywhy »

sounds like your suspicion is that my save-file is corrupt.

i like Option 2 as well. i want to share a live CD with friends. i assume sfs-addons will be included in the remaster, and loaded on boot automatically, correct?
[b]Now[/b]: X-Tahr 2.0! StretchDog! DevuanDog!
[b]Tops[/b]: TarhNOP Vlina-R2 Racy
[b]Used[/b]: Puppeee Precise Lucid Wary Tahrpup Quirky Slacko MacPup Saluki Puppy Studio LxPupTarh Lina-Lite Lina
[i]i ♥ Puppy[/i]

User avatar
nic007
Posts: 3408
Joined: Sun 13 Nov 2011, 12:31
Location: Cradle of Humankind

#38 Post by nic007 »

johnywhy wrote:sounds like your suspicion is that my save-file is corrupt.

i like Option 2 as well. i want to share a live CD with friends. i assume sfs-addons will be included in the remaster, and loaded on boot automatically, correct?
Yes, with my auto script all sfs files (except the zdrv) that are loaded at the time of the remaster will be included in the remastered base sfs file. After the remaster you will have the remastered base sfs (which now include all the addon sfs's) and a seperate zdrv.

ITSMERSH

#39 Post by ITSMERSH »

johnywhy wrote:i assume sfs-addons will be included in the remaster, and loaded on boot automatically, correct?
nic007 wrote:Yes, with my auto script all sfs files (except the zdrv) that are loaded at the time of the remaster will be included in the remastered base sfs file.
I think here's some misunderstanding included.

As I do understand johnywhy he asked if the additional .sfs will be in the remastered .iso - but not in the remastered base .sfs.

To have additional .sfs remastered into the .iso it is necessary to copy them into the build directory manually BEFORE creating the .iso. This is NOT done automatically by remasterpup2 or nic007 scripts.

All programs from additional .sfs loaded at remaster will be in the included into new .sfs. So, there's no need to have those additional .sfs placed inside the .iso and so they can't load automatically at boot - at least it doesn't make any sense to load them anyway.

My new version of LazY Remaster Suite will create a .iso (without the need of a mounted .iso or cd) and ALL files/dirs from the boot directory (where the puppy .sfs is stored) will be copied automatically to the build directory and therefor will be placed inside the .iso as well.

Just to mention...

User avatar
nic007
Posts: 3408
Joined: Sun 13 Nov 2011, 12:31
Location: Cradle of Humankind

#40 Post by nic007 »

There shouldn't be any confusion. My last sentence (which you omitted) makes it quite clear, I think. He wants to distribute the iso to friends. Having everything combined into the base sfs and a seperate zdrv would be easier for a new user (who may not know how sfs addons work). My auto script includes the content of all loaded sfs's (excluding the zdrv.) Into the base sfs. Of course, if you don't want it included, unload those extra sfs's you don't want to include. You can of course add anything you like to the ISO later but then you shouldn't use this auto remaster script (because it doesn't pause so you can manually add whatever you want to the ISO, the builtin script DOES give you this opportunity). Like your versions, I also have remasterscripts with options.. However I am not releasing that as the user may just as well use the builtin remasterscript if he wants to choose his own full options. Having said that, I have made improvements to the builtin remasterscript. For instance - If you have loaded extra sfs's which contents you want to combine into the base sfs (like with my auto script) and those extra sfs's contain files in /root, /etc and /var the builtin script will not include those files by default. I've fixed that.

BTW - You'll have to include a bootloader in your "manually made" iso for distribution, if you don't have the actual ISO or CD to copy files from.
Last edited by nic007 on Sun 12 Aug 2018, 20:52, edited 2 times in total.

Post Reply