Saturday, March 26, 2016

installation - Not Getting OS Selection menu after Boot-Repair



I had Ubuntu 12.04 pre-installed on my laptop with /home partition of about 246GB (and all other partitions like / and /boot etc. with variable sizes).
I shrinked the drive and made a new one of 100GB from /home and installed windows 8 there. After that Grub menu was not being shown as obvious.




Then I booted live cd (same Ubuntu 12.04) and did "recommended repair" by boot-repair. It said everything went fine but when I start the system, Grub does not show the option to select windows OS.



Only those, with Linux-generic and recovery kind of options, but not Windows Loader.



Here is the log file from boot-repair.



enter image description here




  • From the screenshot,it was clearly shown that you installed Windows on a logical partition.Windows doesn't boot from a logical partition,it only boots from a primary partition.



  • So delete /dev/sda8 and install windows on a primary partition other than extended partition.


  • For this,follow the below steps.




    1. Boot ubuntu-live-disk(so that your ubuntu partition will be unmounted and you will be able to resize it) and install gparted by running the below commands on terminal,



      sudo apt-get update
      sudo apt-get install gparted && sudo gparted

    2. Right click on the /dev/sda8 ntfs partition and delete it by selecting delete option.



    3. Now the unallocated spaces before and after /dev/sda8 combine into one.(unallocated space= 3.74 MB+100.09 GB+4.74MB).


    4. Then you have to move the total unallocated space,just below to the /dev/sda7 linux-swap partition,so that the total unallocated space will be throw out of the extended partition.For this,


    5. Right click on the dev/sda6 and select Resize/Move option.Click on the slider and move it to the left atmost.


    6. Now the unallocated space comes just below to the /dev/sda6.



      enter image description here


    7. Try the same like i did on step 5 to move the unallocated space just below to the /dev/sda7 linux swap partition.


    8. Now the total unallocated space of about 100 GB are comes at the last of the extended partition.Now right-click on the extended partition and click on the Resize/Move option then you can be able to shrink or shorten the extended partition to throw 100 GB unallocated space out of the extended partition.


    9. Right click on the unallocated space just below to the extended partition and select New option.


    10. From that create a new primary ntfs partition.And then install Windows os on it.





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 (...