To recover from a corrupted filesystem/files on your windows C: filesystem
you can do the below:
Make partitions of FAT32 30GB each for C: D: etc,
After you have installed all the required software make a linux ext3 filesystem
to tar up your C: dirs/files and you can untar them back whenever required.
Here is the process below:
boot up with puppylinux3.01 and do
cfdisk /dev/hda --> here hda could be some other like hdc or hdb
select new partition on the /dev/hda1 or whatever you have no filesystem on.
the select type and change the type to Linux(83) filesystem
finally write the filesystem to disk, becarefull at this point and don't mess up your windows partitions.
then finally format it to a ext3 filesystem which is usable with mkfs as below:
mkfs -t ext3 /dev/hda3 --> again hda3 can be hda5 or whatever your used in cfdisk
Now your ready to tar up your c: directories and files as below:
You will have Drives Icon on the puppy desktop select it.
you will see that you /dev/hda3 got created. Now you need mount both of these
files systems i.e. is the /dev/hda1 with your windows c: in it and your newly created
linux ext3 filesystem.
Just click on the icons with disk drive images on them to mount both drives.
You can observe the got mounted on your /mnt/hda1 and /mnt/hda3 locations:
Now open up your Console Terminal
cd /mnt/hda1 --> that is your windows location.
tar -cf /mnt/hda3/win2kcdrv.tar *
That's it.
So next time say your drive got screwed up just boot up with puppy linux, mount
your drives delete your "Program Files" "WINNT" or any other files you think might have got corrupted and recover you windows system.
You can use the procedure below to extract and copy files back to your c:
lets as above your c: is on /mnt/hda1
cd /mnt/hda1
mkdir recover; cd recover
tar -xf /mnt/hda3/win2kcdrv.tar
No you will find all your driectories in /mnt/hda3/recover where you can manually copy the required files or directories :).
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment