Tiny Core Linux

General TC => Programming & Scripting - Unofficial => Topic started by: ixbrian on June 27, 2010, 02:32:58 PM

Title: ezremaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: ixbrian on June 27, 2010, 02:32:58 PM
I have been writing an application that walks a user through remastering a Tiny Core or Micro Core ISO.  ezremaster works with Tiny/Micro/Mutli Core versions 3.x.

It supports:
   -Setting all of the bootcodes
   -Selecting applications to add to the remaster
   -Adding a mydata.tgz to the remaster
   -Easily recreating your custom ISO image when new versions of Tiny Core are released

In order to install it, use appbrowser to search for and install  "ezremaster". 

Brian
Title: Re: tc_remaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: jls on June 28, 2010, 05:26:26 AM
I found some problems:
Title: Re: tc_remaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: ixbrian on June 28, 2010, 02:55:57 PM
Thanks for the feedback. 

- It should be fairly easy to update it to work with Microcore as well.  I just need to have the remaster.sh script detect if there is a microcore.tgz or a tinycore.tgz in the source image.  Look for this in the next version.

-Before downloading applications for the remaster, it looks at the /etc/sysconfig/tce.mount file to find out where your tce mount point is (i.e. /mnt/hda1).   It then checks under /tce/optional/ in this mount point to see if the application exists, and if so it copies it over to the temp remaster directory.   If it isn't in this directory, the app is downloaded.    On your system, what does /etc/sysconfig/tce.mount show?  What directory are your tce applications in? 

-You can select a alternate kmap on the second page under "Keyboard layout".  I use the dvorak layout and this has been verified to work. 

-Based on the wiki page on intergrating extensions, I was under the impression that they should be placed in /tce/optional rather than /opt/tce/optional.   Is one preferred over the other? 

Thanks again,
Brian
Title: Re: tc_remaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: curaga on June 28, 2010, 02:59:21 PM
The wiki page in question is about having them in the iso, but not in the initramfs. Extensions packed inside the initramfs should go in /opt/tce/optional.
Title: Re: tc_remaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: jls on June 28, 2010, 03:49:05 PM
-Before downloading applications for the remaster, it looks at the /etc/sysconfig/tce.mount file to find out where your tce mount point is (i.e. /mnt/hda1).   It then checks under /tce/optional/ in this mount point to see if the application exists, and if so it copies it over to the temp remaster directory.   If it isn't in this directory, the app is downloaded.    On your system, what does /etc/sysconfig/tce.mount show?  What directory are your tce applications in?  



Title: Re: tc_remaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: ixbrian on June 28, 2010, 08:02:52 PM
Thanks for the suggestions.   I have made several updates based on your suggestions and modified my original posting with a list of the changes and the updated files.  I am still looking in to the "lst=mylist.lst" bootcode.   I read the Microcore 2.8 announcement but I still don't understand what exactly this does.   I will do some more research and add this bootcode to the next version. 

Thanks again,
Brian
Title: Re: tc_remaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: jls on June 29, 2010, 03:22:23 AM
I propose to preselect the tcz from the current onboot.lst and also the boocodes could be preset according to showbootcodes command.
Could also be useful to save the configuration
Title: Re: tc_remaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: curaga on June 29, 2010, 03:27:52 AM
It can be used to have different sets of extensions loaded on boot.

For example a boot entry for development, the list could include compiletc and -dev extensions.
Title: Re: tc_remaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: ixbrian on July 03, 2010, 02:40:09 PM
I propose to preselect the tcz from the current onboot.lst and also the boocodes could be preset according to showbootcodes command.
Could also be useful to save the configuration

jls_legalize,
Thanks for the suggestion.   The latest version supports reading in the onboot.lst to preselect the applications for installation on the remaster.

Brian
Title: Re: tc_remaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: ixbrian on July 04, 2010, 07:03:54 AM
  • there is also an option for microcore  lst=mylist.lst, see mc 2.8 announce

Is the "lst=" boot code only for Microcore or does this work with Tinycore as well?   I looked in the Microcore /etc/init.d/tc-config script and I don't see any reference to the "lst=" boot code.   Does anyone know where this boot code is processed? 
Title: Re: tc_remaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: curaga on July 04, 2010, 07:23:19 AM
It's in tce-setup, and yes, all bootcodes work with both TC and MC (within limits, the xvesa code requires MC to have Xvesa etc).
Title: Re: tc_remaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: ixbrian on July 04, 2010, 08:40:14 AM
Could also be useful to save the configuration

What do you mean by "save the configuration"?  Are you referring to saving which options the user selects in the remaster wizard? 
Title: Re: tc_remaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: jls on July 04, 2010, 12:06:38 PM
What do you mean by "save the configuration"?  Are you referring to saving which options the user selects in the remaster wizard? 
,
yes, but I don' think it's so necessary since modifying the config file is not difficult once created via your gui
Title: Re: tc_remaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: ixbrian on July 05, 2010, 07:15:51 PM
  • there is also an option for microcore  lst=mylist.lst, see mc 2.8 announce

The latest version now includes the "lst=" boot code. 
Title: Re: tc_remaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: jls on July 06, 2010, 06:37:54 AM
if one chooses to remaster microcore maybe he need also the core elements
Title: Re: tc_remaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: ixbrian on July 06, 2010, 09:07:13 PM
if one chooses to remaster microcore maybe he need also the core elements

That's a great idea.   I have started working on adding this in.   For Micro Core, there will be an option to include Core Elements, and a drop down menu to select the Xserver and Window Manager to include in the remaster.  This will be included in the next version which should be out sometime in the next few days. 
Title: Re: tc_remaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: ixbrian on July 07, 2010, 09:57:18 PM
if one chooses to remaster microcore maybe he need also the core elements

A new version is now posted that supports specifying a X server and Window Manager when remastering Micro Core.  Thanks for the suggestion. 

Brian
Title: Re: tc_remaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: ixbrian on July 10, 2010, 07:22:48 PM
Version 0.8 is now posted: 
     -Supports customizing /opt/bootlocal.sh and /opt/shutdown.sh
     -Supports setting Xorg XkbLayout and XkdModel in order to allow non-us keymaps for Xorg
     -Supports customizing ISOLINUX settings such as the boot message and the boot timeout

Brian
Title: Re: tc_remaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: ixbrian on July 13, 2010, 07:51:09 PM
Version 0.9 is now posted.   It supports remastering Micro Core with the 64 bit kernel.   Download the standard 32 bit Micro Core ISO image, and in the wizard give it the URL or path to microcore64.gz and bzImage64 and it will make the remaster with the 64 bit kernel. 
Title: Re: tc_remaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: jls on July 14, 2010, 02:12:29 AM
in the first page of this program it's written to install advdef extension, but the correct name is advcomp
Title: Re: tc_remaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: tclfan on July 14, 2010, 11:01:25 AM
Version 0.9 is now posted.   It supports remastering Micro Core with the 64 bit kernel.   Download the standard 32 bit Micro Core ISO image, and in the wizard give it the URL or path to microcore64.gz and bzImage64 and it will make the remaster with the 64 bit kernel. 

Ixbrian, where is the remastering program you developed? I am very interested.  How do you compare this to the re-mastering script which exists already in terms of functionality and ease of use?
I have great respect for the author of the existing script, but if your program is even simpler to use, I am always looking forward to simplicity in the way we use technology...
Thanks in advance...
Title: Re: tc_remaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: ^thehatsrule^ on July 14, 2010, 12:34:10 PM
See the attachments (in the first post)
Title: Re: tc_remaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: ixbrian on July 14, 2010, 03:48:54 PM
in the first page of this program it's written to install advdef extension, but the correct name is advcomp

Good catch, I will get this corrected in the next version.   

Thanks,
Brian
Title: Re: tc_remaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: ixbrian on July 14, 2010, 03:54:38 PM
Version 0.9 is now posted.   It supports remastering Micro Core with the 64 bit kernel.   Download the standard 32 bit Micro Core ISO image, and in the wizard give it the URL or path to microcore64.gz and bzImage64 and it will make the remaster with the 64 bit kernel. 

Ixbrian, where is the remastering program you developed? I am very interested.  How do you compare this to the re-mastering script which exists already in terms of functionality and ease of use?
I have great respect for the author of the existing script, but if your program is even simpler to use, I am always looking forward to simplicity in the way we use technology...
Thanks in advance...

The files are attached to the first post in this thread.  Only logged in forum members can see attachments, so make sure you are logged in if you don't see the attachments.   You need to download "tc_remaster" and "remaster.sh".   Put these 2 files in a directory in your $PATH, and then run "tc_remaster". 

I haven't tried any other Tiny Core remastering scripts, so I can't compare functionality or ease of use.  If you have any suggestions to improve functionality or ease of use please let me know. 

Thanks,
Brian
Title: Re: tc_remaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: ixbrian on July 14, 2010, 07:49:56 PM
Version 0.10 is now posted (attached to first post in this thread), with the following changes:

     -Corrected output on first page that showed incorrect extension name (thanks jls_legalize)
     -Added "blacklist" boot code that is new in Tiny Core 3 RC1
     -Misc. other corrections/fixes
Title: Re: tc_remaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: ixbrian on July 16, 2010, 08:50:41 PM
I have posted a new version (attached to first message in thread) that includes the following changes:

     -There is now an extra step before the actual ISO image is created.   This gives you an opportunity to make manual changes in the extracted initrd filesystem and/or changes to the directory that will be put on the ISO. 
     -Now logs remaster.sh output to "tc_remaster.log".
     -Added error display message on last page if error is detected during remastering.
     -Made file and directory names more consistent - settings are now saved in "tc_remaster.cfg" and the default temp directory is /tmp/tc_remaster
Title: Re: tc_remaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: ixbrian on July 17, 2010, 07:26:50 PM
Version 1.00 has been posted with the follow changes:
     -Misc. bug fixes
     -Added usage output to remaster.sh
     -Added more error detection in remaster.sh
Title: Re: tc_remaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: bigpcman on July 18, 2010, 07:30:36 AM
Version 1.00 has been posted with the follow changes:
     -Misc. bug fixes
     -Added usage output to remaster.sh
     -Added more error detection in remaster.sh

Thank you for all your effort in putting this script together.
Title: Re: tc_remaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: ixbrian on July 21, 2010, 08:25:24 PM
To see a demo of tc_remaster in action, check out the following youtube videos:

Part 1:   http://www.youtube.com/watch?v=13TBjg8-C9s
Part 2:   http://www.youtube.com/watch?v=9w7ZzC28sJE
Title: Re: tc_remaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: ixbrian on July 26, 2010, 09:51:28 PM
Version 1.1 is now attached to the first post in this thread with the following changes:

     -Added a third method to add extensions to the remaster (original 2 methods were to include extensions outside the initrd or to include them inside the initrd).   The new third option, "Extract TCZ in to initrd", is to install extensions by copying the extension files into the initrd by mounting the extension and copying all extension files to the extracted initrd filesystem, so that the resulting remaster doesn't have extensions to load at boot as the extensions are integrated in to the initrd.  Extensions are extracted in to the initrd in the correct dependency order, and if the TCZ has a /usr/local/tce.installed/appname startup script the program supports 3 options on how to handle these:  1: Run the TCZ startup scripts in a chroot environment during the remaster, 2:  Add TCZ startup scripts to the /opt/bootlocal.sh file, or 3: Ignore startup scripts. 
Title: Re: tc_remaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: ixbrian on July 29, 2010, 08:03:22 PM
New version is attached to original message in this thread with the following change:

Version 1.2
     -Fixed bug when adding applications to remaster that had dependencies listed with "KERNEL". 
Title: Re: tc_remaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: ixbrian on August 08, 2010, 03:22:52 PM
There is an updated version attached to the first message in this thread:

Version 1.3
     -It is now possible to add custom boot codes to ISOLINUX.   This can include non-Tinycore related kernel boot codes. 
Title: Re: tc_remaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: kalleanka on August 10, 2010, 03:00:32 AM
Nice scripts. Where do i download them?
Title: Re: tc_remaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: tinypoodle on August 10, 2010, 04:45:16 AM
see http://forum.tinycorelinux.net/index.php?topic=6645.msg35599#msg35599  ;)
Title: Re: tc_remaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: kalleanka on August 10, 2010, 04:59:44 AM
ok i found it. Thanks.

ixbrian  could you add a sentence in the first post that one need to be loggedin to be abel to download the scripts.

I tried it and its realy good. I hade problem with running it since i rebooted and they did not get saved in /usr/local/bin where i put them. Then i tryed to run it dirctly from my hard disk ./mnt/hda3.downloads/tc_remaster and i got a lot of security errors. So after chmod and chown it ran but now the script could not find remaster.sh. So i made a script that copies the scripts to /usr/local/bin and then ran tc_remaster. Then it worked. I also misspellt the path to the iso so here it would be nice with a filechooser.  

The two youtube videos are great and educational but the second one got interupte in the end when you where going to show the usage of tc_remaster.cfg. Could you upload it again if you have the full version?

Maybe the log could be echoed to prompt?

Thanks and nice work ixbrian.


Another thing: is there a way to run the .cgf file in GUI (tc_remaster)?
Title: Re: tc_remaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: TheRiddler on August 12, 2010, 05:09:19 PM
I am so newb. I got this to work ONCE. In a virtual machine. Ever since then "permission denied", no matter where I put it, or how i run it. Sometimes I'll even get something about unexpected ) syntax blah blah blah. WTF did I do to get this working that one time, and why can't i do it agian?
Title: Re: tc_remaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: ixbrian on August 13, 2010, 08:08:00 PM
I am so newb. I got this to work ONCE. In a virtual machine. Ever since then "permission denied", no matter where I put it, or how i run it. Sometimes I'll even get something about unexpected ) syntax blah blah blah. WTF did I do to get this working that one time, and why can't i do it agian?

You should be able to download both of the executables (tc_remaster, remaster.sh), and then copy them somewhere in your PATH (example:  "sudo cp tc_remaster /usr/local/bin", "sudo cp remaster.sh /usr/local/bin") and then make both files executable ("sudo chmod +x /usr/local/bin/tc_remaster", "sudo chmod +x /usr/local/bin/remaster.sh").    Then run "tc_remaster".  If this doesn't work, please post the exact error message you are seeing. 

Brian
Title: Re: tc_remaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: ixbrian on August 13, 2010, 08:25:06 PM
ok i found it. Thanks.

ixbrian  could you add a sentence in the first post that one need to be loggedin to be abel to download the scripts.

The first post mentions you need to be logged in to the forum to download the application. 


I tried it and its realy good. I hade problem with running it since i rebooted and they did not get saved in /usr/local/bin where i put them. Then i tryed to run it dirctly from my hard disk ./mnt/hda3.downloads/tc_remaster and i got a lot of security errors. So after chmod and chown it ran but now the script could not find remaster.sh. So i made a script that copies the scripts to /usr/local/bin and then ran tc_remaster. Then it worked. I also misspellt the path to the iso so here it would be nice with a filechooser.  

Do you use the Tiny Core backup/restore functionality?   If so, you just need to list the files "usr/local/bin/tc_remaster" and "usr/local/bin/remaster.sh" in the "/opt/.filetool.lst" file and these files will then automatically be backed up and restored and shutdown/startup. 


The two youtube videos are great and educational but the second one got interupte in the end when you where going to show the usage of tc_remaster.cfg. Could you upload it again if you have the full version?

I had problems with the youtube video because it was over 10 minutes and youtube doesn't allow videos over 10 minutes.   I tried to split the video in to 2 parts, but you are right the second video got cut off near the end.   I didn't really say anything important after the cutoff point however, so I left it as is. 

Maybe the log could be echoed to prompt?

That's a good idea. 

Another thing: is there a way to run the .cgf file in GUI (tc_remaster)?

At this point, you can't load an existing cfg file in to the GUI.   But you can modify the cfg file manually and run the "remaster.sh" to rebuild your custom ISO.    For example, you can go through the wizard 1 time and configure everything exactly how you want it.    If you save this cfg file, when a new version of Tiny Core is released, you can simply edit the cfg file and update it with the path to the new version Tiny Core ISO, and then run "tc_remaster /path/to/tc_remaster.cfg rebuild"  and your custom ISO will be rebuilt with the newer version of Tiny Core. 


Title: Re: tc_remaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: kalleanka on August 14, 2010, 12:25:20 AM
thanks ixbrian.
Title: Re: tc_remaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: TheRiddler on August 14, 2010, 07:28:25 AM
YAY thanks brian... my noggin was a hurtin'... but you came with the virtual pain reliever. Your script is MAGNIFIQUE!
Title: Re: tc_remaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: Pats on August 16, 2010, 03:47:32 AM
Although I have not tried this script, but the discusion shows, the OP has done a great job ! My congrats !!
1)I use TCv2.5, and am quite confortable using it for development work. But since the tce dire. location ( and maybe some other technicals ) is different in v2.5 and v3.0, could this script be used to remaster TCv2.5 with my desired extentions and boot-codes  pre-installed ?
2) If not, then can the OP make this script backward compatible (v2.5) ?
3) If not, is there another fully-tested remaster script for TCv2.5?
Kindly clarify !
Thnks !

~Pats
Title: Re: tc_remaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: ixbrian on August 16, 2010, 05:08:04 AM
Although I have not tried this script, but the discusion shows, the OP has done a great job ! My congrats !!
1)I use TCv2.5, and am quite confortable using it for development work. But since the tce dire. location ( and maybe some other technicals ) is different in v2.5 and v3.0, could this script be used to remaster TCv2.5 with my desired extentions and boot-codes  pre-installed ?
2) If not, then can the OP make this script backward compatible (v2.5) ?
3) If not, is there another fully-tested remaster script for TCv2.5?
Kindly clarify !
Thnks !

~Pats


tc_remaster is currently only compatible with Tiny Core or Micro Core 3.x versions.   

Brian
Title: Re: tc_remaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: ixbrian on August 21, 2010, 12:22:27 PM
Update...  Version 1.4 is now attached to the first message in this thread with these changes:

     -On remaster step #1 page, I added a button you can click on to launch a terminal that will display a tail of the log file.
     -On remaster step #2 page, I added links to the "image" and "extract" directories.   If you click these directories a terminal window will open up in the directory. 
      -I made some cosmetic and verbiage changes throughout the program that will hopefully make it easier to use.
Title: Re: tc_remaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: ixbrian on August 22, 2010, 02:23:30 PM
Update.. Version 1.5 is now attached to the first message in this thread with the following changes:

     -There is now a check box to easily enable the Dropbear SSH server in your remaster (wizard page 4).   This will take care of installing Dropbear and enabling it to auto start at each boot.   What is cool is that tc_remaster will also take care of generating you unique SSH host keys during the remaster and these unique SSH host keys will be included in the remaster.   That way, your SSH host keys don't get regenerated each time you reboot your remaster. 

     -Fixed bug when launching terminal to display the log file during remaster. 
Title: Re: tc_remaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: ixbrian on August 28, 2010, 08:01:15 PM
A new version is attached to the original message in this thread with the following updates: 

     -Supports setting up several services:  Dropbear SSH server, Busybox HTTPD web server, Busybox DHCP server, and Busybox TFTP server.   For each of these services, there is a page that you can do configuration of the service.   For example, for Busybox HTTPD web server you can configure the root web directory, specify which user the daemon should run under, specify a password for the website, specify an access control list, etc. 

      -Supports easily making your remaster a PXE server to netboot Tiny Core or Micro Core.  Parts of this are based on tc-terminal-server by Curaga. 

       -Supports setting a static IP address for your network card in your remaster. 
Title: Re: ezremaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: ixbrian on September 10, 2010, 07:51:21 PM
A new version is attached is the first post in this thread with the following changes:

      -Program was renamed from tc_remaster to ezremaster.
      -Supports optionally setting the copy2fs.flg when remastering with extensions that are outside the initrd.  There is a checkbox to enable/disable this. 
      -Supports the new 3.1 bootcodes multivt and safebackup
Title: Re: ezremaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: Miller on September 21, 2010, 05:29:14 PM
Hi Brian

Firstly, tremendous work with ezremaster!

I've used ezremaster to add extra extensions ("Extract TCZ to initrd" / "Add TCZ startup scripts to bootlocal.sh" options) to the original Tiny Core iso. I didn't include any bootcodes or scripts in the remaster, just extensions.

I then treat this remaster as an updated iso and install TC to a SATA / Compact Flash combo. (diy SSD!)

Am I still able to add further extensions to the installed TC by nominating a tce directory and proceeding as per a normal installation?

Best, Miller.
Title: Re: ezremaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: ixbrian on September 21, 2010, 06:52:06 PM
I then treat this remaster as an updated iso and install TC to a SATA / Compact Flash combo. (diy SSD!)

Am I still able to add further extensions to the installed TC by nominating a tce directory and proceeding as per a normal installation?

Best, Miller.

Yes, this should work just like a normal installation.

Brian
Title: Re: ezremaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: tclfan on October 27, 2010, 11:27:11 AM
I apologize I am bringing back to life an old thread rather than opening a new one... My question just fits here best...

Brian,

First, congrats on a great job in creating a nice re-master prog.
Quick question: As I understand this is not a Live re-master, meaning re-mastering of the live TC environment, such as in Zenwalk and Salix? In other words, any customizations of settings and preferences will not be preserved?
E.g. will not carry any browser preferences or cookies...
Title: Re: ezremaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: ixbrian on October 27, 2010, 04:27:28 PM
Quick question: As I understand this is not a Live re-master, meaning re-mastering of the live TC environment, such as in Zenwalk and Salix? In other words, any customizations of settings and preferences will not be preserved?
E.g. will not carry any browser preferences or cookies...

If you use Tiny Core's backup/restore functionality, the ezremaster wizard provides the ability to include your backup in your remaster (by either including the single backup tar file, or by extracting your backup file directly into the remastered initrd).    If you do this, then all of your settings that are in your backup (such as browser preferences/cookies, etc.) will be included in the remaster.   

Also, on the last page of the wizard, it provides you the ability to copy over or modify any other files that you would like included in the remaster. 

Brian
Title: Re: ezremaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: tclfan on October 28, 2010, 06:57:12 AM
Brian,

Thanks much for your explanation. I did attempt some testing last night, but for the lack of time I did not have a chance to organize notes of all steps around it. However one issue was constantly preventing me from testing. I did put together a sample destop, such as Xorg, windows manager, using each time different (Openbox, Hackedbox, fluxbox, LXDE, JWM). configured Firefox and installed ezmaster extension. Ezmaster extension was available on the WM menu (Usually) but clicking on it did nothing. No effect and actually the entire desktop was freezing on me so I had to do a hard poweroff. Did you run into this issue? This could be not even an ezmaster issue, but some compatibility with WMs...
I apologize if this was covered in some other thread I overlooked...
Title: Re: ezremaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: ixbrian on October 28, 2010, 07:49:19 PM
Brian,

Thanks much for your explanation. I did attempt some testing last night, but for the lack of time I did not have a chance to organize notes of all steps around it. However one issue was constantly preventing me from testing. I did put together a sample destop, such as Xorg, windows manager, using each time different (Openbox, Hackedbox, fluxbox, LXDE, JWM). configured Firefox and installed ezmaster extension. Ezmaster extension was available on the WM menu (Usually) but clicking on it did nothing. No effect and actually the entire desktop was freezing on me so I had to do a hard poweroff. Did you run into this issue? This could be not even an ezmaster issue, but some compatibility with WMs...
I apologize if this was covered in some other thread I overlooked...


Try installing the ezremaster extension "onboot" instead of ondemand.   Open a terminal and type "ezremaster". 

Brian
Title: Re: ezremaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: tclfan on October 29, 2010, 07:24:26 AM
Brian,

Thanks. I will test as soon as I can.
Title: Re: ezremaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: tclfan on November 05, 2010, 10:18:24 AM
Hi Brian,

I hope you keep ezremaster updated, working with TCL 3.3...
Just to let you know, this work is greatly appreciated. I consider remastering tool one of the most important, official or not...
Title: Re: ezremaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: TerryJC on December 15, 2010, 11:56:04 PM
Brian,

As you may have realised from some of my naive questions elsewhere regarding ezremaster, I'm new to this kind of thing, although I've been a Linux user for around 10 years.  I program for a living, but in the test industry, so learning this stuff has been an interesting voyage for me.

Having said all that and to put my comments into context, I'd like to say thanks for your work on ezremaster.  I found it invaluable when I built my first working live disc.

So as an amateur in this area, can I make some suggestions for enhancement?  Based on the things that gave me difficulties, I think ezremaster could be improved in a couple of key areas:

Anyway, there are my suggestions for what they are worth.  Whatever you do, I will continue to use ezremaster and thank you again for your work.
Title: ezremaster doesn't take care of kmap=xxx/xx
Post by: jls on January 10, 2011, 05:38:43 AM
 :'(
Title: ezremaster DOSNT WORK!
Post by: andreas122 on January 16, 2011, 02:26:48 PM
I Try to use ezremaster from appbrowser on tinycore 3.4.1 live cd on virtual box.
i try to remaster microcore.iso but when i finish the configuration of remaster and when i am going to create the files the program close automaticaly, and i cant create iso file. why is doing this?  :'(

(olso when i try to reopen ezremaster , the ezremaster dont start and olso  the windows manager close!).
Title: Re: ezremaster DOSNT WORK!
Post by: ixbrian on February 19, 2011, 05:44:04 AM
I Try to use ezremaster from appbrowser on tinycore 3.4.1 live cd on virtual box.
i try to remaster microcore.iso but when i finish the configuration of remaster and when i am going to create the files the program close automaticaly, and i cant create iso file. why is doing this?  :'(

(olso when i try to reopen ezremaster , the ezremaster dont start and olso  the windows manager close!).

I can't reproduce this problem.  Can you please provide more information on what steps can be followed from a base Tinycore system to reproduce this issue? 

Brian
Title: Re: ezremaster doesn't take care of kmap=xxx/xx
Post by: ixbrian on February 19, 2011, 05:48:44 AM
:'(

Regarding kmap=xxx/xx.   This will be fixed in the next version of ezremaster.  In the mean time, you can easily work around it by setting the keyboard layout in ezremaster to be something like this which will escape the slash:

xxx\/xx

Here is another example:

dvorak\/dvorak

(That is a backslash followed by a forward slash)

Brian
Title: Re: ezremaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: elliott on March 21, 2011, 04:18:05 AM
I tried my first remaster today for my EeePC 2G Surf, I wanted to add some basic things like wireless, fluxbox and 915resolution into the tinycore.gz file so they don't have to be loaded as extensions.

First attempt didn't go well, I started in /tmp/ and that just ate all 512mb of my RAM for some reason and crashed the netbook, I really couldn't work out why. Doesn't make any sense that an 8mb base initrd plus about 30mb of extracted extensions needs that much space.

For the second attempt I tried using a 1.5gb partition as my workspace, everything seemed to be going well, but the gzip process was taking a very, very long time. So I checked on the files, tinycore.gz was over 100mb and climbing, which can't be right. I let it keep going and the final size is nearly 300mb. It never created the ISO though, I got an error that makes no sense at all. I've attached my log and cfg file, maybe someone here has a clue what is going on.

Right now I am using a pretty plain Tinycore 3.5.1 system, no real modifications. I added the wireless, 915resolution, iron and ezremaster extensions.

ezremaster.log
http://pastebin.com/raw.php?i=z23D9zRp

ezremaster.cfg
http://pastebin.com/raw.php?i=XyV145G2
Title: Re: ezremaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: ixbrian on March 23, 2011, 08:19:04 PM
I tried my first remaster today for my EeePC 2G Surf, I wanted to add some basic things like wireless, fluxbox and 915resolution into the tinycore.gz file so they don't have to be loaded as extensions.

First attempt didn't go well, I started in /tmp/ and that just ate all 512mb of my RAM for some reason and crashed the netbook, I really couldn't work out why. Doesn't make any sense that an 8mb base initrd plus about 30mb of extracted extensions needs that much space.

For the second attempt I tried using a 1.5gb partition as my workspace, everything seemed to be going well, but the gzip process was taking a very, very long time. So I checked on the files, tinycore.gz was over 100mb and climbing, which can't be right. I let it keep going and the final size is nearly 300mb. It never created the ISO though, I got an error that makes no sense at all. I've attached my log and cfg file, maybe someone here has a clue what is going on.

Right now I am using a pretty plain Tinycore 3.5.1 system, no real modifications. I added the wireless, 915resolution, iron and ezremaster extensions.

ezremaster.log
http://pastebin.com/raw.php?i=z23D9zRp

ezremaster.cfg
http://pastebin.com/raw.php?i=XyV145G2

How much memory does your system have?  It looks like advdef might be running out of memory.  Try running ezremaster on a system with more memory.   If that is not an option, then use the "Add app outside initrd on boot" option to add your extensions which will make a smaller initrd so advdef will not require as much memory to run. 

Brian
Title: Re: ezremaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: elliott on March 23, 2011, 11:30:43 PM
I've got 512mb and had 300mb free at the time of the first attempt. The second attempt the files were all on a HD partition, so RAM was not an issue. I watched it closely and never came close to running out.

I've given up on ezremaster and have been doing it manually, which is taking a lot of trial and error, but is working. My extracted base initrd with the extensions extracted into the file system is under 15mb before compression with gzip and advdef. Which tells me there is something seriously broken in ezremaster because it was somehow coming up with a 300mb tinycore.gz after the gzip process.

The whole point of me remastering it is for speed of booting, I don't want to have to wait for it to extract my wireless stuff, window manager and a few other basic essentials every time it boots. So anything but extracting them into the filesystem is not an option.

Right now I have a 13mb initrd which includes the microcore with Xvesa, fluxbox, wireless_tools, wpa-supplicant, wireless modules, OSS, 915resolution and acpi. A similar set of packages caused ezremaster to leave me with a 250mb initrd.
Title: Re: ezremaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: ixbrian on August 18, 2011, 01:36:36 PM
A new version of ezremaster has been posted to the repository.   The new version has several bugs fixed and has been greatly simplified since the last version. 

Brian
Title: Re: ezremaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: littlebat on October 19, 2011, 02:26:03 AM
Good work.

I found a question:
If I select "Extract TCZ to in to initrd”, ezremaster will not update "/lib/modules/*/modules.dep", for example, alsa-modules-*.tcz

So I add "sudo depmod -a -b $temp_dir/extract `uname -r` >/dev/null 2>&1; sudo ldconfig -r $temp_dir/extract >/dev/null 2>&1" at the head of "package()" function in file "/usr/local/bin/remaster.sh" to update "modules.dep" and "ld.so.cache".
Title: Re: ezremaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: cast-fish on October 19, 2011, 08:43:47 PM
Hello

i believe this "remastering" icon in tcl 4.0.1 is a great feature of tinycore.

I am sure new users of TCL will quikly realize what this button can do for them.

It makes a custom version of Tinycore with the desires of that user. Applications
and such can be added. The result can be burned to disc giving the user a custom
CD disc of tinycore for that particular laptop. It's real handy and hasstle free to be
able to make these custom CD discs.

People are familiar with CD discs and will enjoy this feature if they have a burner
drive. I supposse they can also put the custom ISO file on pen drive also.

What i would like to see in tinycore is a way that an internet connected computer
can just download the LATEST RELEASE .iso and then double click it to get tinycore
booted and running on that machine without any other user intervention.

This idea is already possible with Debian and other distros....the user just downloads
a win32 exe file and executes it.

It' can basically be done using UNETBOOTIN tool and other approaches like loopback.cfg
together with the tinycore .iso file. But all of this needs to be wrapped up into a wizard
and made available as a win32.exe or some other wizard if the user is sitting at a linux
computer.

I feel this is something that is long over due for tinycore. With Tinycore bieng such a small distro
it lends itself perfectly to people who are just wandering around the net and want to
quikly try a small distro they stumbled upon. Currently, they can't do this.

I use a special tool in win32 for this kind of thing ........but it's a virtual machine........it's not
a proper tcl install or looping of any tcl .iso file on the hardware of the user.

V.

Title: Re: ezremaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: ixbrian on October 19, 2011, 09:39:52 PM
Good work.

I found a question:
If I select "Extract TCZ to in to initrd”, ezremaster will not update "/lib/modules/*/modules.dep", for example, alsa-modules-*.tcz

So I add "sudo depmod -a -b $temp_dir/extract `uname -r` >/dev/null 2>&1; sudo ldconfig -r $temp_dir/extract >/dev/null 2>&1" at the head of "package()" function in file "/usr/local/bin/remaster.sh" to update "modules.dep" and "ld.so.cache".

Thanks for the info.   I'll look at adding this in the next version of ezremaster. 
Title: an enhancement may be an option when remastering
Post by: littlebat on December 03, 2011, 07:54:45 PM
After I “Extract TCZ to in to initrd” and get a remastered iso file, I found if I "tce-load -wi apackage" when running this remastered iso, it will download and install some packages I have extracted them into initrd already. So, I found a way to prevent this reduntant packages to be downloaded and installed as below. I think this can be an enhancement and may be an option when remastering.

1, Adding all the package flag file  into "$temp_dir/extract/usr/local/tce.installed", if a tcz package missing tce.installed script then "touch packagename"(e.g., touch leafpad) for it. It can also delete every things in this folder if all the tce.installed script in tcz packages has been handled before "touch packagename" for every tcz packages extracted into initrd. This can be prevent the package to be installed again when it has been extracted into initrd.

2, "touch packagename.tcz" in "$temp_dir/extract/tmp/tce/optional" for every package to be extracted into initrd to prevent this package to be downloaded again.

3, Copy every needed *.dep file for the package has been extracted into initrd to prevent download dep file again.
Title: Re: an enhancement may be an option when remastering
Post by: ixbrian on December 04, 2011, 01:29:32 PM
After I “Extract TCZ to in to initrd” and get a remastered iso file, I found if I "tce-load -wi apackage" when running this remastered iso, it will download and install some packages I have extracted them into initrd already. So, I found a way to prevent this reduntant packages to be downloaded and installed as below. I think this can be an enhancement and may be an option when remastering.

1, Adding all the package flag file  into "$temp_dir/extract/usr/local/tce.installed", if a tcz package missing tce.installed script then "touch packagename"(e.g., touch leafpad) for it. It can also delete every things in this folder if all the tce.installed script in tcz packages has been handled before "touch packagename" for every tcz packages extracted into initrd. This can be prevent the package to be installed again when it has been extracted into initrd.

2, "touch packagename.tcz" in "$temp_dir/extract/tmp/tce/optional" for every package to be extracted into initrd to prevent this package to be downloaded again.

3, Copy every needed *.dep file for the package has been extracted into initrd to prevent download dep file again.

I think the "Add extension inside initrd" would be the best option for what you are trying to do rather than trying to use the "Extract TCZ to initrd".   

In my mind extracting extensions to the initrd works really well for making a single purpose appliance that you won't be adding additional packages to.   Another really good case to use it is if you want extensions to be part of the "base" of your remaster so that when you boot with the "base" boot code they are still available.   For example, I always extract "kmaps.tcz" to the initrd so that it is available even when booting "base". 

But for normal day to day use where you are going to add a bunch of extensions down the road I would recommend one of the other 2 options other than "extract to initrd".   Extracting to initrd completely bypasses all of the Tiny Core package management features/benefits.   

If your suggestion was implemented it would likely cause issues when trying to use tools like AppsAudit.   It sounds like for what you are trying to do your best option would be to use "Add extensions inside initrd".

Thanks,
Brian
Title: Re: ezremaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: coreplayer2 on December 04, 2011, 02:50:14 PM
Quote
In my mind extracting extensions to the initrd works really well for making a single purpose appliance that you won't be adding additional packages to.   Another really good case to use it is if you want extensions to be part of the "base" of your remaster so that when you boot with the "base" boot code they are still available.   For example, I always extract "kmaps.tcz" to the initrd so that it is available even when booting "base".

But for normal day to day use where you are going to add a bunch of extensions down the road I would recommend one of the other 2 options other than "extract to initrd".   Extracting to initrd completely bypasses all of the Tiny Core package management features/benefits.

EXACTLY!!   I had the same problem actually, then realizing the issue was I didn't RTM,  was simply attempting to build a  system/iso with updatability by using a method designed for a one off build.    There are options,  "extract to initrd" is not one of them is all. 
Isn't this the reason there is an "cde" option??  to keep extensions outside of initrd..?

Great app btw,  thanks ixbrian for your time and great effort to produce this great tool.  We appreciate it
Title: Re: ezremaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: gavs on December 07, 2011, 09:43:06 AM
This tool looks like just what I need to create a music appliance. I have just started to explore it.

I noticed that version 2.0.3 was posted Dec 6. I am using a CD (/mnt/sr0) for the ISO source with Tinycore 4.1 . Version 2.0.2 got the necessary ISO files fine but version 2.0.3 gives an error that /mnt/sr0/boot/core.gz is not found. The ISO contains the file /mnt/sr0/boot/tinycore.gz.

Has the naming convention for the core changed? Should I download a new ISO (I have not tried changing the name on the ISO CD, not sure I can change it)?

gavs
Title: Re: ezremaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: curaga on December 07, 2011, 10:17:09 AM
Please use 2.0.2 for 4.1, looks like ezremaster for 4.2 is out early ;)
Title: Re: ezremaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: ixbrian on December 07, 2011, 10:28:25 AM
Yes, ezremaster 2.0.3 is for use with Tiny Core 4.2rc1 and later which hasn't been released yet.   Please use ezremaster 2.0.2 for the time being which is the version included in MultiCore 4.1. 
Title: Re: ezremaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: gavs on December 07, 2011, 11:42:24 AM
Thank you for this information.

I see where I can download archive versions of tinycore, but I do not see how to get archive versions of extensions. Is this possible? If possible, can I use AppsBrowser or do I need to use the command tce-load?

gavs
Title: Re: ezremaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: Rich on December 07, 2011, 11:48:51 AM
Hi gavs
AppBrowser will download from the correct repository based on which version of Tinycore you
are running.
Title: Re: ezremaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: gavs on December 07, 2011, 03:11:44 PM
Thanks Rich
Odd that this feature to pick the right repository does not work for me. When I enter version in Aterm, the system returns 'tinycore_4.1' but when I download+load ezremaster with AppsBrowser I seem to be getting version 2.0.3. The opening ezremaster GUI says for use with Tiny Core version 4.2 or later, and the script remaster.sh is looking for core.gz not tinycore.gz .

gavs
Title: Re: ezremaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: ixbrian on December 07, 2011, 04:18:45 PM
I apologise for the confusion.   I have created a new extension with the previous version of ezremaster named ezremaster-legacy.tcz.     

For Tiny Core 4.0 or 4.1, use ezremaster-legacy.tcz
For Tiny Core 4.2rc1 (when released) and later use ezremaster.tcz

Thanks,
Brian
Title: Re: ezremaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: gavs on December 07, 2011, 04:56:06 PM
Brian
Thank you for your efforts. The legacy version is working for me.

gavs
Title: Re: ezremaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: gavs on December 10, 2011, 10:47:11 AM
I am using Tinycore 4.1 with ezremaster-legacy.tcz and my first step is to create a remaster with alsa functioning on boot (I will later add mpd and gmpc to complete my music appliance). The target system has enough ram so I am extracting in to initrd (I assume this is the best option for a functioning music appliance with the fastest power-up). I have tried both options for the startup scripts (run in chroot or add to bootlocal). Ezremaster creates the iso successfully, but alsa is not functioning on boot (I notice that /proc/asound has not been created).

An earlier posting by littlebat suggested that 2 lines should be added at the head of the function package() in order to update modules.dep and ld.so.cache (I notice that these lines have been added to ezremaster 2.0.3). Is this the reason why an alsa remaster does not boot with alsa functioning? If so, can I easily modify /usr/local/bin/remaster.sh to include these lines (initial attempts with editor result in the error message that the filesystem is read only, even when I use run sudo editor)?

gavs
Title: Re: ezremaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: Rich on December 10, 2011, 11:09:54 AM
Hi gavs
Besides including the ALSA extension, did you provide a means to either run a setup script OR to
restore working ALSA configuration settings?
Title: Re: ezremaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: ixbrian on December 10, 2011, 11:27:58 AM
I am using Tinycore 4.1 with ezremaster-legacy.tcz and my first step is to create a remaster with alsa functioning on boot (I will later add mpd and gmpc to complete my music appliance). The target system has enough ram so I am extracting in to initrd (I assume this is the best option for a functioning music appliance with the fastest power-up). I have tried both options for the startup scripts (run in chroot or add to bootlocal). Ezremaster creates the iso successfully, but alsa is not functioning on boot (I notice that /proc/asound has not been created).

An earlier posting by littlebat suggested that 2 lines should be added at the head of the function package() in order to update modules.dep and ld.so.cache (I notice that these lines have been added to ezremaster 2.0.3). Is this the reason why an alsa remaster does not boot with alsa functioning? If so, can I easily modify /usr/local/bin/remaster.sh to include these lines (initial attempts with editor result in the error message that the filesystem is read only, even when I use run sudo editor)?

gavs

Hi gavs,
It is showing read only when you try to edit remaster.sh because it is a symlink to a readonly squashfs extension.   Try this:

Code: [Select]
sudo cp /tmp/tcloop/ezremaster-legacy/usr/local/bin/remaster.sh /usr/local/bin
sudo vi /usr/local/bin/remaster.sh

Note that any changes you make to remaster.sh like this will be lost when you reboot the system.   

Ezremaster 2.0.3 includes the 2 line fix suggested by littlebat, so rather than editing remaster.sh you could use 2.0.3 along with Tiny Core 4.2rc1.   
Title: Re: ezremaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: gavs on December 10, 2011, 12:03:53 PM
Rich, thank you for the suggestion. However, when I download and load ALSA, it appears that the startup scripts handle all the setup I need (the directory /proc/asound is created and executing speaker-test produces results). I find that I do not need to execute 'alsaconf' or 'alsasound start'. Perhaps that is because I am using a usb sound card. Am I missing something?

Brian, I have downloaded TinyCore 4.2rc1 and will try the remaster with 2.0.3. Thanks for the hint that 4.2rc1 was available.

gavs
Title: Re: ezremaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: gavs on December 10, 2011, 05:14:43 PM
I have not been successful creating a remaster with a functioning alsa on boot. Using the option to add start scripts to bootlocal does create a bootlocal.sh with the startup scripts appended. Using the option to run start scripts in chroot option reports the error that file /etc/sysconfig/tcuser is not found. Both report that the iso was successfully created. I did not create iso CDs. Rather I copied the remastered core.gz into the boot directory of my hard drive (other files in the boot directory are comparable).

For both start option remasters, when the remaster boots the directory /proc/asound is not created and the system stats do not show any snd_ modules, unlike when alsa is downloaded and loaded from AppsBrowser. I also noted that system stats only shows alsa, alsa-config and pci-utils as installed. These 3 are the only ones with startup scripts. The other dependencies appear to be in the /usr/local directories but there are no corresponding files in tce.installed. When alsa is loaded with AppsBrowser, system stats show all the dependencies and there are empty files in tce.installed for those other than the 3 with startup scripts. Don't know if this matters.

Has anybody created a remaster with alsa that starts the sound modules on boot?
Title: Re: ezremaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: ixbrian on December 10, 2011, 06:08:15 PM
Hi gavs,
Please try using the "Add App inside initrd onboot" instead of "Add app extract TCZ to initrd".   Extracting will work with the majority of extensions, but it sounds like not with alsa.   Adding inside the initrd is very similar to extracting and you will still have everything contained within the core.gz file.   Please try this out and let us know if it works better for you.   
Title: Re: ezremaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: gavs on December 10, 2011, 07:25:20 PM
Thanks for this suggestion Brian. Using "Add App inside initrd onboot" does result in a functioning alsa setup on boot (/proc/asound is created and I can execute speaker-test right after bootup and get sound). It appears to take longer to boot than extracting though.
Title: Re: ezremaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: Da Alchemist on January 18, 2012, 02:59:48 AM
Hello,

I am usin gTinycore4.2.1an the latest ezremaster, when i use "Add app extract TCZ to initrd", i get the error message "can´t open /usr/bin/sudo"
when i try to boot the cd  (it makes no difference wich radio button is activ)

When i use "Add app extract TCZ to initrd" i get a working Cd but after installing to pendrive, my tce's could not be updatet and booting takes about 2 minutes (system hangs on syslinux 4.xx...... line)

Regards

Da Alc
Title: Re: ezremaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: ixbrian on January 18, 2012, 08:05:45 PM
Hello,

I am usin gTinycore4.2.1an the latest ezremaster, when i use "Add app extract TCZ to initrd", i get the error message "can´t open /usr/bin/sudo"
when i try to boot the cd  (it makes no difference wich radio button is activ)

When i use "Add app extract TCZ to initrd" i get a working Cd but after installing to pendrive, my tce's could not be updatet and booting takes about 2 minutes (system hangs on syslinux 4.xx...... line)

Regards

Da Alc

I'm not sure I understand, in both cases you said you use "Add app extract TCZ to initrd"?   

If you use "extract TCZ to initrd" you will not be able to update the extensions (as they are no longer extensions at that point).   

I just did a test with Tiny Core 4.2.1 using current ezremaster, and created 3 remasters (extract to initrd, inside initrd, outside initrd) all with several extensions and all were successfully created and successfully booted up.
Title: Re: ezremaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: Da Alchemist on January 19, 2012, 04:27:45 AM
Sorry i have to apologize,

first i was a bit confused yesterday, i didnt´t read my Posting before sending it.

My mistake: Before I updated my pendrive fom 4.1 to 4.2.1 i made a backup of my tce Folder. I didnt´t realise that TC is checking every partition on my HD and booting the extension, even when the partition is not  mounted afterwards.

Now I deleted my Backup on HD and  remastered TC with "outside initrd apps onboot" and everything is working fine again.

Thanks a lot for checking!

Regards

Da Alc
Title: Re: ezremaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: coreplayer2 on March 01, 2012, 08:20:22 PM
I've been using the ezremaster-legacy for some time now, creating flawless remasters almost weekly.  But I see the writing on the wall that eventually we'll be needing to upgrade soon, so I've been attempting to make a remaster of some newly updated tinycore-4.3 installs, unfortunately I've only succeeded in making a dozen coaster..

Trying to figure out what am doing wrong here..  :-\

Maybe I should use only a mounted copy of core.iso and not tinycore.iso?  Since tinycore iso mounts a cde directory full of extensions which are additionally loaded by extract TCZ to initrd, though I've tried deleting the cde directory prior to iso creation without success. 

While I still have a box of blank cd's remaining I'll continue trying various options, I guess..
Title: Re: ezremaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: Rich on March 01, 2012, 08:35:37 PM
Hi coreplayer2
You do know you can mount ISOs directly without burning them to disc.
Title: Re: ezremaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: ixbrian on March 01, 2012, 10:15:33 PM
I've been using the ezremaster-legacy for some time now, creating flawless remasters almost weekly.  But I see the writing on the wall that eventually we'll be needing to upgrade soon, so I've been attempting to make a remaster of some newly updated tinycore-4.3 installs, unfortunately I've only succeeded in making a dozen coaster..

Trying to figure out what am doing wrong here..  :-\

Maybe I should use only a mounted copy of core.iso and not tinycore.iso?  Since tinycore iso mounts a cde directory full of extensions which are additionally loaded by extract TCZ to initrd, though I've tried deleting the cde directory prior to iso creation without success. 

While I still have a box of blank cd's remaining I'll continue trying various options, I guess..

I'd be happy to help figure out what is going on.   Can you please provide some additional information such as what you are trying to accomplish, steps to reproduce what you are doing, and what the problem is when you try to boot up the remaster?   Also, it would be helpful if you posted your /tmp/ezremaster/ezremaster.cfg and /tmp/ezremaster/ezremaster.log files that are created when you create the remaster. 
Title: Re: ezremaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: coreplayer2 on March 01, 2012, 11:10:01 PM
Rich  yes thanks and i do that too, I also mount them in Vbox and create bootable USB's from the iso..    Today though I'm loosing count of the number of iso's I've made.


Brian,  phew I think I'm getting there thanks..  mounting core.iso in place of tinycore.iso was a major breakthrough in many regards in fixing the multitude of error messages and now there is only one at boot re X failing to load.   As always the fault is mine, having to make a hundred mistakes attempting something new until finally it clicks..         Dealing with the X issue, I remembered the frame buffer needed vga=791 boot code which for the whole day I'd forgotten to add  lol   

First problem was using Tinycore.iso for the remaster image, i think it provides other versions of xprogs, xlibs, wbar, fltk1.10 etc etc. than the versions of these extensions also loaded into the remaster via  "Inside initrd apps on boot"  (this option is my preferred choice).  Which get priority?

next up I think the frambuffer boot code was missing..  am checking it now

lastly the temp/tce/xwbar.lst has been lost during the upgrade to 4.3 as a result  after creating a remaster, all the icons which had previously been excluded from the wbar are back  :(   lol   As i found earlier, the xwbar list is created in  /mnt/sda1/tce  which doesn't exist in an iso,  a remedy which i found earlier was simply copying it to /tmp/tce and adding it to the filetool list.    I think this is how I accomplished the task, but I'm forced to review it again with this upgrade to 4.3  (now 4.3.1)

I usually create 5-10 iso's resolving each issue.  Am currently way over budget on iso's creation and so far have not yet resolved the second issue fully..  :)  but maybe I'm close
Title: Re: ezremaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: coreplayer2 on March 02, 2012, 01:10:46 AM
Ok have completed the upgrade to 4.3.1 and have successfully created a remastered image with Ezremaster, thanks Brian.   
Title: Re: ezremaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: ixbrian on April 24, 2012, 05:25:54 PM
An updated version of ezremaster is now available in the repository and also as part of CorePlus 4.5.    The major change in the new version is the ability to now create remasters with SCM extensions (requires Core 4.5 or later).    There are also some misc. fixes and improvements.   
Title: Re: ezremaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: willard on August 03, 2012, 10:47:07 PM
Hello friends.
I would like to try a remaster the old way.  I follow this: wiki.tinycorelinux.net/wiki:remastering

but the decompress of core.gz is not complete.  For example, I find less files in the decompressed /usr/bin than I find in /usr/bin when I boot on live CD.

I post pictures to show what I am saying.

So, how can I do a remaster the old way, but be able to work with ALL files, to not have less files in decompressed directory?
Thank you in advance for advice :)
Title: Re: ezremaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: gerald_clark on August 03, 2012, 11:41:11 PM
You are comparing apples to oranges.
One has X installed.  The other does not.
Title: Re: ezremaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: curaga on August 04, 2012, 03:52:37 AM
See the cde dir on your livecd for where those X extensions come from.
Title: Re: ezremaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: willard on August 04, 2012, 07:01:07 PM
Thank you very much for helping me.  It looks like I must learn how to extract the tcz files in the cde directory as well.  I'm off to research this project, thanks again all!
Title: Re: ezremaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: Rich on August 04, 2012, 07:09:55 PM
Hi willard
You'll want to use the   unsquashfs   command for that.
Title: Re: ezremaster: Wizard that walks you step by step to remaster ISO of tinycore
Post by: xor on April 24, 2019, 11:05:21 PM
Quote from: ixbrian
ixbrian

http://forum.tinycorelinux.net/index.php/topic,22731.msg142265.html#msg142265