How To: Remaster LiveCD from LiveCD without pain :-)

How to do things, solutions, recipes, tutorials
Message
Author
User avatar
gliezl
Posts: 322
Joined: Sat 06 Aug 2005, 22:30
Location: Manila

#31 Post by gliezl »

ok. thanks for the info. I will be using your latest script. The script tells me to uncompress images.gz & usr_cram.fs. Will I just ignore this, right?
[color=blue][i]"If you have knowledge, let others light their candles in it."
~Margaret Fuller[/i][/color]

User avatar
Alienx
Posts: 141
Joined: Fri 06 May 2005, 22:02
Location: Rio de Janeiro - Brazil

#32 Post by Alienx »

gliezl wrote:The script tells me to uncompress images.gz & usr_cram.fs. Will I just ignore this, right?
I think your problem is the same as of mine, we dont speak english and sometimes dont understand something. As far as I know the sript dont tell it. Just press enter and it will be ok. Well, I hope ! :D
Sorry, broken english above :-)

User avatar
gliezl
Posts: 322
Joined: Sat 06 Aug 2005, 22:30
Location: Manila

#33 Post by gliezl »

after adding some applications especially the latest ROX dotpup, then I run your remaster script and this what happens;

see screenshot.

any possible solutions?
Attachments
remaster.jpg
(14.81 KiB) Downloaded 2216 times
[color=blue][i]"If you have knowledge, let others light their candles in it."
~Margaret Fuller[/i][/color]

User avatar
Alienx
Posts: 141
Joined: Fri 06 May 2005, 22:02
Location: Rio de Janeiro - Brazil

#34 Post by Alienx »

hmm... :roll:

what folder did you choose for remaster ?

by default the script opens folder /mnt and will create /mnt/remaster but you can easily choose another with the mouse

maybe you should mount a partition on hd with enough free space (about 300 mb) and choose it for remaster folder
Sorry, broken english above :-)

User avatar
gliezl
Posts: 322
Joined: Sat 06 Aug 2005, 22:30
Location: Manila

#35 Post by gliezl »

I have no choice but to delete my pup001 in my windows partition and back to zero again. Install service pack & ROX 2.2.0 + icons, add some themes for mozilla. Then, I will run your script again. I'll update you...

Thanks! :)


I am running on live cd.
Last edited by gliezl on Thu 20 Oct 2005, 08:54, edited 1 time in total.
[color=blue][i]"If you have knowledge, let others light their candles in it."
~Margaret Fuller[/i][/color]

User avatar
Alienx
Posts: 141
Joined: Fri 06 May 2005, 22:02
Location: Rio de Janeiro - Brazil

#36 Post by Alienx »

gliezl wrote:I have no choice but to deleted my pup001 in my windows partition and back to zero again. Install service pack & ROX 2.2.0 + icons, add some themes for mozilla. Then, I will run your script again. I'll update you...
please, don't do it !

the partition on hd must be a linux parttition (ext2 , ext3 or reiserfs)

if you have only one windows partition I will tell you another method in the next post... :roll:
Sorry, broken english above :-)

User avatar
gliezl
Posts: 322
Joined: Sat 06 Aug 2005, 22:30
Location: Manila

#37 Post by gliezl »

Hi Henrique! Sorry I just deleted my PUP001. :(
Well, I booted my Live CD again & lo & behold, back to where I started. Wow, what I waste if time. :) Well, it's not exaclty a waste but I did learned a lot.

Got to start from scratch again. Downloading dotpups...
[color=blue][i]"If you have knowledge, let others light their candles in it."
~Margaret Fuller[/i][/color]

User avatar
Alienx
Posts: 141
Joined: Fri 06 May 2005, 22:02
Location: Rio de Janeiro - Brazil

#38 Post by Alienx »

To all script users:

here is a new version of script that is very fast

the main difference is that now only the changes to /usr are compressed (to usr_more.sfs), original usr_cram.fs remains untouchable

the script also looks for usr_devx.sfs on / to include on cd, so if you want it on remaster put the file there

in fact, I have not tested the new script yet , I'm without blank cd-r(s)

so test it at your own risk if you are curious :wink:

To Gliezi only:

you said that you have 128 mb of ram and no linux partitio, maybe the windows partition has few space too

so I made a special version to you, it's the same of above, the only difference is that the remaster folder will be in /mnt/remaster (in ramdisk) but the puppy.iso will be created in /root (file pup001 in the windows partition)

I'm supposing that you have about 70mb free space on /root :roll:

if it not work tell me what happened and post the result of command df -m , ok ? good luck girl :wink:

ps. as I said above the script is different from the previous and I could not test it yet on real burning and booting
Attachments
remaster-livecd-gliezi.tar.gz
(2.53 KiB) Downloaded 479 times
remaster-livecd-fast.tar.gz
(2.53 KiB) Downloaded 764 times
Sorry, broken english above :-)

User avatar
gliezl
Posts: 322
Joined: Sat 06 Aug 2005, 22:30
Location: Manila

#39 Post by gliezl »

Thanks for the customized script! :D

It created an ISO in the /root folder about 115MB. But when I burned the ISO and boot it on a working PC (have not tasted puppy before), this is the result...

Loading vmlinuz ....................................................
Loading image.gz ...................................................................


After that no more. I've waited for 5-10 minutes, nothing. Burned the ISO to CD using BurnCCDC at 4x. I can even check the ISO file using Isoedit. Jujst fine. Could it be a bad burn? :(
[color=blue][i]"If you have knowledge, let others light their candles in it."
~Margaret Fuller[/i][/color]

User avatar
Alienx
Posts: 141
Joined: Fri 06 May 2005, 22:02
Location: Rio de Janeiro - Brazil

#40 Post by Alienx »

gliezl wrote:Thanks for the customized script!
and thanks to you for testing and helping to find bugs and improve it
gliezl wrote:Could it be a bad burn? :(
I suppose not but we have to find what went wrong

mount the cd-r you have burned

what you see ?

it must have the following files:

goofy.16
boot.cat
boot.msg
isolinux.bin
isolinux.cfg
usr_cram.fs
usr_more.fs
image.gz


now we will look if image.gz, usr_cram.fs and usr_more.sfs are not corrupted

we will mount each of them to test

create a folder "test" in /root : mkdir /root/test
look in what folder cdrom is mounted (/mnt/cdrom,/mnt/cdrom2,sr0 it may vary)

let's say that cd-rom is mounted on /mnt/cdrom2 (confirm it)

do this command:

mount -o loop /mnt/cdrom2/usr_cram.fs /root/test

take a look in folder /root/test, it has to be identical to folder /usr

now do:

umount /root/test

mount -o loop /mnt/cdrom2/usr_more.sfs /root/test

look inside /root/test and look for wine, it has to be there

now do:

cp /mnt/cdrom2/image.gz /root
gunzip /root/image.gz
mount -o loop /root/image /root/test
look in /root/test/root0/.mozilla, search by name your mozilla themes in subdirectories, they have to be there
umount /root/test

if all was ok we can say that files are not corrupted, the problem is other...

verify also the sizes of image.gz and usr_more.sf and tell me in your next post
Sorry, broken english above :-)

User avatar
gliezl
Posts: 322
Joined: Sat 06 Aug 2005, 22:30
Location: Manila

#41 Post by gliezl »

:shock: WOW! Enormous amount of information. Thank you Henrique. I just used your custom made script for me just once. Yet I'm not successful with that. I tried your script (the one without SCSI Emul) that one worked. First I borrowed an empty hard drive and format it to EXT2. Then told script to put remaster files on that hard drive. All went well :) . I will be uploading a screeshot soon. My problem is that I already exceeded maximum requirement or Forum won't allow anymore.

Again, thanks Henrique! :D


P.S. Will this remaster able to install to hard-disk?
[color=blue][i]"If you have knowledge, let others light their candles in it."
~Margaret Fuller[/i][/color]

User avatar
gliezl
Posts: 322
Joined: Sat 06 Aug 2005, 22:30
Location: Manila

#42 Post by gliezl »

On my first remaster, my error is that it stop at this message;
RAMDISK: Compressed image found at block 0
Then on my second remaster, my error message is;
No space left on device

I think the image.gz cannot fit to RAM.

This is the result df -m
Image

I added Mozilla themes, wine, VNC, & Rox 2.3 & Yahoo Messenger clone. I moved the /root/my-applications directory to /usr and created a symlink to /root and I used your remaster script (no SCSI emul)

Any advice? :)
[color=blue][i]"If you have knowledge, let others light their candles in it."
~Margaret Fuller[/i][/color]

User avatar
gliezl
Posts: 322
Joined: Sat 06 Aug 2005, 22:30
Location: Manila

Sorry Windows haters

#43 Post by gliezl »

This is how my Puppy remaster looks like...

Image
[color=blue][i]"If you have knowledge, let others light their candles in it."
~Margaret Fuller[/i][/color]

User avatar
Alienx
Posts: 141
Joined: Fri 06 May 2005, 22:02
Location: Rio de Janeiro - Brazil

#44 Post by Alienx »

hehe, I can see me in the screenshot !

am I beautiful ? :D
Sorry, broken english above :-)

User avatar
gliezl
Posts: 322
Joined: Sat 06 Aug 2005, 22:30
Location: Manila

#45 Post by gliezl »

Just curious. How will I know what to put in the ramdisk_size parameter in isolinux.cfg after the image.gz compressed? Especially if I will not use PUP001 wherein you cannot save your settings... :wink:

What will I do?
[color=blue][i]"If you have knowledge, let others light their candles in it."
~Margaret Fuller[/i][/color]

User avatar
Alienx
Posts: 141
Joined: Fri 06 May 2005, 22:02
Location: Rio de Janeiro - Brazil

#46 Post by Alienx »

gliezl wrote:Just curious. How will I know what to put in the ramdisk_size parameter in isolinux.cfg after the image.gz compressed?
the script did it automatically for you

but you want to know how to it manually after the image.gz compressed ?

it's easy , do gunzip image.gz

the size of file image in kilobytes is what you will put in ramdisk_size=
Sorry, broken english above :-)

User avatar
gliezl
Posts: 322
Joined: Sat 06 Aug 2005, 22:30
Location: Manila

#47 Post by gliezl »

wow that's great! :D
thank you. :D
[color=blue][i]"If you have knowledge, let others light their candles in it."
~Margaret Fuller[/i][/color]

User avatar
gliezl
Posts: 322
Joined: Sat 06 Aug 2005, 22:30
Location: Manila

#48 Post by gliezl »

Hi Henrique, why does my remaster display an error buring bootup something like this;

Cannot STAT /usr : No such file or directory

Image

Then followed by this;

Image

What's wrong with my remaster cd?
Last edited by gliezl on Fri 28 Oct 2005, 04:38, edited 2 times in total.
[color=blue][i]"If you have knowledge, let others light their candles in it."
~Margaret Fuller[/i][/color]

Guest

#49 Post by Guest »

Bootscreen timeout seems to be missing after remaster?

User avatar
Alienx
Posts: 141
Joined: Fri 06 May 2005, 22:02
Location: Rio de Janeiro - Brazil

#50 Post by Alienx »

Anonymous wrote:Bootscreen timeout seems to be missing after remaster?
yes, it was changed, there is no picture and text is other also

timeout is 600s but it can be easily changed

when paused, before creating final iso, you can edit file isolinux.cfg in the remaster folder

or before starting script edit it directly,it's easy :wink:
Sorry, broken english above :-)

Post Reply