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 Wed 26 Nov 2014, 14:43
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
TS3.03ce - Prevent accidental version upgrades
Moderators: Flash, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
2byte

Joined: 09 Oct 2006
Posts: 357

PostPosted: Sun 25 Nov 2007, 12:49    Post_subject:  TS3.03ce - Prevent accidental version upgrades
Sub_title: init script tweaks
 

To be fair, Puppy 3.01 already addresses this situation to some extent. These tweaks make it almost impossible to bork an existing pup_save. You have to enter 'Puppy pfix=upgrd' before Puppy will upgrade an existing pup_save. This is really handy when you have multiple pup_saves and you accidentally choose the wrong one.

Note. These files are for information only. The init script does not contain MUs bug fixes described here -
http://www.murga-linux.com/puppy/viewtopic.php?t=23381&sid=2ae9bcd248d5f5f4a8e2088dac45efea

Tweaks to the init script from initrd.gz of Puppy 3.01 adds the boot parameter 'Puppy pfix=upgrd'

Tweaked isolinux.cfg to increase the display time of the boot screen to 30 seconds.

Tweaked boot.msg to add the new parameter to the boot screen and new wait time.
301-pfix-upgrd.tar.gz
Description 
gz

 Download 
Filename  301-pfix-upgrd.tar.gz 
Filesize  14.37 KB 
Downloaded  490 Time(s) 
msg.gif
 Description   
 Filesize   1.84 KB
 Viewed   571 Time(s)

msg.gif

Back to top
View user's profile Send_private_message 
ecomoney


Joined: 25 Nov 2005
Posts: 2183
Location: Lincolnshire, England

PostPosted: Mon 17 Dec 2007, 12:15    Post_subject: Version upgrade  

Personally ive never had much luck with the version update process, but Ive often borked up installation files by booting with the wrong disk. I totally agree this process shouldnt be automatic, and should give some feedback. Perhaps an upgrade wizard which makes a renamed copy of the pup_save.2fs file after confirmation?

Good suggestion 2byte

_________________
Puppy Linux's Mission

Sorry, my server is down atm!
Back to top
View user's profile Send_private_message Visit_website MSNM 
ecomoney


Joined: 25 Nov 2005
Posts: 2183
Location: Lincolnshire, England

PostPosted: Sat 16 Feb 2008, 04:49    Post_subject: Useful  

Thanks 2byte, this will be very useful. Could you tell me what would happen if the user booted say 2.14r cd with a 2.17 pup_save.2fs file? Also, the would you make the text read

Quote:
When puppy boots and the first screen is shown, enter

puppy pfix=ram :- to start the computer just from the cd, ignoring the pup_save.2fs file on the disk

puppy pfix=upgrd :- to attempt an "upgrade". Always a good idea to make a copy of the pup_save file first! (Hint: use the option above)



Ive found its a good idea to clear the screen before showing a message like this, as some of the boot messages can be confusing (end users read from the top downwards!). Pizzasgood Pebble bootscreen should help with this, as boot messages will not be displayed by default anyway.

_________________
Puppy Linux's Mission

Sorry, my server is down atm!
Back to top
View user's profile Send_private_message Visit_website MSNM 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Puppy Projects
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.0539s ][ Queries: 12 (0.0064s) ][ GZIP on ]