start live did't work for me, any way here is the table..
if it didn't work then how did you boot into a live os to use the fdisk command?
ok nothing like what i was expecting to see, there's no hidden restore partition there for starters, and the partitions start on the same number as the end of previous partition, where i'd expect them to be 1 greater.
partition sda4 is just an extended partition, so really it's sda5 that is wrong and should start at 24906 and not 25544
according to that win7 had at least 2 hard drive labels before you created the 3rd "E" drive out of the ubuntu partition which it said was free space.
is that correct?? so you had ,C and D drives in win7 even when boss was installed?
i think this is what each partition is but am not 100% sure
sda1 is win7 system reserved partition (boot partition, where win7 stores boot files and boss put your grub bootloader.)
sda2 is win7 operating system (win7 C drive?)
sda3 is win7 data (win7 D drive?)
sda4 is an extended partition which just means it is like an empty hard drive, used to create more partitions.
you need one with mbr disks if you want to create more than 4 partitions on a drive.
sda5 is where the ubuntu os was i'd guess (win7 E drive?)
and the missing blocks from 24906 to 25544 which is now empty space would have contained boss swap partition.
so because i'm not 100% certain before you do anything else i want you to examine sda5 and see what if any files are on it.
if it's empty then it's safe to delete (using fdisk) both the sda4 and sda5 partitions leaving the space empty on the hard drive.
now when you come to install boss it will use that empty space so you should have no fear of it accidentally using/deleting the partitions with anything win7 related.
if it's not empty we'll have to do some more investigating of your partitions to find out what is on them before making any changes.
not sure if this will work it's been to long since i've actually booted straight to a windows partition and my memory isn't that great but i think you can do a quick check of the win7 os now if you move the * from sda1 to sda2 partition, using fdisk, this should boot into your win7 on a restart.
to change boot partition use these commands.
sudo fdisk dev/sda
a
1
a
2
p
now you should see the * next to sda2 (if you don't see what you expect, DO NOT use the write w command and just quit out of fdisk using q as the next command.)
to actually make the changes stick, we need to write them to the hard drive so the next command is
w
now you can restart your pc to test if it will boot into win7.
after the test and before installing boss change the * boot partition back to sda1, do this using the same commands just change the number order so the first number you enter is 2 and last is 1.
to delete the partitions ready to install boss these are the commands.
sudo fdisk dev/sda
d
5
d
4
p
ok now sda4 and sda5 should not show in the table, (if you don't see what you expect, DO NOT use the write w command and just quit out of fdisk using q as the next command.)
again to make the changes permanent we need to write them to the hard drive with w.
w
now you can restart your pc and install boss and when it's finished you should have both win 7 and boss operating systems bootable again.
just to recap.
check sda5 is empty
can do a test boot of win7 now if you want.(optional, and may not work depending on how good my memory is.)
if sda5 is empty
can delete both sda4 and sda5 partitions and now install boss and everything should be working as before.
sda5 is not empty, do nothing and report back here what is on there.
