LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   General (https://www.linuxquestions.org/questions/general-10/)
-   -   Messed up my hard-disk. (https://www.linuxquestions.org/questions/general-10/messed-up-my-hard-disk-430/)

mathi 12-18-2000 02:45 AM

I was going to install the latest 'current' version of Slackware and I did a lot of repartitioning with Partition Magic, to create seperate /var /usr /tmp etc. I made a backup of all the important files to the first (win98) partition but when working with PM I couldn't resist it to enlange the win98 partition. Then I installed Slackware on a single partition and using LILO I wanted to make the system bootable again. Here I messed up. Completely. I installed LILO both in the MBR as well as in the boot-sector of the first partition, and this partition is now unreachable. The boot-sector is messed up and the root-directory is unreadable. Unfortunately it's formated with FAT 32 otherwise I could use norton's good old DiskEdit to recover the system by hand, or at least save my files. Of course it's unforgivable not to back-up on a set of floppies before, but now I need your help :(.
My question is: does anybody know a good diskeditor (or a very good disk-repair program for FAT32, I know in these cases scandisk will make an even bigger mess) so at least I can read this partition, and make a real backup of my files.

abndaddy00 01-02-2001 04:15 PM

I feel your pain man.
I did the same thing the 1st time I tried 2 Do the Dual Boot thing.
I lost over 300 Napster songs.....(that I d/loaded 56K)
but I learned an important lesson.
Just buy another Harddrive and Dedicate each one 2 an OS and manipulate BIOS to choose which 2 boot.
I know it sounds Neanderthal, because it is.

jeremy 01-02-2001 10:51 PM

To fix this you should be able to boot with a windows boot disk and type "fdisk /mbr". This will make windows bootable. Then boot with your Linux boot disk and reinstall LILO (You did make those boot disks right? ;) ). You SHOULD be able to boot both OS's with LILO again.

mathi 01-03-2001 02:15 AM

Thanks for the help, but I found a way to access the first partition and make the backup, with a Win98 bootdisk. fdisk /mbr only repaires only the Master Boot Record, but the problem was mainly in the boot-sector of the first partition. Now I just reformated the *#! thing. And unfortunately, my computer has no room inside for a second disk. But things are working now.

gr

Matthieu


All times are GMT -5. The time now is 12:57 PM.