Tiny Core Linux

General TC => General TC Talk => Topic started by: helander on January 06, 2010, 07:38:31 AM

Title: Dynamic remastering
Post by: helander on January 06, 2010, 07:38:31 AM
With the current frequency of new TC/MC releases creating new remasters for each release becomes an issue for me. I have found a way to deal with this that makes it very simple to get a remastered version of a new release.

In principle this is what I do:


The nice thing is that  when a new TC/MC release is available I just have to replace the tinycore.gz/microcore.gz with the one from the new release and I do not have to do anything with my remaster additions that are contained in myown.gz

The method depends on the capabilities of the syslinux family bootloaders to load multiple initramfs:es. This capability is lacking in Grub but there is a remedy for users of Grub; it's just a matter of creating a Grub boot entry that will chainload your syslinux family bootloader.

In case others would be interested in this I would be happy to share the details of how to set it up. Maybe creating an article on the wiki ?

Kind Regards

Lars
Title: Re: Dynamic remastering
Post by: roberts on January 06, 2010, 07:59:36 AM
I encourage you to do so. Please share.
Title: Re: Dynamic remastering
Post by: helander on January 06, 2010, 08:22:32 AM
I encourage you to do so. Please share.

Wiki page created:

Direct link
http://wiki.tinycorelinux.com/tiki-index.php?page=Dynamic+root+filesystem+remastering


Or navigate via Wiki Start -> Remastering -> Dynamic root filesystem remastering

/Lars
Title: Re: Dynamic remastering
Post by: tclfan on January 06, 2010, 08:42:46 AM
In case others would be interested in this I would be happy to share the details of how to set it up. Maybe creating an article on the wiki ?
Lars
I am definitely interested. This would save lots of time and headache. Please share details.
Thank you.
Title: Re: Dynamic remastering
Post by: cjgau on January 06, 2010, 08:58:03 AM
Quote
OK, I will do so 

/Lars

Thanks, looking forward to learning your modulated approach.
Title: Re: Dynamic remastering
Post by: helander on January 06, 2010, 10:31:17 AM
Note that I updated my earlier post with a wiki link, but I supply it here too :)

http://wiki.tinycorelinux.com/tiki-index.php?page=Dynamic+root+filesystem+remastering

Have fun

Lars
Title: Re: Dynamic remastering
Post by: Jason W on January 06, 2010, 08:43:31 PM
I like this approach, and am using something very similar on my laptop that I have no hard drive acces to and I dislike messing with usb devices on a machine I simply use to post extensions with and surf the web.  Extra initrd files for /opt/tce extensions or extra files to pack into the remaster is very portable between releases and convenient when for whatever reason you don't have read/write available storabe space.
Title: Re: Dynamic remastering
Post by: helander on January 07, 2010, 03:14:10 AM
I like this approach, and am using something very similar on my laptop that I have no hard drive acces to and I dislike messing with usb devices on a machine I simply use to post extensions with and surf the web.  Extra initrd files for /opt/tce extensions or extra files to pack into the remaster is very portable between releases and convenient when for whatever reason you don't have read/write available storabe space.

Jason, could you provide some details on the method you are using?

/Lars
Title: Re: Dynamic remastering
Post by: Jason W on January 07, 2010, 04:38:48 AM
I have it scripted in the programming and scripting section.  It is similar to this but stays in iso format.
Title: Re: Dynamic remastering
Post by: helander on January 07, 2010, 04:56:17 AM
Thanks, it looks nice. Why not pack your tool into an extension so that it is easy to add to a system ?

/Lars
Title: Re: Dynamic remastering
Post by: Jason W on January 07, 2010, 05:48:48 AM
Custom scripts that do things like remaster need to stay in the programming and scripting section.  That keeps them easily accessible for modifications by the author among other things.
Title: Re: Dynamic remastering
Post by: cjgau on January 07, 2010, 09:10:23 AM
Hi Lars,

Your wiki is beautifully written; easy to follow. And, thank you for including the grub (optional).
Title: Re: Dynamic remastering
Post by: helander on January 07, 2010, 10:07:10 AM
Hi Lars,

Your wiki is beautifully written; easy to follow. And, thank you for including the grub (optional).

Your feedback is highly appreciated :). Thanks.

/Lars