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 Sat 18 May 2013, 23:50
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
Add a "pfix=noram" option to your Puppy
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 3 [43 Posts]   Goto page: Previous 1, 2, 3 Next
Author Message
pri


Joined: 09 Oct 2009
Posts: 330
Location: Bandung Indonesia

PostPosted: Thu 08 Apr 2010, 04:34    Post subject:    

thanks... pizzasgood now my puppy will be run, even it fat Very Happy.

already have multiuser for easy use too ? Very Happy

_________________
Learning by Doing
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger 
lee321987

Joined: 27 Apr 2010
Posts: 3

PostPosted: Tue 27 Apr 2010, 18:06    Post subject:  

Hello.

Every time I do this (even tried using Pizzasgoods' patch file), the boot screen does this:
Code:
Loading drivers needed to access disk drives....   done
Searching for Puppy files in computer disk drives...pup-431.sfs not found. Dropping out to initial-ramdisk console...
/bin/sh: can't access tty; job control turned off


Any ideas?
Back to top
View user's profile Send private message 
Pizzasgood


Joined: 04 May 2005
Posts: 6270
Location: Knoxville, TN, USA

PostPosted: Tue 27 Apr 2010, 21:20    Post subject:  

Turns out the problem isn't my changes. For Puppy 4.3.x, it looks like you need to use the -R option when running mkisofs. Otherwise the init script won't be able to locate the pup-431.sfs on the iso you build.

(Thank goodness for Qemu or it would have taken me about ten times as long to figure that out and verify it.)

_________________
Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib

Back to top
View user's profile Send private message Visit poster's website 
gjuhasz


Joined: 29 Sep 2008
Posts: 120

PostPosted: Wed 28 Apr 2010, 08:31    Post subject: Puppy apps placed on hard disk  

I am happy to find this topic. The pfix=noram option is an ultimate solution if we have little RAM installed. Of course, Puppy becomes slower this case.

But...

What to do if you like some puppy variants, such as Bruno, but they are slow because you have 256 MB of RAM only? In my favorite distros, there are many nice-to-have packages (as parts of the distros' main sfs file) that could be better to lay in the hard disk. Per se, different users want different files to exile to the hard drive. How to replace a subset of files from the read-only sfs with links to the hard disk?

Don't try to move files from the sfs to the hard disk then put links in their original folder. Beyond response time and/or speed issues, Aufs/Unionfs punishes you with more RAM occupied.

A more complex but successful method to delete files from the read-only sfs (then replace them with links of course) is like this:

http://forum.eeeuser.com/viewtopic.php?id=71821 (I don't know whether this method has been applied for Puppies, please advise... I would prefer a simple "drag&drop" utility in the System menu for this purpose.)

A simple workaround is selecting a fat-free puppy then placing static packages (Skype, Zoiper, Opera52, Iron etc.) on the hard drive. This keeps the system being fast and prevents consuming RAM.

I know, dynamic sfs inclusion is well implemented in choicepup. I like it. Choicepup is very flexible, but unfortunately not too comfortable for some users such as my mother-in-low...

Last edited by gjuhasz on Thu 29 Apr 2010, 06:56; edited 5 times in total
Back to top
View user's profile Send private message 
lee321987

Joined: 27 Apr 2010
Posts: 3

PostPosted: Wed 28 Apr 2010, 10:37    Post subject: mkisofs  

What file do I need to put 'mkisofs -R' in?
Back to top
View user's profile Send private message 
gjuhasz


Joined: 29 Sep 2008
Posts: 120

PostPosted: Thu 29 Apr 2010, 06:43    Post subject: deleted  

Sorry Duplicate posted (How to delete a post?)
Back to top
View user's profile Send private message 
abushcrafter


Joined: 30 Oct 2009
Posts: 1447
Location: England

PostPosted: Mon 31 May 2010, 15:02    Post subject:  

How do I have "pfix=noram" with the big puplets copy2ram fix: Barry Kauler Blog please?
Back to top
View user's profile Send private message Visit poster's website 
Pizzasgood


Joined: 04 May 2005
Posts: 6270
Location: Knoxville, TN, USA

PostPosted: Wed 02 Jun 2010, 00:19    Post subject:  

I guess it would be the same as for 431, except for the final part. Instead of what I said before at the end, change the code like this:
Code:
 [ "$PUPSFSDEVMNTPT" = "" ] && COPY2RAM="yes"
  #v405 fast media plus more than 256MB ram then definitely worth copying to ram...
 [ "`echo -n "$FASTPARTS0" | grep "$PUPSFSDEV"`" != "" ] && [ $RAMSIZE -gt 280000 ] && COPY2RAM="yes"

to be like this:
Code:
 [ "$PUPSFSDEVMNTPT" = "" ] && [ "$PNORAM" != "yes" ] &&  COPY2RAM="yes"
 #v405 fast media plus more than 256MB ram then definitely worth copying to ram...
 SIZESFSK=`du -k ${PUPSFSDEVMNTPT}${PUPSFSFILE} | cut -f 1`
 SIZESFSK=$(($SIZESFSK + 1000)) #some slack.
 MINRAM2CPY=$(($SIZESFSK * 2)) #100222 technosaurus: in case of very big puppies.
 [ "`echo -n "$FASTPARTS0" | grep "$PUPSFSDEV"`" != "" ] && [ $RAMSIZE -gt 280000 ] && [ $RAMSIZE -gt $MINRAM2CPY ] && [ "$PNORAM" != "yes" ] && COPY2RAM="yes"


WARNING: I have not tested this. I have not even looked at the init script. I just put this together looking at my old post and the linked blog entry. Also, it is quarter past midnight right now. So, use the above at your own risk. Wink

_________________
Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib

Back to top
View user's profile Send private message Visit poster's website 
lobo115

Joined: 06 May 2010
Posts: 11

PostPosted: Thu 03 Jun 2010, 09:59    Post subject: checksum problem  

hello
I use it in lightpup but it appear a checksum error.
thanks
Back to top
View user's profile Send private message 
Pizzasgood


Joined: 04 May 2005
Posts: 6270
Location: Knoxville, TN, USA

PostPosted: Thu 03 Jun 2010, 18:14    Post subject:  

I'm going to need more information than you've given me. I'm not sure what you mean by "it appear a checksum error".

Like I said, I haven't tested this with anything newer than 4.3.1, so if Lighthouse Pup is based on something newer, it might not work. (I can play with Puppy 5.0 this weekend though.)

_________________
Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib

Back to top
View user's profile Send private message Visit poster's website 
lobo115

Joined: 06 May 2010
Posts: 11

PostPosted: Thu 03 Jun 2010, 20:23    Post subject: Checksum  

hello thanks for your answer, i add the lines the problem is that when i try to boot it appaaer checksum error and i cant use it. Thanks
Back to top
View user's profile Send private message 
Pizzasgood


Joined: 04 May 2005
Posts: 6270
Location: Knoxville, TN, USA

PostPosted: Fri 04 Jun 2010, 20:48    Post subject:  

What things does it say before it says "checksum error"?

Which of the sets of directions did you follow?

_________________
Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib

Back to top
View user's profile Send private message Visit poster's website 
abushcrafter


Joined: 30 Oct 2009
Posts: 1447
Location: England

PostPosted: Sun 06 Jun 2010, 16:09    Post subject:  

Thanks. Back from holiday now so I will now test this out but first I need to find the doc on the commands to make the initrd.gz.

[Edit]Found this HowTo: Puppy Linux Discussion Forum :: View topic - Howto unpack, edit and repack initrd.gz.
Back to top
View user's profile Send private message Visit poster's website 
abushcrafter


Joined: 30 Oct 2009
Posts: 1447
Location: England

PostPosted: Sun 06 Jun 2010, 18:48    Post subject:  

When booting I get:
Code:
Kernel panic can't find init.
when I try pfix=noram or on a normal boot.
Back to top
View user's profile Send private message Visit poster's website 
Pizzasgood


Joined: 04 May 2005
Posts: 6270
Location: Knoxville, TN, USA

PostPosted: Sun 06 Jun 2010, 21:32    Post subject:  

Huh. I just tested it with 5.0 and it worked here. (Well, I didn't verify that pfix=noram actually performed as advertised with this version, but I verified that it booted ok.)

It could be that something went wrong when you extracted and then rebuilt the initrd.gz file. Did you do it on a Linux partition? If you try to extract it on a Windows partition (like the outside of a USB drive) it will screw up stuff like file permissions. If you don't have real Linux partitions on your harddrives, you could still use the inside of your savefile, or the /tmp directory.

_________________
Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib

Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 2 of 3 [43 Posts]   Goto page: Previous 1, 2, 3 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
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.0815s ][ Queries: 13 (0.0126s) ][ GZIP on ]