Dual- boot of MacBook Pro and Ubuntu. Change Boot Sequence

I’ve installed Ubuntu on my MacBook Pro (Retina 2013 November edition) and enabled dual- boot by rEFInd (reference http://www.rodsbooks.com/ubuntu-efi/). By default the system boots into Windows partition which does NEVER exist.

Here is the step how to change boot sequence to #Ubuntu

  • Boot into Mac OS
  • Update refind.conf
    sudo vi /etc/EFI/refind/refind.conf
  • Look for “manuentry” and find out the sequence of booting
  • Update the value of “default_selection”

This is the “menuentry” from my machine

# A sample entry for a Linux 3.3 kernel with its new EFI boot stub
# support on a filesystem called "KERNELS". This entry includes
# Linux-specific boot options and specification of an initial RAM disk.
# Note uses of Linux-style forward slashes, even in the initrd
# specification. Also note that a leading slash is optional in file
# specifications.
menuentry Linux {
icon EFI/refind/icons/os_linux.icns
volume KERNELS
loader bzImage-3.3.0-rc7
initrd initrd-3.3.0.img
options "ro root=UUID=5f96cafa-e0a7-4057-b18f-fa709db5b837"
disabled
} 

# A sample entry for loading Ubuntu using its standard name for
# its GRUB 2 boot loader. Note uses of Linux-style forward slashes
menuentry Ubuntu {
loader /EFI/ubuntu/grubx64.efi
icon /EFI/refined/icons/os_linux.icns
disabled
}

# A minimal ELILO entry, which probably offers nothing that
# auto-detection can't accomplish.
menuentry "ELILO" {
loader \EFI\elilo\elilo.efi
disabled
}

“default_selection 2” leads you to boot into Ubuntu

This entry was posted in linux, opensource, ubuntu and tagged , , , , , , , . Bookmark the permalink.