General TC > Programming & Scripting - Unofficial

ezremaster: Wizard that walks you step by step to remaster ISO of tinycore

<< < (13/20) > >>

ixbrian:

--- Quote from: elliott on March 21, 2011, 07: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

--- End quote ---

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

elliott:
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.

ixbrian:
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

littlebat:
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".

cast-fish:
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.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version