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 24 Apr 2014, 07:45
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
Upgrading Puppy
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [15 Posts]  
Author Message
abedarts

Joined: 16 Nov 2009
Posts: 58

PostPosted: Thu 23 Dec 2010, 08:32    Post subject:  Upgrading Puppy
Subject description: from 511 to 515
 

I'm sorry to ask this, I know its been asked many times, but the 5 series Puppy may be different (?)

I am running a 511 frugal install on a a USB memory stick and want to upgrade it to 515. I have downloaded the 515 ISO and previously I've burned a CD, booted it and then installed to flash from this, but this is slow, wastes CDs and leaves me back with a fresh install without any of my personalisations.

Please advise the simplest way to uprade, thanks.
Back to top
View user's profile Send private message 
abedarts

Joined: 16 Nov 2009
Posts: 58

PostPosted: Fri 24 Dec 2010, 05:49    Post subject:  

Nobody ? That's unusual for this forum, it must be harder than I thought.

Perhaps everyone is too busy with Christmas.
Back to top
View user's profile Send private message 
TheAsterisk!


Joined: 10 Feb 2009
Posts: 403
Location: SE Wisconsin, US

PostPosted: Fri 24 Dec 2010, 07:37    Post subject:  

abedarts wrote:
Nobody ? That's unusual for this forum, it must be harder than I thought.

Perhaps everyone is too busy with Christmas.

Definitely Christmas.

Firstly, make sure you realize that 515 is a beta release for 520, which should be out fairly soon.

To update/upgrade, mount the newer CD *.iso (click on it) and from there copy the main Puppy *.sfs file (lupu_515.sfs in this case, I think) and copy it onto your flash drive. Once you're done copying it, click on the *.iso image again to unmount it, and you can delete the older Puppy *.sfs (lupu-511.sfs) off of your flash drive.

When you boot, a prompt will ask you to confirm that you wish to upgrade, and if you let it it will do just that. Your savefile should be usable in the newer version after this, but since 515 is a beta release and since I've not tried transferring a savefile to 515 myself, you should probably make a backup copy just in case before you boot it up. (I've only tested upgrading from 511 to 516, but it went smoothly enough.)
Back to top
View user's profile Send private message Visit poster's website 
abedarts

Joined: 16 Nov 2009
Posts: 58

PostPosted: Fri 24 Dec 2010, 10:06    Post subject:  

Many thanks TheAsterisk! - I do realise that 515 is interim on the way to 520, which is partly why I was looking for a quicker and more economical way to upgrade, because I may do it several times.

So just copy the new sfs, not vmlinuz and initrd.gz, (or any others) I noticed that these were different in size too?
Back to top
View user's profile Send private message 
nooby

Joined: 29 Jun 2008
Posts: 10522
Location: SwedenEurope

PostPosted: Fri 24 Dec 2010, 12:00    Post subject:  

I know nothing but I would just for the sake of it delete all three and copy the now three over to the usb and then boot it and accept that it upgrades.

Could you maybe save the three files on some HDD just in case you want to get back to 511?

To back up the pupsave file would be wiseable too?

_________________
I use Google Search on Puppy Forum
not an ideal solution though
Back to top
View user's profile Send private message 
Béèm


Joined: 21 Nov 2006
Posts: 11782
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

PostPosted: Fri 24 Dec 2010, 16:15    Post subject:  

abedarts wrote:
Many thanks TheAsterisk! - I do realise that 515 is interim on the way to 520, which is partly why I was looking for a quicker and more economical way to upgrade, because I may do it several times.

So just copy the new sfs, not vmlinuz and initrd.gz, (or any others) I noticed that these were different in size too?
hmm, are you a bit lazy?
What is easier then copy 3 files (the sfs, the vmlinuz and the initrd.gz) from the new ISO?

Merry Christmas.

_________________
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
Back to top
View user's profile Send private message 
abedarts

Joined: 16 Nov 2009
Posts: 58

PostPosted: Fri 24 Dec 2010, 17:45    Post subject:  

Yeah, dead idle.
Back to top
View user's profile Send private message 
ilanrab


Joined: 01 Apr 2007
Posts: 100

PostPosted: Fri 24 Dec 2010, 21:38    Post subject:  

Béèm wrote:
...
What is easier then copy 3 files (the sfs, the vmlinuz and the initrd.gz) from the new ISO?

Merry Christmas.

Copying just 1 file is easier. This is how:

1. Given: I want to install 515 onto a new flash drive that I
just purchased.
2. I run the universal installer, that is on my 511 system.
In the dialog box, that allows me to select a source directory,
I select the 515 directory (it's on the -loop mounted ISO file). Then
I wait for the install to finish.
3. Next, I copy the PupSave file to the new flash drive. (1 file only).
Wasn't that easy?

Merry Xmas, Béèm.

P.S. For the above upgrade scenario to take place, the Universal Installer's
directory filtering mechanism has to allow for the selection of lupu-515.sfs
as a target source directory file. Currently, it only allows for lupu-511.sfs
to be targeted. A simple change from filtering on lupu-511.sfs to filtering
on lupu-*.sfs should do the trick for future upgrade lovers.
Back to top
View user's profile Send private message 
TheAsterisk!


Joined: 10 Feb 2009
Posts: 403
Location: SE Wisconsin, US

PostPosted: Sat 25 Dec 2010, 06:12    Post subject:  

abedarts wrote:
So just copy the new sfs, not vmlinuz and initrd.gz, (or any others) I noticed that these were different in size too?

Well, you could just copy the sfs- it worked for me going from 511 to 516- but it would be wiser to copy all three files and to backup the old savefile before you upgrade.
There's no need to backup the initrd.gz, vmlinuz or lupu-511.sfs files from Lucid 511, though, assuming you still have the CD *.iso, since they're all still available from that. You can just delete those and keep the ISO.
Back to top
View user's profile Send private message Visit poster's website 
Béèm


Joined: 21 Nov 2006
Posts: 11782
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

PostPosted: Sat 25 Dec 2010, 06:27    Post subject:  

The instructions of Barry are to copy all three files in an upgrade operation.
Specially the initrd.gz could be adapted to a new version.

_________________
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 4631
Location: Charleston S.C. USA

PostPosted: Mon 27 Dec 2010, 11:53    Post subject:  

Warning about upgrading with a save file.
There are fundamental problems with upgrading a save-file, such as it breaks things.
It is the way that the /etc/rc.d/rc.update script works. If you install an upgrade PET for a Puppy Linux core program, when the save-file is upgraded to a newer version of Puppy Linux, many of the files get reverted to the "official" ones -- result, that program may not work.
Example:
Had previously upgraded to the latest "Adobe Flash Player", upgraded the save file to a newer version of Puppy Linux, and "Adobe Flash Player" also got reverted to the "official" one.
These are not new problems, they have been there since Puppy started.
Back to top
View user's profile Send private message 
frefel

Joined: 26 Feb 2009
Posts: 178
Location: Eugene, Ore., US

PostPosted: Mon 27 Dec 2010, 15:02    Post subject:  

Quote:
Warning about upgrading with a save file.
There are fundamental problems with upgrading a save-file, such as it breaks things.
It is the way that the /etc/rc.d/rc.update script works. If you install an upgrade PET for a Puppy Linux core program, when the save-file is upgraded to a newer version of Puppy Linux, many of the files get reverted to the "official" ones -- result, that program may not work.


I wondered why my upgrades never seem to be satisfactory.
Are you suggesting there a better way to do it?
Back to top
View user's profile Send private message AIM Address 
Béèm


Joined: 21 Nov 2006
Posts: 11782
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

PostPosted: Mon 27 Dec 2010, 18:42    Post subject:  

frefel, The better way is to start with a fresh save file.
If you upgrade a save file, which isn't really supported by 100%, you take the risk.

_________________
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
Back to top
View user's profile Send private message 
abedarts

Joined: 16 Nov 2009
Posts: 58

PostPosted: Tue 28 Dec 2010, 07:26    Post subject:  

I can confirm that just copying the SFS does not always work - the new version of initrd or vmlinuz, I'm not sure which but I guess the latter, is hard coded to look for a specifically named SFS file, such as lupu_511, lupu_515 etc. So the advice to copy all three files seems to be right.

Then the hope is that if your save file is renamed and copied it will fuction with the new version, however Beem and bigpup both warn against this for reasons of compatibility or finding that programs have been downgraded in the process.

So the reality seems to be that there is no upgrade mechanism - the best thing to do is download the new ISO, make a fresh install from it and then hand customise it back the way you like it?

A side issue -

During my efforts on this issue I often had more than one USB flash drive containing Puppy installs plugged into my laptop. One of these would be the currently running Puppy and others were other Puppy installs that I had made, possibly containing older / different versions. If I attempted to manipulate Puppy files on these latter drives Puppy would not let me and give a warning along the lines of 'you can't play around with this because it is in use', whereas in fact a file with the same name on the running Puppy was in use but this was a different logical drive. So, my guess is that some file name checks are not checking for the full path - drive/filename, just the filename.

(I hope nobody takes any of the above as criticism, I am a Puppy lover too!)
Back to top
View user's profile Send private message 
Béèm


Joined: 21 Nov 2006
Posts: 11782
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

PostPosted: Tue 28 Dec 2010, 20:48    Post subject:  

Read how puppy works.
_________________
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [15 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
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.0864s ][ Queries: 12 (0.0169s) ][ GZIP on ]