The time now is Tue 21 May 2013, 15:14
All times are UTC - 4 |
|
Page 9 of 9 [125 Posts] |
Goto page: Previous 1, 2, 3, ..., 7, 8, 9 |
| Author |
Message |
Torymon
Joined: 22 Aug 2006 Posts: 96 Location: The Great State of Mississippi,USA
|
Posted: Sun 20 Jan 2008, 20:15 Post subject:
Subject description: Success with pupremaster.sh script |
|
Dougal,
In trying to find out how to save multi-session(s) to a pup_save file on a harddrive, I read up on your pupremaster script.
Keep in mind, my objective was to get the tweaking and additional installs off of the multi-session cd (2.15CE) onto the harddrive into a pup_save file to speed up boot time.
I figured that would be faster than reading (and loading) numerous sessions off of the cd.
The script ran flawlessly!!! Major pat-on-the-back!!! The ONLY problem I ran into was during boot-up off the newly created re-mastered disk, was the existing pup_save file I had created trying to get my settings off of the cd.
I went back to the harddrive, deleted the pup_save I'd created, and tried booting again.
Success!!! Not ONLY did it boot perfectly (with ALL tweaks and installs in place), but the start-up screen in Dillo even barked at me!!! [This is kinda special in that the audio stuff doesn't work "out of the box" for me!]
Hearing the woof woof upon start-up WAS a treat!!!
I wish I had a photographic memory to tell you exactly what the error message I got was, but I do remember that it had to do with trying to load user settings from the pup_save file.
I believe the problem there was that I had "forced" the creation of the pup_save, but nothing ever got written to it.
Hence, I believe I rec'd the error because there was nothing in the file to load. At least I believe that's the cause.
Regardless, cudo's for an excellent job on the script!!!
Woof woof!
ToryMon
_________________ ASUS M2MPV-VM, AMD 64 x2 5200+, 2 gig ram, W/D 80 Gig SATA raid mirror, PuppyLinux 2.15CE
Using onboard GeForce video, sound & ethernet!
woof!
|
|
Back to top
|
|
 |
Inuyasha

Joined: 21 Jul 2007 Posts: 118
|
Posted: Fri 01 Feb 2008, 16:51 Post subject:
|
|
A couple of questions:
1. When it's creating a folder in /tmp, is this creating /tmp in RAMDISK if I'm using a Frugal install (fully in RAM)?
If so, could that not happen?
For instance, could the folders be created in or binded to the area where the new iso/.sfs/other would be saved? Or could at least the option be made for hard drives?
Also, this script will work with frugal installs, right?
| Quote: |
##### START WORKING ON /root #####
rm -rf /tmp/root 2> /dev/null
## if using the full /root:
if [ "$ALLROOT" = "yes" ] ; then
cp -a /root /tmp/root
|
That part is what is making me think all of this is going to /tmp on the RAMDISK and not /dev/hdaX
And this part, too:
| Quote: |
else
## if using a "pristine" /root:
#do some work on /root before add it to the squashfs...
cp -a $RO2DIR/pup_ro2/root /tmp/root #pristine /root
#copy all of my-applications/
|
Wouldn't it be better if it looked like this?
| Quote: |
TMP=/dev/hdaX # hasty line, but you get the point
# ...
else
## if using a "pristine" /root:
#do some work on /root before add it to the squashfs...
cp -a $RO2DIR/pup_ro2/root /"$TMP"/root #pristine /root
#copy all of my-applications/
|
_________________

|
|
Back to top
|
|
 |
Dougal

Joined: 19 Oct 2005 Posts: 2505 Location: Hell more grotesque than any medieval woodcut
|
Posted: Sun 03 Feb 2008, 09:02 Post subject:
|
|
| Inuyasha wrote: |
| Quote: | cp -a /root /tmp/root
|
That part is what is making me think all of this is going to /tmp on the RAMDISK and not /dev/hdaX |
/tmp in Puppy is not a tmpfs in ram like on other distros, but a directory in your pup_save. If you're running with pfix=ram then, yes, it will be in the ramdisk. However, /tmp is only used for directories that need to be "worked on" -- /root and /etc -- before they are added to the sfs. So all the "big stuff" doesn't go in /tmp, but directly to the sfs on your HD (or where you chose it to be).
_________________ 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
|
|
 |
Flash
Official Dog Handler

Joined: 04 May 2005 Posts: 9845 Location: Arizona USA
|
Posted: Sun 03 Feb 2008, 15:02 Post subject:
|
|
Torymon, would you be up to doing a Howto for the forum, describing how to use Dougal's remaster to convert a multisession Puppy to a hd install?
|
|
Back to top
|
|
 |
tlchost
Joined: 05 Aug 2007 Posts: 1485 Location: Baltimore, Maryland USA
|
Posted: Sun 03 Feb 2008, 16:08 Post subject:
|
|
| Dougal wrote: | | However, /tmp is only used for directories that need to be "worked on" -- /root and /etc -- before they are added to the sfs. So all the "big stuff" doesn't go in /tmp, but directly to the sfs on your HD (or where you chose it to be). |
Wonder how things are going to be able to use the script on 3.1? The ease of use under 2.17.1 really spoiled me
|
|
Back to top
|
|
 |
|
|
Page 9 of 9 [125 Posts] |
Goto page: Previous 1, 2, 3, ..., 7, 8, 9 |
|
|
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
|