Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 23 May 2013, 13:21
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Testing: Improved Remaster Script
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 9 [125 Posts]   Goto page: Previous 1, 2, 3, 4, ..., 7, 8, 9 Next
Author Message
jus407

Joined: 26 Jun 2006
Posts: 177
Location: Texas

PostPosted: Thu 14 Sep 2006, 17:36    Post subject:  

sorry i havent been able to try it yet but i did dl it but i am swampped with work so i will let you know soon, and sound like its pretty much taken care of i will check it out soon thanks for your support on this topic and for everone wiling to test! (even though i didnt make it i still wanna say thanks to those who did test as it shows you care about puppy and its future!)
Back to top
View user's profile Send private message AIM Address 
jam


Joined: 14 Jul 2006
Posts: 245

PostPosted: Thu 14 Sep 2006, 18:31    Post subject: Remaster 2  

Dougal,

Tried your remaster script. My PUP_SAVE.3FS resides on the HD and was created using Puppy 2.02. I tried the remaster script using Puppy 2.10 Barry just released, and created an ISO which I burned to CD+RW using a Windows machine. When I booted the CD it gave be the following error:

Quote:


ERROR, cannot find Puppy on livecd boot media



That is as far as it got in the boot process. Now I'm going to try the same procedure using the Puppy 2.02 CD I originally used to see if that makes a difference.

_________________
Jam
Back to top
View user's profile Send private message 
Dougal


Joined: 19 Oct 2005
Posts: 2505
Location: Hell more grotesque than any medieval woodcut

PostPosted: Fri 15 Sep 2006, 06:16    Post subject:  

Billcnz wrote:
remasterpup2c.sh line 264: 7457 Terminated


I actually think this is one of the harmless messages that show when the script tries to kill a Xdialog window that has alerady been closed (i.e. you pressed OK). Try looking at line 264 and see if it says "kill $XPID"...

Quote:
I tried to boot the new CD and it started to boot OK until it complained that it couldn't find:
/etc/init.d/rcS


This is strange... Is there a /etc/init.d/rcS file at all in Puppy? It was supposed to get a "pristine" /etc and add some things to it. I'll try and take a look and see what I can find.

_________________
What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind
Back to top
View user's profile Send private message 
Dougal


Joined: 19 Oct 2005
Posts: 2505
Location: Hell more grotesque than any medieval woodcut

PostPosted: Fri 15 Sep 2006, 06:27    Post subject: Re: Remaster 2  

jam wrote:
ERROR, cannot find Puppy on livecd boot media


What has the new cd got on it? Try mounting it and see.
It seems like it can't find pup_2xx.sfs.

I think because you used 2.10 to remaster, the isolinux.cfg file requires a pup_210.sfs file, while the one you created is pup_202.sfs (since it takes the number from /etc/puppyversion.

Is that the case?

_________________
What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind
Back to top
View user's profile Send private message 
Spindoctor


Joined: 15 Jul 2006
Posts: 118
Location: Vienna, Austria

PostPosted: Fri 15 Sep 2006, 07:08    Post subject:  

Hi!

sorry for not answering sooner, Dougal!

I just tried to make an .iso with the new version.

This worked pretty fine.

Well, I didn't try the .iso yet, but it should be working... Wink

I didn't know exactly what to do at the step where I can edit the tmp/etc.
Also I didn't know what parameters to change in the boot script. Is it just about kernel parameters or is it also about keyboard layout,...?

One last question:
Why does the step, where the script reads the CD take so much longer than in the last version?
Back to top
View user's profile Send private message 
ICQ Number 
jam


Joined: 14 Jul 2006
Posts: 245

PostPosted: Fri 15 Sep 2006, 10:39    Post subject: Results  

Dougal,

I'm back now. Sorry for the delay in responding. By the way, I should be available for the next 6-8 hours from the time of this post. Puppy <finally> did boot to the desktop, but none of my saved settings were reflected. Some of the GTK objects appeared, but icons and background did not. I could not get to the JWM/IceWM menus, and although the mouse/keyboard functioned, clicking an object on the desktop produced no action.

For this test run I used Murga's Very Mean Puppy 2.02 SE. My next run will consist of downloading and using the the puppy-2.02-seamonkey.iso from ibiblio.org to see if that makes any difference.

_________________
Jam
Back to top
View user's profile Send private message 
jam


Joined: 14 Jul 2006
Posts: 245

PostPosted: Fri 15 Sep 2006, 13:23    Post subject: Same Results - SeaMinkey  

Dougal,

Went through the same process with Puppy 2.02 Seamonkey and the result was the same. The ISO created was 300 Mb in size, the bootup process went fine, but the desktop displayed did not resemble anywhere near the settings saved in my PUP_SAVE.3FS file. Just to clarify, my PUP_SAVE.3FS file resides in a directory located on hard drive device /dev/hda2, and the remaster files used for the ISO build were properly placed on that device as well. There were no obvious critical errors that came up during the remaster process, and the output scrolled by so quickly during some phases of rhe remaster process that it would have been almost impossible to detect the errors anyway.

_________________
Jam
Back to top
View user's profile Send private message 
Dougal


Joined: 19 Oct 2005
Posts: 2505
Location: Hell more grotesque than any medieval woodcut

PostPosted: Sat 16 Sep 2006, 06:42    Post subject:  

Spindoctor wrote:
I didn't know exactly what to do at the step where I can edit the tmp/etc.
Also I didn't know what parameters to change in the boot script. Is it just about kernel parameters or is it also about keyboard layout,...?


It's best to just not touch those two if you don't know what to do with them.
The /tmp/etc one is to let you copy extra files into /etc on the remaster, in case you added something that isn't copied by default.
The isolinux.cfg editing gives you the option of adding things that you usually need to add when booting, like acpi=on/off/force, or things like the keyboard, but it's really not a good idea to touch it unless you know what you're doing.

Quote:
One last question:
Why does the step, where the script reads the CD take so much longer than in the last version?


This step takes so long since in your case (HD install), you don't have a pup_2xx.sfs file mounted on /initrd/pup_ro2, so after copying the 5 little files it always did, the script found pup_2xx.sfs on the cd, mounted it and used it to copy the files it needs for creating the new iso. (the old remaster script couldn't work with your HD install since it couldn't find anything on /initrd/pup_ro2...)

_________________
What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind
Back to top
View user's profile Send private message 
Dougal


Joined: 19 Oct 2005
Posts: 2505
Location: Hell more grotesque than any medieval woodcut

PostPosted: Sat 16 Sep 2006, 06:56    Post subject: Re: Results  

jam wrote:
Puppy <finally> did boot to the desktop, but none of my saved settings were reflected. Some of the GTK objects appeared, but icons and background did not. I could not get to the JWM/IceWM menus, and although the mouse/keyboard functioned, clicking an object on the desktop produced no action.


That's really strange. It's probably related to which files are copied into the new /root directory. Can you give examples of settings that were not copied?

Another thing: if you added new icons/backgrounds and the files are actually in /root, then you should have added them manually when you were given the option of adding things to /tmp/root. The script takes a "pristine" /root directory and only copies certain config files, so various files you added to /root aren't added!

See my next post for another idea.

_________________
What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind
Back to top
View user's profile Send private message 
Dougal


Joined: 19 Oct 2005
Posts: 2505
Location: Hell more grotesque than any medieval woodcut

PostPosted: Sat 16 Sep 2006, 07:07    Post subject:  

Ok folks, I have an idea:

Barry's script (and hence mine) takes some "pristine" directories (/root, /var, /etc...) to use in the new cd and adds to them some config files.

AlienX's script simply took your directories and -- if you chose "no hardware customisations" -- removed a few files.

Should I add an option of copying the full /root (and maybe also /etc) directory instead of the "pristine" one?

It's probably easier to then go to /tmp/root and delete all the emails and whatever that you don't want... then you can be sure all your customisations will remain intact.

_________________
What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind
Back to top
View user's profile Send private message 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 6861
Location: Perth, Western Australia

PostPosted: Sat 16 Sep 2006, 07:22    Post subject:  

Dougal,
be careful though, the stuff in /root can get quite large.
That will also include cache and tmp subdirectories.
There is a way of copying /root while at the same time screening out unwanted
subdirectories ...a different method from 'cp', but I can't think of it right now.
...there is something about this in one of my old notebooks somewhere.
Back to top
View user's profile Send private message Visit poster's website 
jam


Joined: 14 Jul 2006
Posts: 245

PostPosted: Sat 16 Sep 2006, 15:00    Post subject: Examples  

Dougal,

While I can't give you an exact breakdown of what settings were copied and which ones were not saved since the machine locked up on me, I can tell you that visually the background and icons were missing. I'm not at my Puppy machine at the moment so I can't itemize what was stored in the /root folder, but I can tell you that I did not manually copy off anything from /root.

Really like your new idea of adding an option to copy off /root and /etc since there are important custom settings that need to be preserved(less the cache and tmp objects Barry mentioned which I can care less about).

Here's another idea to consider - although you are technically more qualified to implement this than I:

1. Check the contents of the original pristine/base Puppy CD and compare
them to the current installation (excluding the contents of tmp and
cache and special device files, etc.). This will give you an inventory
of what was added/change in the custom installation. You can also
take the opposite approach, looking at the custom installation and
comparing them against the base/pristine CD.

2. If the user does not want to preserve their custom settings for
keyboard/mouse/locale/display, then overwrite ONLY those files
with the pristine files from the original CD, otherwise save other
custom settings to the remaster.

In basic terms, the goal is to take a literal snapshot of your current operating environment, regardless of whether you're running a multisession or HD install, and recreate that in the remaster so you can distribute your exact desktop to others without all the normal complexities of remastering. I've been through some painful and time-consuming Knoppix remasters on one end of the spectrum and very simplistic remasters using Slax so I know this can be done with Puppy - and you're getting very close. Believe me, I know it's not easy and takes some work, and I very much appreciate your effort! Very Happy

_________________
Jam
Back to top
View user's profile Send private message 
Dougal


Joined: 19 Oct 2005
Posts: 2505
Location: Hell more grotesque than any medieval woodcut

PostPosted: Sun 17 Sep 2006, 05:36    Post subject:  

BarryK wrote:
Dougal,
be careful though, the stuff in /root can get quite large.
That will also include cache and tmp subdirectories.
There is a way of copying /root while at the same time screening out unwanted
subdirectories ...a different method from 'cp', but I can't think of it right now.
...there is something about this in one of my old notebooks somewhere.


Yeah, it could be a bit of a problem. Also things like my-roxapps.
It just occured to me that Spot should also be handled! Maybe the "spot" directory has program settings in it, if it has been used?

It's a little frustrating... AlienX's script was very simplistic, but it worked! The iso could get a little fat, the dotpups wouldn't be registered... but you did get a running cd in the end, which is probably what the users want.

So as long as the users don't give us a lot of feedback on which other files are needed... maybe it's best to give them the option of doing it that way.

_________________
What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind
Back to top
View user's profile Send private message 
Dougal


Joined: 19 Oct 2005
Posts: 2505
Location: Hell more grotesque than any medieval woodcut

PostPosted: Sun 17 Sep 2006, 05:51    Post subject: Re: Examples  

jam wrote:
1. Check the contents of the original pristine/base Puppy CD and compare
them to the current installation (excluding the contents of tmp and
cache and special device files, etc.). This will give you an inventory
of what was added/change in the custom installation. You can also
take the opposite approach, looking at the custom installation and
comparing them against the base/pristine CD.

2. If the user does not want to preserve their custom settings for
keyboard/mouse/locale/display, then overwrite ONLY those files
with the pristine files from the original CD, otherwise save other
custom settings to the remaster.


1 could get complicated. You could just keep getting deeper and deeper into what should and should not get copied. And the files that are in the "pristine" directory do need to be copied in many cases (.jwmrc...). I'd actually like to look at the remaster scripts for other distros and see what they do...

2 is trivial. it's just a matter of deleting 10-15 files.

Quote:
In basic terms, the goal is to take a literal snapshot of your current operating environment, regardless of whether you're running a multisession or HD install, and recreate that in the remaster so you can distribute your exact desktop to others without all the normal complexities of remastering.


The snapshot thing is how it started, with AlienX's script. But it starts getting complicated when you try and keep the iso slim (leaving out extra baggage), register dotpups as built-in packages... Barry's script was an attempt at doing that. Not an easy task.

_________________
What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind
Back to top
View user's profile Send private message 
jam


Joined: 14 Jul 2006
Posts: 245

PostPosted: Sun 17 Sep 2006, 13:02    Post subject: Remaster Puppy  

Dougal,

You'll have to decide the best approach to take here. Perhaps in your remaster script you can give the option to use one or the other - Dougal/AlienX schemes. I'm not sure how important the package registration step would be or whether it needs to occur, since at least from my perspective you're creating a base ISO from your current desktop settings. Any new packages can be added to the base.

_________________
Jam
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 9 [125 Posts]   Goto page: Previous 1, 2, 3, 4, ..., 7, 8, 9 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0902s ][ Queries: 13 (0.0115s) ][ GZIP on ]