Solved Unable to boot after installing Ubuntu

I installed Ubuntu on a disk yesterday which had FreeBSD installed and some spare space. The install went fine and I expect that after a reboot I would be greeted with a Grub menu.... Instead the system booted into Windows, which was unexpected...

My system has a BIOS boot order of hard disk - where FreeBSD (and now Ubuntu) are installed, and Msata disk where Windows is installed. The fact that the system didn't see the hard as a bootable device suggests that Ubuntu screwed something up.

Here is the current partition layout of the disk according to gpart:
Code:
=>        40  1953525088  da0  GPT  (932G)
          40        1024    1  freebsd-boot  (512K)
        1064   536870912    2  freebsd-ufs  (256G)
   536871976     8388608    3  freebsd-swap  (4.0G)
   545260584         984       - free -  (492K)
   545261568        2048    4  bios-boot  (1.0M)
   545263616  1408260096    5  linux-data  (672G)
  1953523712        1416       - free -  (708K)

Should I expect to be able to install FreeBSD's boot manager and have the option of booting either FreeBSD or Ubuntu via F1 or F2. I've never manually installed this, but assume all I need to run is:- boot0cfg -B da0 if the disk is mounted externally...

How do I determine why the disk is not seen as bootable via the BIOS?
 
Last edited by a moderator:
Just tried the disk on a different system - ThinkPad T530i and it boots!

I guess the problem is related to the ThinkPad X220 BIOS bug for which there is some sort of workaround which is applied during the installation of FreeBSD...
 
Back
Top