> Disk /dev/hda: 255 heads, 63 sectors, 7476 cylinders
> Units = cylinders of 16065 * 512 bytes
> 
>    Device Boot    Start       End    Blocks   Id  System
> /dev/hda1   *         1      1275  10241406    7  HPFS/NTFS
> /dev/hda2          1276      2812  12337951+   f  Win95 Ext'd (LBA)
> Partition 2 does not end on cylinder boundary:
>      phys=(1023, 0, 63) should be (1023, 254, 63)
> /dev/hda3          2812      7476  37471581    b  Win95 FAT32
> /dev/hda5          1276      2681  11293663+  83  Linux
> /dev/hda6          2682      2811   1044193+  82  Linux swap

It seems that hda2 finishes at the same place hda3 starts.  That's probably
not a good thing.

I would suggest backing up everything on /dev/hda3.  Use fdisk or cfdisk to
delete the partition and then re-create itstarting at 2813.  Create a
filesystem on it and restore your data.

> Now is there a way to fix this?... Truth be told I'm not sure 
> what the Win95
> Ext'd (LBA) part is... AFAIK I have three partitions, Windows XP (I'm
> assuming the HPFS/NTFS), RedHat 9.0 (I'm assuming Linux and 
> Linux swap) and
> a Common partition (again assuming the Win95 FAT32)

/dev/hda2 Win95 Ext'd (LBA) is really nothing to do with Windows 95.  It is
an extended partition that holds logical drives.  In this case your logical
drives are /dev/hda5 and /dev/hda6.  It looks like this:

Primary Partition /dev/hda1 - Windows XP C:
Extended Partition /dev/hda2
     Logical Drive /dev/hda5 - Linux root partition
     Logical Drive /dev/hda6 - Linux swap partition
Primary Partition /dev/hda3 - Shared fat32 partition D:

If you have a lot of data on /dev/hda3, you will need to either write it to
CD or copy it to another disk before deleting it.  If you don't have enough
disk space to do that, you can bring your PC in to the CLUG meeting on
Wednesday.  I can bring in a spare 40GB drive to backup your data to (and
restore it from).  Let me know.


Later

David Kirk

Reply via email to