Sunday, April 28, 2024
 Popular · Latest · Hot · Upcoming
5
rated 0 times [  5] [ 0]  / answers: 1 / hits: 32027  / 2 Years ago, mon, october 3, 2022, 3:20:25

I installed windows 8.1 on my new laptop (which came with freedos), I later tried to dual boot the pc with ubuntu 14.04 (with legacy mode). I didn't get an option to install alongside windows 8 so I went with "something else" option. I created the root and swap partitions and then installed ubuntu. Everything went fine while installation. But after rebooting it directly boots into ubuntu, it does not show the GRUB menu for choosing between ubuntu and windows.



After using 'fixmbr' in the windows installation disc, I can now boot into windows but cannot boot to ubuntu. I deleted the linux partition and tried to the above again but I ended with the same problem.



So I was thinking if there was a solution like a command or something which could make GRUB identify the windows partition and give an option to boot to it.



(if it may help, my windows is installed in legacy mode(as in BIOS mode).. if I disable legacy mode the laptop does not boot into any os and it asks for an EFI file to boot from. Also my liveusb boots only through UEFI mode. When I boot it in normal/BIOS mode it shows a blinking '_' )



Please help guys.. I need both the OSes for my projects. And I need them fast.



Thanx in advance..


More From » boot

 Answers
1

I really dont know a lot about Linux, but i fixed the same problem by:




  1. Check if grub is installed



    grub-install --version


    or even



    sudo dd bs=512 count=1 if=/dev/sda 2>/dev/null | strings

  2. If it is installed, probably he is not recognizing windows boot, so it directly boots into ubuntu and wont show the grub screen. So, if your windows boot file was not deleted, this should make grub appear and recognize windows as a boot option.



    sudo -H gedit /etc/default/grub


    Insert # at the start of the line GRUB_HIDDEN_TIMEOUT=0.



    Now save then run:



    sudo update-grub



This should be fine to make Grub menu appears on every boot.



( Grub menu won't show on dual Boot )


[#23068] Monday, October 3, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
edgehogight

Total Points: 272
Total Questions: 113
Total Answers: 99

Location: Northern Mariana Islands
Member since Sun, Jul 19, 2020
4 Years ago
edgehogight questions
Sat, Sep 11, 21, 22:09, 3 Years ago
Sat, Nov 6, 21, 19:48, 3 Years ago
Fri, Aug 26, 22, 09:37, 2 Years ago
;