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

How to do things, solutions, recipes, tutorials
Message
Author
User avatar
Alienx
Posts: 141
Joined: Fri 06 May 2005, 22:02
Location: Rio de Janeiro - Brazil

Re: password

#21 Post by Alienx »

WiZard wrote:When I choose 2 don't save data it scrools through all the boot and then ask for a password. Is something wrong here or do I need a password?
hi, I have no idea what's happening to you :cry:


The 3 scripts are attachments at the first part of this post, they all are similar but the third have a slightly different approach

All 3 are very very SIMPLE and easy to understand, I would like that someone give new ideas to improve them :wink:
Sorry, broken english above :-)

WiZard
Posts: 119
Joined: Sun 11 Sep 2005, 20:04
Location: Oklahoma USA

remastered cd

#22 Post by WiZard »

Thanks Guest, your clue was enough to fix it. My hda1 drive did have a PUP001 file on it, although it is not corrupt. I disconnected the HD and booted the remaster from CD, choose 2 don't save, and it booted right up.

How do I leave a link to a previous post?

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

Re: remastered cd

#23 Post by Flash »

WiZard wrote:How do I leave a link to a previous post?
In the window where you compose forum posts:

Add brackets before and after the words you want to be the link. The first set of brackets contain the url you want to link to, for instance: (I will make the closing bracket } instead of ] as it should be, so that it won't work and you can see how it should look)

[url=http://www.murga.org/~puppy/viewtopic.php?t=1765}Word or phrase[/url}

If done correctly the "Word or phrase" will show up light blue in the post, and when clicked on will link to the URL in the first set of brackets.

The URL to the forum post you want to link to can be found by touching the cursor to the little page icon to the left of the words "Posted: Sat July 16" in the upper left corner of the post.

WiZard
Posts: 119
Joined: Sun 11 Sep 2005, 20:04
Location: Oklahoma USA

messages links

#24 Post by WiZard »

Thanks Flash, I agree that this makes things a lot clearer, I'll include in future postings.

[http://www.murga.org/~puppy/viewtopic.php?p=14806#14806]

kirkx

#25 Post by kirkx »

Alienx,

Your script works great! THANKS

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

#26 Post by Alienx »

Tip for low ram users:

as said before we can install everything: pupgets, dotpups, own files etc

most of dotpups installs on /root/my-applications and then go to image.gz on remaster

after boot image.gz goes to ramdisk and if it is big this is bad for low ram systems

but there s an easy solution...

before using script move folder /root/my-applications to /usr and symlink it back to /root

also you can populate folder /root/.fonts with lots and lots of fonts and do the same:

move it to /usr and symlink it to root

files that are on /usr are compressed in usr_cram.fs and don't use much memory, that's why people with few ram should do this


IMPORTANT:


Puppy 1.0.5 do not use scsi emulation anymore

so we don't need now this line on script

echo on > $WORKDIR/image-new/root0/.etc/scsiemul

here is an updated version without it
Attachments
remaster-livecd-0.0.4.tar.gz
(2.49 KiB) Downloaded 1084 times
Sorry, broken english above :-)

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

#27 Post by gliezl »

I tried your script, I got only 18MB of if ISO. "no space left on device' but I got 128 RAM + 256 Swap. Do I still need to edit usr_cram.fs? I got Mozilla themes & wine installed. I created symlinks to /usr from /root0 of /mnt/image, am i doing it correctly?

This is Live CD running with PUP001 save to /dev/hda1 which is windows.
[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

#28 Post by Alienx »

the tip about symlinking is optionall , not necessary

in fact it's safer just install what you and run script

symlinking is useful only in this situation: user installs a lot of big things on /root (like 50 mb java) and the computer has few memory

wine installs to /usr, only small .wine rests on /root and mozilla themes are not so big
I created symlinks to /usr from /root0 of /mnt/image, am i doing it correctly?
I think this will not work. I have tested symlinking only with /root/my-applications and /root/.fonts
Sorry, broken english above :-)

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

#29 Post by gliezl »

but i noticed that the ISO is 53MB and I have installed WINE & some themes for mozilla. Did the script created the right ISO size? so do i need to uncompressed image.gz & usr_cram.fs? Or just proceed with the script?
[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

#30 Post by Alienx »

gliezl wrote:but i noticed that the ISO is 53MB and I have installed WINE & some themes for mozilla. Did the script created the right ISO size? so do i need to uncompressed image.gz & usr_cram.fs? Or just proceed with the script?
wine has 8 mb, so the iso must have at least 60 mb

just boot the live cd (not Puppy on hd) , install wine and run sript , only this, nothing more !

the final iso must have more than 60 mb, if not, something did not work :roll:
Sorry, broken english above :-)

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

Post Reply