You are not logged in.

#1 2014-11-10 11:05:02

xavanos11
Member
Registered: 2014-11-10
Posts: 7

Install with VirtualBox, problem with GRUB

Trying to get ArchLinux installed on VirtualBox. I went through the beginner's guide, networking works fine, no problem.

However, after installing grub the following appears on startup, and does not start ArchLinux:

FATAL: No bootable medium! System halted.

https://bbs.archlinux.org/viewtopic.php?id=148145

I found the above thread and followed the instructions to install GRUB but it still doesn't boot up.

pacman -S grub
grub-install --target=i386-pc --recheck /dev/sda
grub-mkconfig -o /boot/grub/grub.cfg

After I run `grub-install --target=i386-pc --recheck /dev/sda`, the following appears:

Installing for i386-pc platform.

grub-install: warning: this GPT partition label contains no BIOS boot partition; embedding won't be possible
grub-install: error: embedding is not possible, but this is required for cross-disk install.

Here is the output of fdisk:

Disklabel type:   gpt

DEVICE     Size      Type

/dev/sda1   20.8GB  Linux Filesystem

Any ideas?

Offline

#2 2014-11-10 11:09:36

JxDeveloper
Member
Registered: 2014-11-10
Posts: 1

Re: Install with VirtualBox, problem with GRUB

Same problem, same asking...

Offline

#3 2014-11-10 17:15:26

skunkos
Member
From: Czech Republic
Registered: 2011-06-20
Posts: 46
Website

Re: Install with VirtualBox, problem with GRUB

The error output is crystal clear. Your disk uses GPT. If you want to maker your GRUB working with GPT disk, then you must follow GRUB wiki entry carefully.

Offline

#4 2014-11-10 17:50:55

CarlD
Member
From: London
Registered: 2013-11-23
Posts: 128

Re: Install with VirtualBox, problem with GRUB

1. You are using the wrong table type. GPT is intended for UEFI systems. For BIOS systems (which most Virtualbox installations are), you should be using MBR/MSDOS.

2. The Grub command you used is for BIOS/MBR systems, not UEFI/GPT.

Change the table type, and after re-installing, the GRUB command you used will work.

Offline

Board footer

Powered by FluxBB