PDA

View Full Version : [all variants] HD malfunctioning



t_ras
July 8th, 2009, 05:27 PM
Hi to all
I have all system in sda1 but /home in sdb1.
sda1 is having problem in some cylinder and the OS makes problems because of it.
I would reinstall but I have a lot of precious data in /home
I have a few questions:
1) is there a way I can reinstall and still keep /home as is? (just by adding the same users or something?)
2) if not - is there a way I can tell the system not to use the bad sectors ,if I get the list someway from FSCK (which BTW was unable to fix anything)?
3) Where does MySQL keep its DB files, I want to be able to copy them away some way.

Thanks for the HELP!

t_ras
July 8th, 2009, 05:49 PM
Hey don't forget me! (poping)

t_ras
July 10th, 2009, 05:32 AM
poping

Dave_Connor
July 10th, 2009, 05:49 AM
I would reinstall and do not format /dev/sdb1 and make a dd image copy of your home partition "sudo dd if=/dev/sdb1 of=whereyouwantyourcopyofhome" just in case.

t_ras
July 11th, 2009, 09:50 AM
Iguess the problem ould be with security, is thers some way ,but just runnin chgroup and chown on all folders, to update to the new ones (userX-> userX, root->root....)

THANKS!

Zeedok
July 16th, 2009, 11:45 PM
You could try Clonezilla (http://clonezilla.org/) which I just tried out yesterday due to impending drive failure (I've had some issues too).