Dual Boot install Win7-Ubuntu, Lost a drive partition

Asked by Hanif Hunter on 2014-09-03

It seems after installing Ubuntu 14.04 LTS I am missing my primary partition of my 500 GB drive.

System drive info:
Primary drive is 80 GB drive with Win7 installed.
Secondary drive is 500 GB drive with originally intended 3 partitions:
  1. Data FAT32 or NTFS file for Win7 @ 350 GB
  2. Ubuntu root directory @ 80 GB (approx) (I think this is split between Data and OS partitions)
  3. Ubuntu Swap Drive @ 20 GB

So, this is kind of what I see when I boot in Windows and look at the disk manager.

However "sudo fdisk -lu" returns this:

Disk /dev/sda: 80.0 GB, 80000000000 bytes
255 heads, 63 sectors/track, 9726 cylinders, total 156250000 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: 0xeb275b50

   Device Boot Start End Blocks Id System
/dev/sda1 * 63 156232124 78116031 7 HPFS/NTFS/exFAT

Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 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: 0x89778aff

   Device Boot Start End Blocks Id System
/dev/sdb1 2046 152578047 76288001 5 Extended
/dev/sdb2 152578048 976769023 412095488 82 Linux swap / Solaris
/dev/sdb5 2048 136718335 68358144 83 Linux
/dev/sdb6 136720384 152578047 7928832 82 Linux swap / Solaris

So I am thinking that the data drive is /dev/sdb2, but I just seem unable to mount it and it's being identified as a Linux Swap/Solaris system. Windows can see it, but can't mount it either, so I need to have Ubuntu mount it for Windows to use, that I know.

Do I need to follow the instructions here:
https://help.ubuntu.com/community/MountingWindowsPartitions

Just want to make sure my concerns about how the drive are identified wont mess things up more and make sure I am not wasting time.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu fglrx-installer-updates Edit question
Assignee:
No assignee Edit question
Last query:
2014-09-03
Last reply:
2014-09-04

You cannot mpunt swap space as it is essentially an extension of RAM. It isn't a file system per se.

If your system has been using it as swap then the data will have changed and the data will be irretrievable.

If the partition has not been used, you can use fdisk to change it's type then use fsck to see if files can be found. If it is NTFS then you will need to use Windows tools but delete the partition and recreate. It may help.

Having a good backup system would totally remove any need for any of this effort but I am guessing you don't have that

Can you help with this problem?

Provide an answer of your own, or ask Hanif Hunter for more information if necessary.

To post a message you must log in.