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 21 Aug 2014, 16:18
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 4 of 4 [58 Posts]   Goto page: Previous 1, 2, 3, 4
Author Message
jakfish

Joined: 18 Jul 2008
Posts: 756

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

Hi, Monsie,

Thanks for weighing in. I had never heard of that command and immediately tried it. Unfortunately, I'm still in pupmode=12. (That would be with the original, unedited init)

Thanks again for the tip,
Jake
Back to top
View user's profile Send private message 
rcrsn51


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

PostPosted: Wed 06 Feb 2013, 10:49    Post subject:  

Jemimah made her suggestion here and it apparently worked for nooby in Quirky. Maybe puppeee doesn't recognize "pmedia=ataflash".

PUPMODE=13 is a much more complicated environment than 12. You may not be able to force it just by changing the init.
Back to top
View user's profile Send private message 
jakfish

Joined: 18 Jul 2008
Posts: 756

PostPosted: Wed 06 Feb 2013, 11:17    Post subject:  

Yes, when in pupmode 13 and it was trying to save, it appeared to be making a copy of everything, if only b/c all the folders in root and above were suddenly in bold text, puppy's signal that changes have been made.

But it never finished the save properly and remembered very little of what I had asked it to save.

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


Joined: 12 Feb 2010
Posts: 119
Location: portugal

PostPosted: Fri 08 Feb 2013, 05:04    Post subject: How to Make a Flash Drive Install Work Like a Hard Drive  

Hi
Thanks for this script works like a dream nice not to have the wait to shut down. Very Happy
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
DaveS


Joined: 09 Oct 2008
Posts: 3726
Location: UK

PostPosted: Wed 05 Jun 2013, 08:19    Post subject:  

Recently set this up using Slacko 5.5. Using ext3 could not get desktop to initialise. Ext2 is fine.
_________________
Spup Frugal HD and USB
Root forever!
Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 7794
Location: qld

PostPosted: Wed 05 Jun 2013, 08:42    Post subject:  

DaveS wrote:
Recently set this up using Slacko 5.5. Using ext3 could not get desktop to initialise. Ext2 is fine.
Might have been something changed in woof. I can't see any kernel based reason (off the top of my head). Besides, ext2 is probably better for USB anyway.

What needs to happen though is more support in woof for F2FS, which is in the latest 3.8 kernels and above and designed for nand media. It's way faster than any other filesystem and pretty stable too. If you want to try it get either PHATSlacko, ThinSlacko or pemasu's latest upups. Idealy, when F2FS becomes the standard, we can toss out restricted saving. I'm not so sure it matters anyway, as I have an old (6 yo) kingston 1 GB drive that has been formatted a thousand times with different pups and filesystems and it doesn't look like failing. Of course it will one day when least expected, but who uses flash for mission critical anyway? It's more of a convenience.

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
DaveS


Joined: 09 Oct 2008
Posts: 3726
Location: UK

PostPosted: Wed 05 Jun 2013, 08:47    Post subject:  

01micko wrote:
DaveS wrote:
Recently set this up using Slacko 5.5. Using ext3 could not get desktop to initialise. Ext2 is fine.
Might have been something changed in woof. I can't see any kernel based reason (off the top of my head). Besides, ext2 is probably better for USB anyway.

What needs to happen though is more support in woof for F2FS, which is in the latest 3.8 kernels and above and designed for nand media. It's way faster than any other filesystem and pretty stable too. If you want to try it get either PHATSlacko, ThinSlacko or pemasu's latest upups. Idealy, when F2FS becomes the standard, we can toss out restricted saving. I'm not so sure it matters anyway, as I have an old (6 yo) kingston 1 GB drive that has been formatted a thousand times with different pups and filesystems and it doesn't look like failing. Of course it will one day when least expected, but who uses flash for mission critical anyway? It's more of a convenience.


With regard to speed, startup is a little slower than a HD install but I think that's down to USB bus speed.

_________________
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: Fri 07 Jun 2013, 15:23    Post subject:  

I came across an interesting issue with this. The edit process does not work cross Puppy versions. Thus, if I want to edit init for booting Precise, I must do the edit process from within Precise, not say Slacko, and vise versa.
Maybe I should not have been surprised, but somehow I was Rolling Eyes

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


Joined: 30 Jun 2006
Posts: 923

PostPosted: Wed 11 Sep 2013, 18:01    Post subject:  

I just used this method again and it all worked immediately without problems.

For Precise 5.7.1 the line in initrd.gz where you want to insert "PUPMODE=12" is now line 919.

Thanks again for this great tutorial , rcrsn51!

_________________


Back to top
View user's profile Send private message 
Bert


Joined: 30 Jun 2006
Posts: 923

PostPosted: Fri 13 Sep 2013, 12:03    Post subject:  

For those running pupmode 12 from flash, who would like to get rid of the warning popup
Quote:
WARNING! Do not unplug usb Flash Drive.


I found how to disable it:

* Open /usr/sbin/delayedrun as text (right-click on icon, then 'open as text')

* Go to line 232 (line numbers in Geany: View>Editor>show line numbers)

* Comment out lines 232, 233, 234 (put a '#' at start of line)

like this:


* and save.

This gives 'the HDD experience' from a tiny usb key Wink

Just remember NOT to unplug the flash drive! Laughing

_________________


Back to top
View user's profile Send private message 
Pelo


Joined: 10 Sep 2011
Posts: 3013
Location: Mer méditerrannée (1 kms°)

PostPosted: Tue 15 Jul 2014, 07:25    Post subject: Flash Drive enregistre en permanance
Subject description: Comme un disque Dur PUPMODE 12
 

Very interesting ! on test bench.
All my moves and acts are permanently recorded on flash drive. Well, i shall come back and give you the return.

As a progress never goes alone, i am translating your topic to french with Precord.
Unfortunately, the MP3s are more than 250 K, i must adjust my recording time and set audio as mono.
Mp3 then are included in tar.gz to be joined in the forum to the english written topic.

Suspense, initrd.gz permuté, poweroff. A tout de suite.

_________________
Puppy, il ne lui manque que la parole !
Back to top
View user's profile Send private message Yahoo Messenger 
Pelo


Joined: 10 Sep 2011
Posts: 3013
Location: Mer méditerrannée (1 kms°)

PostPosted: Tue 15 Jul 2014, 07:32    Post subject:  Ok Man ! session already saved ! it works.  

Ok Man ! session already saved ! it works.
I run an old puprescue 0.25 remasterised with Super Lucid.
flashdrive.tar.gz
Description  français, écoutez, ici Londres.
gz

 Download 
Filename  flashdrive.tar.gz 
Filesize  86.21 KB 
Downloaded  10 Time(s) 

_________________
Puppy, il ne lui manque que la parole !
Back to top
View user's profile Send private message Yahoo Messenger 
rcrsn51


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

PostPosted: Tue 15 Jul 2014, 08:25    Post subject:  

Excellent. Thank you for testing.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 4 of 4 [58 Posts]   Goto page: Previous 1, 2, 3, 4
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.0762s ][ Queries: 13 (0.0067s) ][ GZIP on ]