Sunday, December 18, 2016

installation - Installer doesn't recognize Windows 8 partition, how do I set up a dual boot?




I have a windows 8 dev preview install, with plenty of unused (unpartitioned) space on the hdd. However, the ubuntu installer (from usb) doesn't recognise windows 8 - it says:



This computer currently has no detected operating systems. What would you like to do?



With the option to either erase the disk, or do "Something else". If I choose the second option and select the "free space" area and "Install Now" I get:



No root file system is defined.


Please correct this from the partitioning menu.



So: is there anything good I can do here to run on-the-metal side-by-side? The alternative is dropping one (probably Ubuntu, since windows 8 is already there) into a VM.



I am triple booting Windows7, Windows 8 developer preview and Ubuntu 11.10 64-bit. If Win8 is so important to you, I should tell you that there's no way of adding a boot entry of Ubuntu in Windows8 boot menu and ubuntu wont recognise windows 8 (I have run down sudo update-grub and it didnt recognize win8).


So install windows7 in as small partition as possible. Use easeus partition manager or gparted live cd or any Ubuntu live cd (select Try Ubuntu and use gparted).


You can download gparted live here. There are also instructions to make a live cd/usb over there.


Resize your win8 partition and make a partition for win7 and some free space for Ubuntu,and install win7 in the partition. It is good to have a patition for data (so that it can be accessed in all 3 OS es, and it would be convenient if Ubuntu, Win7 and data are all in extended partition). This is how my partition table looks


enter image description here


Windows 8 recognizes Win 7 and a menu entry of win7 will be present in win8 boot menu. Now boot into Ubuntu live cd installer and use advanced option and select free space and select add option and make a partition for /, /home, and swap and install the bootloader in the respective / partition and remember the partition (like sda7). Once installed, do not restart, just close the window and open a terminal and run the following command


sudo dd if=/dev/sda7 of=/media/SHARE/ubuntu.bin bs=512 count=1

if is input file path and of is the output file path. Copy the created ubuntu.bin into the C drive of win7. Now boot into win7 and follow this article.


After this just select the boot options of win8 and make win7 as default OS to boot, which will give you win7 boot menu with win8 and Ubuntu


No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...