After previous installation failures(described further below), I finally had the option to install ubuntu alongside windows. I proceeded with that, and upon boot, there were no partitions found. Using a livedisk, i ran boot-repair, and now grub shows up, giving me the option to boot into ubuntu.
Previously, my 1TB hard drive had this layout:
partition 1: 100mb system reserved
p2: 850gb NTFS, windows partition
p3: 8.5 gb free space
p4: 140gb linux filesystem, with an older installation of ubuntu
It booted straight into windows 7. no grub, even though ubuntu was installed to part4.
After the latest ubuntu install, my 1TB hard drive has this layout:
p1: system reserved(pretty sure grub is here)
p2: 850GB Ext4, with ubuntu installed, and all the ubuntu files in root, no windows files
p3: 8.5gb free space
p4:140gb linux filesystem, with an older installation of ubuntu
grub now shows "Ubuntu"(partition 4), and "Ubuntu 13.10"(partition 2), and i'm running off of partition 4.
Not only that, but now my windows recovery cd says "this disk isn't compatible with your version of windows" and shuts down.
Looking in the "files" program in ubuntu, there is no "program files", no "windows", or anything indicative of my files still being there.
What i would like to do, in order of importance(but not necessarily which should be done first):
1. Recover my files.
2. Fix windows OS and be able to boot it.
3. Be able to dual boot windows/ubuntu.
Previous installation failures before all of the above, possibly irrelevant:
started out with win7. partitions were 100mb system reserved, 850GB windows with NTFS, 30GB truecrypt partition, the rest free space.
"install alongside windows" was not an option. when clicking "something else", the installation only detected 1TB of unallocated space.
I installed ubuntu in the last 140GB, and grub in the first 100MB.
It booted, but would not detect or boot windows.
I tried a number of tools, ntfsfix, testdisk, the one that ended up working was a windows recovery disk from another PC.
the disk detected windows, fixed the MBR and whatnot, booted windows, and then I tried again to install ubuntu, leading to the beginning of my post.
And, here is sudo fdisk -l output:
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x4ecc625d
Device Boot Start End Blocks Id System
/dev/sda1 1 1953525167 976762583+ ee GPT
Partition 1 does not start on physical sector boundary.