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

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

PeterSieg
Posts: 363
Joined: Wed 04 May 2005, 16:06
Location: Germany, 37603
Contact:

Need overview of scripts - please...

#51 Post by PeterSieg »

Need overview of scripts - please...

Hi AlienX. Could you please be so kind and make some kind of overview
of the remaster scripts you have created, how to use them,
what they do and where should one select this or that script...

Thanks, PS

Idealy, would be some kind of a menu with these/all scripts together
with a help file explaining the differences etc.
Have fun :)

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

#52 Post by Alienx »

The most updated versions are:

1-remaster-livecd-0.0.4.tar.gz

http://www.murga.org/%7Epuppy/download.php?id=1121

2-remaster-livecd-fast.tar.gz

http://www.murga.org/%7Epuppy/download.php?id=1183

(experimental, not yet tested by me in real burning and booting, the main difference is that it doesnt touch usr_cram.fs, the changes to folder /usr goes to usr_more.sqs,very fast, the remaster is done in a minute or two)


How to use both of them:

1-Boot Puppy 1.05 or 1.06 live cd (dont use Puppy installled on hd)

2-install whatever you want: dotpups or pupgets

3-do some cleanup of your /root folder (dont let movies, mp3 or any big files on /root/my-docuyments and /root)

4-run the script

5-the main and first question the script do is where to create the remaster folder

dont choose any folder inside /root, it will not work

choose a folder on a ext2 or ext3 partition on hd with enough space (about 300 mb)

if you have a lot of ram (768 or more) you can accept the default (/mnt/remaster) and do all work in ramdisk

6-burn the iso that will be in the remaster folder you have choosed


The script do all for you, is fully automatic: creates a new image.gz, put the ramdisk_size= value in isolinux.cfg and creates a new usr_cramfs or usr-more.sqs and the final iso

TIP:

when we install a lot of dotpups, folder /root/my-applications becomes big and then file image.gz also

this is not good for low ram computers

so I suggest that before renning script user moves /root/my-applications to /usr and symlink it back to /root, file image.gz will be smaller
Sorry, broken english above :-)

Guest

#53 Post by Guest »

so I suggest that before renning script user moves /root/my-applications to /usr and symlink it back to /root, file image.gz will be smaller
Sorry to ask - how to do it ?

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

#54 Post by Alienx »

Anonymous wrote:
so I suggest that before renning script user moves /root/my-applications to /usr and symlink it back to /root, file image.gz will be smaller
Sorry to ask - how to do it ?
you can do it with mc (midnight cmmander, a dotpup), rox or manually at console:

mv /root/my-applications/ /usr

ln -sf /usr/my-applications /root

:wink:
Sorry, broken english above :-)

Guest

#55 Post by Guest »

Thank you - very much. And thank you for your nice work.

PeterSieg
Posts: 363
Joined: Wed 04 May 2005, 16:06
Location: Germany, 37603
Contact:

Added info to wiki

#56 Post by PeterSieg »

Thanks AlienX. I have added your information on the wiki:

http://puppylinux.org/wikka/RemasterThings

I think your second script could also offer to only create the usr_more.sfs..?!
If you know, that the dotpups etc, that you are installed only under /root/.usr
than that should work... But probably, you never know...

Great work!

PS
Have fun :)

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

Re: Added info to wiki

#57 Post by Alienx »

PeterSieg wrote:I think your second script could also offer to only create the usr_more.sfs..?!
or maybe

to create a separate script to do only this, a usr_more-maker

the main idea of script is to make the job the more simple as possible with so few questions "keep it simple, stupid"

the first version had not even that second question and pause, was just choose the folder and get the iso

I think that is good for newbies :roll:
Sorry, broken english above :-)

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

#58 Post by Alienx »

Anonymous wrote:Thank you - very much. And thank you for your nice work.
I'm happy that people are happy with their remasters

and for contributing to our lovely Puppy :P
Sorry, broken english above :-)

zeke7237

image-new seems too small ..

#59 Post by zeke7237 »

Trying to use AlienX's .4 script, and it seems that it's creating image-new too small (as I get out of space errors when it's getting loaded up). Anyone else run into this? It appears that the loop file size is set to the same size as the generated 'image' file, which seems like it should work .. but I get pages of these:

cp-FULL: cannot create directory `/mnt//remaster/image-new/root0/.tkdvd': No space left on device
cp-FULL: cannot create directory `/mnt//remaster/image-new/root0/archive': No space left on device
cp-FULL: cannot create directory `/mnt//remaster/image-new/root0/dotpups-downloads': No space left on device
cp-FULL: writing `/mnt//remaster/image-new/root0/.mailcap': No space left on device
cp-FULL: writing `/mnt//remaster/image-new/root0/.fonts.cache-1': No space left on device


zeke7237

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

#60 Post by Alienx »

maybe the folder you have choosed for remaster (first question) isnt in a linux partition with enough free space (300-400 mb) :roll:
Sorry, broken english above :-)

zeke7237
Posts: 2
Joined: Wed 09 Nov 2005, 19:40

#61 Post by zeke7237 »

Nope, lotsa space. The errors are coming when copying stuff into the "image-new" which is the image file mounted on /dev/loop2

Maybe I'm just doing this wrong? I burned a current Puppy CD, moved it onto usb device, configured as I wanted it, now trying to move configured Puppy from usb back to CD. Is there a better way to do this?

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

#62 Post by Alienx »

zeke7237 wrote:Maybe I'm just doing this wrong? I burned a current Puppy CD, moved it onto usb device
maybe is it
zeke7237 wrote: now trying to move configured Puppy from usb back to CD. Is there a better way to do this?
I dont know nothing about Puppy on usb devices, I even dont have one :roll:
Sorry, broken english above :-)

Guest

#63 Post by Guest »

I have a pup001 on my hard drive (1.0.6). I did the PupGet for Open Office and a few other things. I selected the remaster script from the menu (I did not select the fast option). Selected a remaster directory on my thumb drive. Created a 110MB ISO, burned it to CD. All I get is the kernel panic no init found with the remasterd CD.

Any ideas where I went wrong?

zeke7237
Posts: 2
Joined: Wed 09 Nov 2005, 19:40

#64 Post by zeke7237 »

So ..

I have had success with the 0.4 script only by commenting out the FSSIZE calculation and manually setting the size. It was calculating 122M, but the copy would fail out of space. I manually set 150M and it went fine, resultant iso boots ok.

Now I tried to put that remastered Puppy on USB, and I get the "init not found" error ..

User avatar
kelewax
Posts: 41
Joined: Fri 04 Nov 2005, 16:26
Location: Nigeria

Remaster live Cd from NTFS

#65 Post by kelewax »

I have a windows xp on a single patitioned hard disk which is NTFS I have upto 3 GB of free space on the NTFS harddisk, Is it possible for me to copy a new pup001 file to C:\ and enlarge from windows then boot into puppy mount the new (renamed) pup001 and use to to remaster live cd.

If not then is there a way I can avoid patitioning my harddisk and still keep my windows xp while I remaster a live cd?

Post Reply