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

How to do things, solutions, recipes, tutorials
Message
Author
User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#16 Post by Flash »

Foo, you're able to boot a Puppy CD, use it to remaster a new CD, and the remastered CD won't boot on the same machine?

nameless foo

#17 Post by nameless foo »

I can boot any Puppy CD that I have burned with an iso that I download but when I remaster the CD and burn a CD with the created iso it will load vmlinuz and image.gz and after it scrools thru the hardware identifaction I get a kernel panic init not found

nameless foo

#18 Post by nameless foo »

Apparently something dosen't like my IDE HDDs that are connected to the primary IDE. I disabled the primary IDE in the bios booted the multisession CD and everything works fine. Go figure!

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

password

#19 Post by WiZard »

Hi Alienx
Thanks for writng your scripts. I tried all three and found that your first one suits my needs the best. Only having one problem. When I boot from remaster & choose 1 to save data everything is fine. 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?

Thanks

Guest

#20 Post by Guest »

Hmm, that's puzzling. As far as I know, Puppy only asks for a password when it finds a corrupt pup001 during the boot process. Even though you're using the option to boot without saving to HD, I'd say check your hard drive for pup001 files that aren't supposed to be there.

Another thing: would you please give a link to the post with the Alienx scripts in it? It's much more difficult to help you if we have to guess what you're doing. Thanks. :)

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]

Post Reply