PDA

View Full Version : [SOLVED] Need Help dual booting win7 (on Win8 Laptop) and 14.4.1 LTS



subcook
June 30th, 2015, 05:38 PM
I've set up many OS's on a single HDD in the past but have never run into this.

Summer of 2013 I bought a laptop, Toshiba Satellite L855-S5383, i5, 650GB HDD, 8GB Ram and did not care for win 8/8.1. I wiped the HDD, made the necessary changes to the BIOS settings and installed Win7 Ultimate w/ Windows CD and everything was fine (note everything here is 64 bit).

With the anticipation of Win 10 coming out, I quickly realized that I had best get Linux on this laptop as well.

I shrunk the windows partition, reboot, than ran chkdsk, boot off the CD thinking I could use the ubuntu install wizard, and when it came to partitioning it said "....does not recognize current OS..." and showed my entire HDD as free space. I went back ang formatted the partition and tried it raw, I formatted NTFS, and the same result.

I threw in gparted and it also does not recognize anything anywhere on the HDD.

I also loaded into BIOS to see if I could adjust those settings again from when I ditched Win8, and they are no where to be found (UEFI I believe). I did this thinking that when I installed Win7, maybe there would be a booting issue, as I know the booting world changed w/ Windows with the release of Win 8 (again, UEFI I believe - still not very clear on it, guess Windblow$ wants to be even more anti-social). There was also an indicator in the ubuntu partition setup tool during installation that said the disk had GPD (or GTD) signatures were on the disk but something was deleted ..... I have no clue what this is, but have a hunch that this is an initial boot situation......meaning that my MBR is either trashed, or non-existent.

Right now my HDD has the 100MB Reserved partition, my Windows Parition, and 250-300GB partition set aside for unbuntu.

My goal is to have the reserved, win7, / (50GB) , 2-3GB Swap, /home (150GB)

Does it have to do with the MBR, or the absence of .....?

However I end up fixing this, will I have to go through the same process again when I put OpenSuSE on ?

Thanks in Advance !

oldfred
June 30th, 2015, 05:49 PM
Pre-installed Windows 8 is UEFI with gpt partitioning.
Windows 7's default install is BIOS with MBR partitioning. You have to copy install from DVD to flash drive and move some efi boot files to correct place to make it a UEFI installer. How you boot installer (UEFI or BIOS) is then the boot mode you have on hard drive.

But when Windows 7 installs in BIOS mode it converts drive from gpt to MBR and does it incorrectly. It seems Windows does not care about gpt's backup partition table (one of its advantages). So you have MBR but also have a backup gpt partition table. Most Linux tools see both MBR & gpt and assume drive must be totally repartitioned/reformatted.

You can easily fix by removing backup gpt partition table or reinstall Windows 7 in UEFI boot mode.
FixParts is the easiest way to remove the stray GPT data. GPT fdisk (gdisk or sgdisk) can do it, but the procedure's a bit more involved.
http://www.rodsbooks.com/fixparts/

You do need to have both Windows & Ubuntu in same boot mode, both UEFI or both BIOS.

GPT Advantages (older but still valid) see post#2 by srs5694:
http://ubuntuforums.org/showthread.php?t=1457901
https://wiki.archlinux.org/index.php/GUID_Partition_Table#Advantages_of_GPT
http://askubuntu.com/questions/629470/gpt-vs-mbr-why-not-mbr
UEFI Advantages
http://askubuntu.com/questions/446968/legacy-vs-uefi-help
http://en.wikipedia.org/wiki/Unified_Extensible_Firmware_Interface

subcook
July 1st, 2015, 04:09 PM
Thanks ! That helped. I solved this by actually using the opensuse 13.2 rescue .iso :

If you have a USB available:

Download the 13.2 live rescue CD. Maybe 13.1 would work for that, too.

Burn to the USB. Then startup Yast.

Install "gptfdisk-fixparts". That should install to persistant space on the USB.

(You could probably burn to a CD instead. But the install of "gptfdisk-fixparts" will be temporary, and will disappear on reboot).

Then run the "fixparts" command against your disk.

Here's the problem you are having:

Your computer came with UEFI and the Win 8 install used GPT partitioning on the disk.

You apparently switched to BIOS mode and legacy partitioning, to install Win7. But GPT partitioning is pernicious. Traces of the GPT partitioning table are still there, and "parted" and "gparted" do not like that.

The "fixparts" command can remove all remaining traces of GPT partitioning.

oldfred
July 1st, 2015, 05:26 PM
Glad you resolved it.
I am sure that is the same fixparts, but have not used nor know about OpenSuse.