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 28 Aug 2014, 07:10
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
How to: Fix a full install & retain your settings & software
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [5 Posts]  
Author Message
perdido

Joined: 09 Dec 2013
Posts: 70

PostPosted: Sun 13 Jul 2014, 15:28    Post subject:  How to: Fix a full install & retain your settings & software
Subject description: Instructions to repair a corrupt full install to hard drive and retain settings and software
 

First, I searched the forum and did not find using the "Upgrade" install as a repair method anywhere. If it is on the forum please point me to it.
Please feel welcome to add any additional information you may have or correct any mistakes I may have made.
Thanks!
**********************************************
Problem: You somehow corrupted your Puppy Linux full install to hard drive and you wish to repair it and retain your installed programs and settings.

First lets determine what kind of corrupt install you have.

Using Gparted as a tool to repair a broken full install
One way to corrupt a full install is losing power and damaging the file system. If you suspect you damaged the file
system in this manner (or another way) then the "upgrade" install may or may not work, I have not used it for a puppy damaged
in this way. In the next post after this one, <click here> bigpup explains how to use gparted to check your file system and repair your
file system. That would be a good place to start if you know your problem was not created by adding and removing a pet through the Puppy Package Manager or accidently deleting something.

Using the "Upgrade" install as a tool to repair a broken full install
Another way I have seen a puppy install get corrupted is trying to install a pet (using Petget or the Puppy Package Manager) that was made for a different version of Puppy Linux than you are running, then removing it with the Package Manager when it did not work. The Puppy Package Manager removes all of the pet, including overwritten files that the system needs. The "upgrade" install will be a good way to fix this kind of problem.

***********************************************

The following install method will allow you to do an "upgrade" install and keep all your programs and settings.
There is no guarantee that this procedure will work. It has worked every time I have needed it.

You will need the install CD of your version of Puppy Linux, you can also re-install from a USB stick.
Remember to use the same version of puppy you are repairing.
--------------------------------------------------------
This is for Puppy Precise Version 5.7.1 Should work for other 5.xx series puppies but I have not tested this on
anything but Puppy Precise 5.7.1 . The procedure for Puppy 4.xx is farther down the thread.

To do an "upgrade" install

1. Boot from USB or CD
2. Go to Menu > Setup > Puppy Universal Installer
3. Choose the media you want to install to (same place where the broken puppy is installed to)
3. Choose where to install to (same hard drive where the broken puppy is installed, sda, sdb, etc)
4. Choose where to install to again (same partition where the broken puppy is installed. sda1, sda2, etc.)
5. Click OK to install puppy
6. Tell Installer where are the puppy files
7. After inserting media (already inserted) click OK
8. Choose "FULL" install
9. Choose "UPGRADE"

Then it says "Please wait, copying files"

Just close the next window when done, you do not need to install grub, it is already installed.

Shut down puppy, if asked choose "Do Not Save"
--------------------------------------------------------------------------

Now start computer and puppy boots and everything is like you had it. No need to re-do Opera or anything else.


*******************************************************

Puppy Version 4.xx

You can do an "upgrade" install, that will keep all your programs and settings. You will need the install CD of your version
of Puppy Linux, you can also re-install from a USB stick. Remember to use the same version of puppy you are repairing.

The following 5 steps may or may not be needed. If you can already boot your puppy straight into Puppy Linux then skip
these 5 steps and go to "To do an "upgrade" install

1. Boot from USB or CD
2. Choose mouse type
3. Select keyboard
4. In Puppy Video Wizard choose Xorg or Xvesa (I use Xorg)
5. Choose monitor
6. Choose video mode

That gets you to puppy linux.
To do an "upgrade" install

1. Boot from CD or USB
1. Go to Menu > Setup > Puppy Universal Installer
2. Choose the media you want to install to.(same place where the broken puppy is installed to)
3. Choose which drive to install to: (same hard drive where the broken puppy is installed, sda, sdb, etc)
4. Choose where to install to again (same partition where the broken puppy is installed. sda1, sda2, etc.)
5. Click OK to install puppy
6. Tell Installer where are the puppy files
7. After inserting media (already inserted) click OK
8. Choose "FULL" install
9. Choose "UPGRADE"

Then it says "Please wait, copying files"

Just close the next window when done, you do not need to install grub, it is already installed.

Shut down puppy, choose "Do Not Save"
--------------------------------------------------------------------------

Now start computer and puppy boots and everything is like you had it. No need to re-install all your software.

/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\

An ounce of prevention...or what steps you can take to keep your puppy file system tuned up once your install is up and running again.

mikeb explains how to add an automatic file system check to run each time you boot your Puppy Linux full install.
See this post <click here> for his method on how to modify your rc.sysinit to do that.


.
.

Last edited by perdido on Mon 14 Jul 2014, 14:30; edited 12 times in total
Back to top
View user's profile Send private message 
bigpup


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

PostPosted: Sun 13 Jul 2014, 17:33    Post subject:  

Quote:
Problem: You somehow corrupted your Puppy Linux full install to hard drive and you wish to repair it.

The first thing to do is check the file system.
This may be the file system corrupted not the install.

Do this by using Gparted from a Puppy live CD or USB.

Run the program Gparted and have it do a check of the hard drive.

To use Gparted:
Boot with the Puppy live CD
At the Puppy boot screen hit F2 key.
Use the boot option puppy pfix=ram.
This keeps the hard drive from being mounted.
Hard drive can not be mounted for Gparted to work.

In Gparted
right click on a partition
Select check
If it finds anything wrong it will correct.

If you have more than one partition on hard drive
run a check on all of them.

Also, you need to state in your procedure that the upgrade install needs to be to the exact same location as the full install you are upgrading.
The exact hard drive partition the full install is on.

Also, point out this may or may not work.

Also, there are some repair options, offered as boot options, when you boot with a live Puppy CD or USB.
(must be same Puppy version as the one you are trying to repair)

At boot hit F2
enter boot option

puppy pfix=clean -file cleanup (simulate version upgrade)

puppy pfix=purge -more radical file cleanup (to fix broken systems)
This one may do more than you want and you may loose added stuff

_________________
I have found, in trying to help people, that the things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
Back to top
View user's profile Send private message 
perdido

Joined: 09 Dec 2013
Posts: 70

PostPosted: Sun 13 Jul 2014, 18:33    Post subject:  

bigpup wrote:

The first thing to do is check the file system.
This may be the file system corrupted not the install.


Thanks bigpup, I changed my original post to reflect this and referred possible file system corruption to your instructions on using Gparted.


Quote:
Also, you need to state in your procedure that the upgrade install needs to be to the exact same location as the full install you are upgrading.
The exact hard drive partition the full install is on.

Also, point out this may or may not work.


Thanks, I overlooked that very important item and pointed out the procedure may or may not work.

Your input is very much appreciated!


.
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 8213

PostPosted: Mon 14 Jul 2014, 06:26    Post subject:  

You can add a file system check to just before the filesystem is remounted read/write in rc.sysinit ... -y for unattended... I found that helped full install reliability even on ext3.

mike
Back to top
View user's profile Send private message 
perdido

Joined: 09 Dec 2013
Posts: 70

PostPosted: Mon 14 Jul 2014, 14:25    Post subject:  

mikeb wrote:
You can add a file system check to just before the filesystem is remounted read/write in rc.sysinit ... -y for unattended... I found that helped full install reliability even on ext3.

mike

Thanks mikeb!
I pointed to your method to do a file system check every boot of a full install.


.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [5 Posts]  
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.0730s ][ Queries: 11 (0.0045s) ][ GZIP on ]