Monday, May 6, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 5204  / 3 Years ago, mon, september 6, 2021, 11:39:39

I just installed ubuntu 12.04 using a different partition for the /boot (I don't know why exactly I did this, I remembered reading somewhere on the web about this). The thing is that after this operation, the grub is not showing at boot, so the computer is loaded directly into windows. The partitions available on my hdd look something like this:




  • ubuntu partition -> mounted /

  • swap area partition

  • ubuntu boot partition -> mounted /boot

  • windows partiton

  • windows system reserved partition (was created automatically)



What should I do in order to have grub showing at boot ? I searched for this kind of issues on the internet (including this website) and found that I could boot using a live cd and install a program called Boot-Repair and try using it to fix the problem. I'm thinking also of booting using the live cd and from a terminal to reinstall grub using another partition (the main /dev/sda I suppose).



What do you think ? What is the proper solution for this situation ? Perhaps editing the grub config file would be another option (I don't know exactly how, but it could work) ?



EDIT:



Since an internet connection wasn't available so I could install the Boot-Repair, what I did was the following:




  • Booted using a live CD and went to a terminal

  • mounted the ubuntu install partition, the initial separated /boot partition and also the /sys, /proc, /run, /dev

  • chrooted into the ubuntu install

  • reinstalled the grub using /dev/sda as location

  • updated grub



At this point the grub update said it detected two linux images, one free dos and another windows system. I thought everything was fine, so I restarted the computer. But when the grub shows up, there are only two options to select from, the free dos and the windows.



What did I do wrong ?


More From » 12.04

 Answers
6

I finally succeeded repairing the boot using the Boot-Repair utility.


[#35456] Wednesday, September 8, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
eighethod

Total Points: 358
Total Questions: 112
Total Answers: 119

Location: Cayman Islands
Member since Fri, Mar 4, 2022
2 Years ago
;