Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I installed Ubuntu 12.04 as a dual boot with Windows 8, and it boots me to Ubuntu directly without showing any boot menu. I tried to repair it using rEFInd, but rEFInd failed to install. Here is my system info:

Model: ATA ST320LT012-9WS14 (scsi)
Disk /dev/sda: 320GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt

Number  Start   End    Size    File system     Name                          Flags
 1      1049kB  420MB  419MB   ntfs            Basic data partition          hidden, diag
 2      420MB   735MB  315MB   linux-swap(v1)  EFI system partition          boot
 3      735MB   869MB  134MB                   Microsoft reserved partition  bios_grub
 4      869MB   305GB  304GB   ntfs            Basic data partition
 5      305GB   320GB  15.0GB  ext4            Basic data partition          hidden, diag

And here is the message for the failed install of rEFInd which is supposed to fix the bootloader issue:

(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25A
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 142769 files and directories currently installed.)
Preparing to replace refind 0.6.11-1 (using .../refind_0.6.11-1_amd64.deb) ...
Unpacking replacement refind ...
Setting up refind (0.6.11-1) ...
/var/lib/dpkg/info/refind.postinst: line 4: efibootmgr: command not found
Installing rEFInd on Linux....
EspFilesystem is ''
//boot/efi doesn't seem to be on a VFAT filesystem. The ESP must be
mounted at //boot or //boot/efi and it must be VFAT! Aborting!
dpkg: error processing refind (--install):
 subprocess installed post-installation script returned error exit status 1
share|improve this question
If you hold shift during boot process, does GRUB menu show? Also, can you run Boot Repair from a Live CD and post its info link? help.ubuntu.com/community/Boot-Repair –  DaboRoss Jun 10 '13 at 5:44
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.