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 19 Dec 2014, 04:09
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 [3 Posts]  
Author Message
2byte

Joined: 09 Oct 2006
Posts: 357

PostPosted: Sun 25 Nov 2007, 12:49    Post subject:  TS3.03ce - Prevent accidental version upgrades
Subject description: 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  492 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 poster's website MSN Messenger 
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 poster's website MSN Messenger 
Display posts from previous:   Sort by:   
Page 1 of 1 [3 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
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.0527s ][ Queries: 12 (0.0077s) ][ GZIP on ]