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 Fri 22 Aug 2014, 21:42
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
How to Make a Flash Drive Install Work Like a Hard Drive
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 3 of 4 [58 Posts]   Goto page: Previous 1, 2, 3, 4 Next
Author Message
DaveS


Joined: 09 Oct 2008
Posts: 3726
Location: UK

PostPosted: Sun 04 Sep 2011, 08:45    Post subject:  

Just set up my USB again with Spup1. All fine.
_________________
Spup Frugal HD and USB
Root forever!
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 9040
Location: Stratford, Ontario

PostPosted: Sun 04 Sep 2011, 09:57    Post subject:  

In some new Puppies, the default behaviour is to NOT load the sfs file into memory when booting from a hard drive. So when you convert a flash drive to PUPMODE=12, you will get the same thing.

This means that the flash drive will boot faster but may run a little slower. You can fix this by adding "pfix=copy" to your syslnux.cfg file.

The original instructions state that you must format your flash drive as ext. This is because the editinit procedure cannot be done in a FAT32 environment. However, you can copy the initrd.gz into your home directory or another ext environment and modify it there. Then copy the file back to your FAT32 flash drive. It will work fine.
Back to top
View user's profile Send private message 
DaveS


Joined: 09 Oct 2008
Posts: 3726
Location: UK

PostPosted: Sun 04 Sep 2011, 10:04    Post subject:  

rcrsn51 wrote:
In some new Puppies, the default behaviour is to NOT load the sfs file into memory when booting from a hard drive. So when you convert a flash drive to PUPMODE=12, you will get the same thing.

This means that the flash drive will boot faster but may run a little slower. You can fix this by adding "pfix=copy" to your syslnux.cfg file.

The original instructions state that you must format your flash drive as ext. This is because the editinit procedure cannot be done in a FAT32 environment. However, you can copy the initrd.gz into your home directory or another ext environment and modify it there. Then copy the file back to your FAT32 flash drive. It will work fine.


Have it formatted to ext Smile. Will try pfix=copy, but it seems fast anyway. (actually extlinux.conf)

_________________
Spup Frugal HD and USB
Root forever!
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 9040
Location: Stratford, Ontario

PostPosted: Sun 04 Sep 2011, 10:16    Post subject:  

DaveS wrote:
but it seems fast anyway.

It probably doesn't make a big difference. In the case of your web browser, all the content that is stored in your profile has to be read from the pupsave file regardless of how the actual program code has been loaded. The former may have a greater impact on speed than the latter.
Back to top
View user's profile Send private message 
DaveS


Joined: 09 Oct 2008
Posts: 3726
Location: UK

PostPosted: Tue 06 Sep 2011, 12:21    Post subject:  

Question: does the desktop 'save' icon have any effect in PUPMODE 12?
FWIW, just set up a cheapo tiny tiny USB this way with slackobeta to see how it goes. All good so far.

_________________
Spup Frugal HD and USB
Root forever!
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 9040
Location: Stratford, Ontario

PostPosted: Tue 06 Sep 2011, 14:13    Post subject:  

DaveS wrote:
Question: does the desktop 'save' icon have any effect in PUPMODE 12?.

I just delete it. I don't even know what would happen if you clicked it.
Back to top
View user's profile Send private message 
DaveS


Joined: 09 Oct 2008
Posts: 3726
Location: UK

PostPosted: Tue 06 Sep 2011, 14:19    Post subject:  

rcrsn51 wrote:
DaveS wrote:
Question: does the desktop 'save' icon have any effect in PUPMODE 12?.

I just delete it. I don't even know what would happen if you clicked it.


LOL... Nothing!

_________________
Spup Frugal HD and USB
Root forever!
Back to top
View user's profile Send private message 
DaveS


Joined: 09 Oct 2008
Posts: 3726
Location: UK

PostPosted: Sun 13 Nov 2011, 12:49    Post subject:  

A funny thing happened on the way to the show: I set up a USB drive this way for Slacko, and when it booted, sound was missing. Running Alsa wizard returned no soundcards detected. Reverting to original initrd restored sound!
_________________
Spup Frugal HD and USB
Root forever!
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 9040
Location: Stratford, Ontario

PostPosted: Sun 13 Nov 2011, 14:09    Post subject:  

WFM. I created a standard PUPMODE=13 Slacko flash drive. The sound was working and I made a save file. I verified that sound was still working after a reboot, then switched to PUPMODE=12. I inserted the line after line 806. Sound still worked in the new setup.
Back to top
View user's profile Send private message 
DaveS


Joined: 09 Oct 2008
Posts: 3726
Location: UK

PostPosted: Sun 13 Nov 2011, 15:03    Post subject:  

rcrsn51 wrote:
WFM. I created a standard PUPMODE=13 Slacko flash drive. The sound was working and I made a save file. I verified that sound was still working after a reboot, then switched to PUPMODE=12. I inserted the line after line 806. Sound still worked in the new setup.


Haha.. moral of story... 'don't do this from within the Puppy you are modifying'. Booted from HD, modified initrd on USB from within a HD install, re-booted from USB, all fine. Off for a glass of wine now Smile

_________________
Spup Frugal HD and USB
Root forever!
Back to top
View user's profile Send private message 
jakfish

Joined: 18 Jul 2008
Posts: 756

PostPosted: Tue 05 Feb 2013, 09:43    Post subject:  

Forgive me for thread-dredging, but I have to give a shout-out to rcrsn51.

I frugally installed a puppeee to an ssd partition and could not get out of the pupmode=12 state until I found this thread and the great init editing tool.

Put a pupmode=13 in the init and now I have a true frugal install on an ssd partition with no need to boot off usb/sd card.

rcrsn51--many, many thanks,
Jake
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 9040
Location: Stratford, Ontario

PostPosted: Tue 05 Feb 2013, 09:56    Post subject:  

There was a suggestion from jemimah that "pmedia=ataflash" would also get you a PUPMODE=13 environment. Did you try that?
Back to top
View user's profile Send private message 
jakfish

Joined: 18 Jul 2008
Posts: 756

PostPosted: Tue 05 Feb 2013, 11:32    Post subject:  

I did. And for my specs: working w/ puppeee installed to sd card, then once in puppeee on the sd card, using Universal Install to /sda7, I could not get pupmode=13 no matter which handle I jiggled in syslinux.cfg

Jake
Back to top
View user's profile Send private message 
jakfish

Joined: 18 Jul 2008
Posts: 756

PostPosted: Wed 06 Feb 2013, 03:57    Post subject:  

Oh, dear, this didn't work out as well as I thought.

While I am running in pupmode 13, I'm unable to save manually. The cpu goes to 100% and no changes are written to pupsave.sfs.

I thought of a corrupted save file, but even with starting fresh, I wasn't even offered a choice to make a save file at the end of the initial startup.

If I run this puppeee, fresh, with the original init file, then I am offered a chance to save at the end of the first session.

Changing the syslinux.cfg file to pmedia=ideflash, or ataflash, or usbflash does not help.

Jake
Back to top
View user's profile Send private message 
Monsie


Joined: 01 Dec 2011
Posts: 633
Location: Kamloops BC Canada

PostPosted: Wed 06 Feb 2013, 04:40    Post subject: How to Make a Flash Drive Install Work Like a Hard Drive  

jakfish,

How about: pmedia=satahd

Have a look at this thread here.

Hope this helps,
Monsie

_________________
My username is pronounced: "mun-see". Derived from my surname, it was my nickname throughout high school.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 3 of 4 [58 Posts]   Goto page: Previous 1, 2, 3, 4 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.0723s ][ Queries: 13 (0.0052s) ][ GZIP on ]