SliTaz SliTaz Forum

You are not logged in.

#1 2012-06-11 07:09:10

mishonis
Member
Registered: 2012-05-12
Posts: 4

how to build a loram iso from a remastered iso?

I'm trying to build a modified slitaz 4 iso to use on old PCs.

I used tazlito writeiso to create the iso as per this tutorial:

http://forum.slitaz.org/topic/custom-livecd-with-slitaz4-virtualbox-tutorial

I added some new packages, and apparently they all get loaded into RAM once the

liveCD starts. Is there a way to change that behavior? I see there is a tazlito build-loram

command, which I tried using:

root@slitaz:~# tazlito build-loram /var/www/xyz.iso loram.iso cdrom

ls: /tmp/tazlito-1370-1674/iso/boot/vmlinuz-*: No such file or directory

Install package aufs ?y

Getting and installing package: aufs  OK

Install package aufs ?y

Getting and installing package: aufs  OK

As you can see, it gets into an endless loop. If I answer 'no' it exits doing nothing. Is the script broken or am I doing something wrong? Is there any documentation on loram isos and using the build-loram command? Thanks.

Offline

#2 2012-06-11 15:11:27

mishonis
Member
Registered: 2012-05-12
Posts: 4

Re: how to build a loram iso from a remastered iso?

I was able to work around the issue thusly:

1. get latest tazlito from http://hg.slitaz.org/tazlito/raw-file/c2e1789c956a/tazlito

2. edit tazlito, hardcode the $version variable:

replace

version=$(ls $TMP_DIR/iso/boot/vmlinuz-* | sed 's/.*vmlinuz-//')

with

version="2.6.37-slitaz"

3. get libtaz.sh from http://hg.slitaz.org/slitaz-base-files/raw-file/986f32a2ce6f/rootfs/lib/libtaz.sh ,place it in /lib

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.016 seconds, 7 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]