LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-21-2004, 12:28 PM   #1
hi-clier
LQ Newbie
 
Registered: Jul 2004
Location: New Delhi, India
Posts: 11

Rep: Reputation: 0
Linux partition over written with Fat32 data!


Hi,

I used to have a dual-boot PC having Windows 98 SE and Mandrake 9.1. The Hard-Disk layout used to be like the following:-

/dev/hda1 (C: Drive) = 9.75 GB Fat32 Primary Partition (Windows 98 SE installed here)
/dev/hda2 = 27.45 GB Extended Partition
/dev/hda5 (D: Drive) = 7.1 GB Fat32 Logical Partition
/dev/hda6 (E: Drive) = 17.7 GB Fat32 Logical Partition
/dev/hda7 = 2.65 GB ext2 Logical Partition (Mandrake 9.1 installed here)

Once I wanted to reinstall Windows and hence tried to backup the entire C: Drive on the D: Drive which I forgot already had 1-2 GB of data on it and thus wouldn't have been able to hold the C: Drive's contents. However I never got any error messages to let me know that the D: Drive was full. Instead it turns out the extra Fat32 backup data spilled over and overwrote my entire Mandrake install partition i.e. hda7. Thereafter LILO failed to load the Linux image and gave error displaying an indecipherable string of letters and numbers (starting memory location of the corrupted
Linux image in my opinion).

Now when I tried to view my partition table using the fdisk utility bundled with Knoppix 3.6 LiveCD I got this :-

Disk /dev/hda: 40.0 GB, 40060403712 bytes
255 heads, 63 sectors/track, 4870 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 1275 10241406 c W95 FAT32 (LBA)
/dev/hda2 1276 4870 28876837+ f W95 Ext'd (LBA)
/dev/hda5 1276 2198 7413966 b W95 FAT32
/dev/hda6 2551 4870 18635368+ b W95 FAT32
/dev/hda7 ? 204769 165096 1828815217 ef EFI (FAT-12/16/32)


I didn't have any data on hda7. However I would like to reclaim the partition back, format it with ext2/ext3 and install Knoppix 3.6 on it. I went someway through the install process and quit when it asked me whether I wanted to partition my hard drive, since my HD is already partitioned. All I want to do is somehow straighten my ruined hda7 partition and install Knoppix 3.6 on it.

Help is appreciated very much since I am confused as to how to do this.

Thanks.
 
Old 11-21-2004, 12:48 PM   #2
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
Well, all data on that drive is lost, you're going to need to reinstall linux. Simply reinstall it as you would if you were installing for the first time.
 
Old 11-21-2004, 07:35 PM   #3
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 53
better delete hda7 and let the linux use the unallocated space
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows Messed Up My FAT32 Data Partition--Using FC4 to Access Fails Trip in VA Fedora 6 10-29-2005 08:48 PM
Software to help me recover 'Deleted' FAT32 Partition Data? flamesrock Linux - Software 8 07-26-2005 10:39 PM
Recovery of lost data from FAT32 partition... devis Linux - Software 1 07-11-2005 08:10 AM
From WindowsXP I cannot access files written onto vfat-partition under Linux Agi Hammerthief Linux - Hardware 10 01-19-2004 01:07 PM
data loss on FAT32-Partition sem2 Linux - General 1 08-01-2003 11:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration