Revision history for LinuxPartitionRepair


Revision [23291]

Last edited on 2012-08-17 09:07:56 by darkcity
Additions:
----
Deletions:
---


Revision [23290]

Edited on 2012-08-17 09:07:23 by darkcity
Additions:
[[HomePage]] > [[ComponentHowTo Components and HowTos]]
====How to repair disk partitions====
~Quote from Puppy forum on repairing a disk [[WikiPedia:Disk_partitioning partition]]-
~~If it is a Linux partition, reboot from Lighthouse 5 CD entering safe <Enter> at the boot menu. (safe is the same as debug pfix=ram,fsck,nox,nocopy)
~~Type df -h to locate your boot partition (the partition where your Lighthouse files are.) Let's say it's /dev/sda2 and df -h indicates it has at least 800M available.
~~Type umount -l /mnt/sda2 (that's -l as in Lazy)
~~Type mount <Enter> to verify it unmounted (sda2 not listed by mount is what you want to see.)
~~Type e2fsck -vfy /dev/sda2 (if it's a reiserfs, type reiserfsck /dev/sda2)
~~Type e2fsck -vy /dev/sda2 " "
~~Repeat last step until output is clean.
~~Type resize2fs -pf /dev/sda2
~~Type reboot
~~At the boot menu enter puppy pfix=ram,fsck,nocopy
~~Once in X Find Menu | System | File System | Muppy Quickmount
~~Select a partition and click unmount
~~Select the same partition and click Repair
~~Repeat last two steps for all Linux partitions except the swap partition.
~~Reboot entering fn at the boot menu (same as pfix=fsck,nocopy)
~~If everything is normal, reboot normally.
~~(That was complicated by not being able to run X. If X starts, just the last section will usually suffice.)
==Also on the Wiki==
~[[e2fsck]]
==Related Webpages==
~[[http://murga-linux.com/puppy/viewtopic.php?p=431450#431450 forum discussion on repairing partitions]]
---
CategoryTutorial
Deletions:
==How to repair disk partitions==
Quote from Puppy forum on repairing a disk [[WikiPedia:Disk_partitioning partition]]-
//########## Begin Linux Partition Repair ##########
If it is a Linux partition, reboot from Lighthouse 5 CD entering safe <Enter> at the boot menu. (safe is the same as debug pfix=ram,fsck,nox,nocopy)
Type df -h to locate your boot partition (the partition where your Lighthouse files are.) Let's say it's /dev/sda2 and df -h indicates it has at least 800M available.
Type umount -l /mnt/sda2 (that's -l as in Lazy)
Type mount <Enter> to verify it unmounted (sda2 not listed by mount is what you want to see.)
Type e2fsck -vfy /dev/sda2 (if it's a reiserfs, type reiserfsck /dev/sda2)
Type e2fsck -vy /dev/sda2 " "
Repeat last step until output is clean.
Type resize2fs -pf /dev/sda2
Type reboot
At the boot menu enter puppy pfix=ram,fsck,nocopy
Once in X Find Menu | System | File System | Muppy Quickmount
Select a partition and click unmount
Select the same partition and click Repair
Repeat last two steps for all Linux partitions except the swap partition.
Reboot entering fn at the boot menu (same as pfix=fsck,nocopy)
If everything is normal, reboot normally.
(That was complicated by not being able to run X. If X starts, just the last section will usually suffice.)
########## End Linux Repair ##########//
==Related Pages==
[[http://murga-linux.com/puppy/viewtopic.php?p=431450#431450 forum discussion on repairing partitions]]
----


Revision [16386]

Edited on 2011-07-05 11:56:12 by darkcity
Additions:
Quote from Puppy forum on repairing a disk [[WikiPedia:Disk_partitioning partition]]-
Deletions:
Quote from Puppy forum on repairing a disk [[partition]]-


Revision [16385]

Edited on 2011-07-05 11:52:26 by darkcity
Additions:
Quote from Puppy forum on repairing a disk [[partition]]-
Deletions:
Quote from Puppy forum on repairing disk [[Partitions]]-


Revision [16384]

Edited on 2011-07-05 11:52:02 by darkcity
Additions:
Quote from Puppy forum on repairing disk [[Partitions]]-
Deletions:
Quote from Puppy forum on repairing disk [Partitions]-


Revision [16383]

Edited on 2011-07-05 11:51:48 by darkcity
Additions:
[[http://murga-linux.com/puppy/viewtopic.php?p=431450#431450 forum discussion on repairing partitions]]
Deletions:
[http://murga-linux.com/puppy/viewtopic.php?p=431450#431450 forum discussion on repairing partitions]


Revision [16382]

Edited on 2011-07-05 11:51:16 by darkcity [add info from topic]
Additions:
==How to repair disk partitions==

Quote from Puppy forum on repairing disk [Partitions]-

//########## Begin Linux Partition Repair ##########
If it is a Linux partition, reboot from Lighthouse 5 CD entering safe <Enter> at the boot menu. (safe is the same as debug pfix=ram,fsck,nox,nocopy)
Type df -h to locate your boot partition (the partition where your Lighthouse files are.) Let's say it's /dev/sda2 and df -h indicates it has at least 800M available.
Type umount -l /mnt/sda2 (that's -l as in Lazy)
Type mount <Enter> to verify it unmounted (sda2 not listed by mount is what you want to see.)
Type e2fsck -vfy /dev/sda2 (if it's a reiserfs, type reiserfsck /dev/sda2)
Type e2fsck -vy /dev/sda2 " "
Repeat last step until output is clean.
Type resize2fs -pf /dev/sda2
Type reboot

At the boot menu enter puppy pfix=ram,fsck,nocopy
Once in X Find Menu | System | File System | Muppy Quickmount
Select a partition and click unmount
Select the same partition and click Repair
Repeat last two steps for all Linux partitions except the swap partition.
Reboot entering fn at the boot menu (same as pfix=fsck,nocopy)
If everything is normal, reboot normally.
(That was complicated by not being able to run X. If X starts, just the last section will usually suffice.)
########## End Linux Repair ##########//

==Related Pages==
[http://murga-linux.com/puppy/viewtopic.php?p=431450#431450 forum discussion on repairing partitions]



----
==Categories==
CategoryFileManager
Deletions:
http://murga-linux.com/puppy/viewtopic.php?p=431450#431450


Revision [7990]

The oldest known version of this page was created on 2010-07-04 03:05:51 by coolpup [add info from topic]
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki