Code:
parted -l:
Error: Invalid partition table - recursive partition on /dev/sda.
Model: ATA WDC WD1600JS-60N (scsi)
Disk /dev/sdb: 160GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 32.3kB 31.5GB 31.5GB primary ntfs boot
2 31.5GB 41.9GB 10.5GB primary ntfs
3 41.9GB 160GB 118GB extended lba
5 41.9GB 83.9GB 41.9GB logical ntfs
6 83.9GB 126GB 41.9GB logical ntfs
7 126GB 160GB 34.2GB logical ntfs
fdisk -l:
Disk /dev/sda: 82.3 GB, 82348277760 bytes
255 heads, 63 sectors/track, 10011 cylinders, total 160836480 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xb263b263
Device Boot Start End Blocks Id System
/dev/sda1 * 63 63091573 31545755+ 7 HPFS/NTFS/exFAT
/dev/sda2 63091635 160810643 48859504+ f W95 Ext'd (LBA)
/dev/sda3 160811008 160835583 12288 7 HPFS/NTFS/exFAT
/dev/sda5 63091637 92193199 14550781+ 7 HPFS/NTFS/exFAT
/dev/sda6 145023137 160810643 7893753+ 7 HPFS/NTFS/exFAT
/dev/sda7 104498432 136709374 16105471+ 83 Linux
/dev/sda8 136709376 145022207 4156416 82 Linux swap / Solaris
/dev/sda9 92194048 104490239 6148096 83 Linux
Partition table entries are not in disk order
Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0df30df2
Device Boot Start End Blocks Id System
/dev/sdb1 * 63 61432559 30716248+ 7 HPFS/NTFS/exFAT
/dev/sdb2 61432560 81920159 10243800 7 HPFS/NTFS/exFAT
/dev/sdb3 81920160 312560639 115320240 f W95 Ext'd (LBA)
/dev/sdb5 81920223 163840319 40960048+ 7 HPFS/NTFS/exFAT
/dev/sdb6 163840383 245760479 40960048+ 7 HPFS/NTFS/exFAT
/dev/sdb7 245760543 312560639 33400048+ 7 HPFS/NTFS/exFAT
Your partition table on /dev/sda is corrupt. You have to 're-create' the partition table. However, it you change/delete/re-create partition table then all you data on the disk will be lost...
If you have data to save then boot with Ubuntu DVD/USB and save all the important data to an external device.
Option 1. Take it to manufacturer's service center and get it checked and corrected. [Recommended]
Option 2. Open Gparted -> Device -> 'create new partition table'. All your partions and data will be lost for good.
Option 3. With this we'll only repair the MBR. [DATA and partitions will NOT be lost, however a good backup is recommended].
Boot with your Ubuntu DVD/USB. Open Terminal [Ctrl+Alt+T]:
Backup your existing Partition Table
Code:
sudo dd if=/dev/sda of=/tmp/sda-mbr.bin bs=512 count=1
Now clean up the MBR
Code:
sudo dd if=/dev/zero of=/dev/sda bs=446 count=1
Now fix Windows8 boot, you can do this with Windows Repair Disc, or Windows8 Install Disc. If you haven't created a Windows Repair Disc then download Windows8 trial .iso for the same version of Windows8 you have in there.
Check if Windows can boot. If it does, then Boot with Ubuntu DVD/USB and Re-install Grub.
If Windows does NOT boot then, try re-installing Grub and see if it works and boots Ubuntu... it doesn't either then :
Restore the MBR we had backed up with:
Code:
sudo dd if= sda-mbr.bin of=/dev/sda bs=1 count=64 skip=446 seek=446
and you are left with Option 2 or Option 1.
Good Luck...
Bookmarks