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 Tue 21 Oct 2014, 18:01
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 Posts_count   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: 9200
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_website MSNM 
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: 7831
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_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: 948

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: 948

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: 3220
Location: Mer méditerrannée (1 kms°)

PostPosted: Tue 15 Jul 2014, 07:25    Post_subject: Flash Drive enregistre en permanance
Sub_title: 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 YIM 
Pelo


Joined: 10 Sep 2011
Posts: 3220
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  19 Time(s) 

_________________
Puppy, il ne lui manque que la parole !
Back to top
View user's profile Send_private_message YIM 
rcrsn51


Joined: 05 Sep 2006
Posts: 9200
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:   Sort by:   
Page 4 of 4 Posts_count   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:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


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