So I installed Windows 7 on this laptop and when I fixed grub and booted back into Fudundu I found to my amazement that one of my partitions had disappeared
. Instead there was 80GB of free space exactly where that partition used to be.
(Causing Fudundu to fail to boot until I commented out that entry from fstab)
So I went over to TestDisk's site and managed to kind of restore my partition table... the old /etc/fstab file with the old UUID for that partition works and everything mounts properly.
The only problem is after I wrote the partition table using TestDisk, gparted doesn't show any partitions at all on /dev/sda. Fdisk shows the partitions but also shows some strange W95 Ext'd (LBA).
fdisk -l -u=cylinders
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xa8a8a8a8
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 102400 7 HPFS/NTFS/exFAT
/dev/sda2 13 10444 83783680 7 HPFS/NTFS/exFAT
/dev/sda3 10445 30402 160312635 f W95 Ext'd (LBA)
/dev/sda5 13055 23528 84130816 83 Linux
/dev/sda6 23529 24573 8393920 82 Linux swap / Solaris
/dev/sda7 27576 28097 4192932 83 Linux
/dev/sda8 28098 30402 18505728 83 Linux
After checking google it turns out what's happening is /dev/sda3 (extended) and /dev/sda8 (Fuduntu) are marked as being physically past the last cylynder on the harddrive.
My problem is I cant seem to figure out how to fix it. There's a solution given here
but I'm scratching my head trying to figure out how to get it to work in my case.
Here's sfdisk -d
# partition table of /dev/sda
/dev/sda1 : start= 2048, size= 204800, Id= 7, bootable
/dev/sda2 : start= 206848, size=167567360, Id= 7
/dev/sda3 : start=167782860, size=320625270, Id= f
/dev/sda4 : start= 0, size= 0, Id= 0
/dev/sda5 : start=209715200, size=168261632, Id=83
/dev/sda6 : start=377977383, size= 16787840, Id=82
/dev/sda7 : start=442992438, size= 8385864, Id=83
/dev/sda8 : start=451381248, size= 37011456, Id=83
And parted /dev/sda print
Error: Can't have a partition outside the disk!
Model: ATA WDC WD2500BEKT-6 (scsi)
Disk /dev/sda: 250GB
Sector size (logical/physical): 512B/512B
Partition Table: unknown