You are not logged in.

#1 2016-09-12 14:39:22

helfgott
Member
Registered: 2016-09-12
Posts: 2

Problems when installing in VBox

Hi everyone.

This is my first topic and I need a little bit of help.

I saw a NixCraft publication about ArchLinux so I wanted to install it in a VirtualBox  before going into the real hardware.

Everything was ok, except when I reached the GRUB point:

https://wiki.archlinux.org/index.php/installation_guide

I changed root: arch-chroot /mnt and then tried to install GRUB. But the commands grub-* were not found (yes previously I ran pacstrap /mnt base)

So I did Ctrl+D to go back in the ISO and tried to install GRUB:

The install works, but
grub-mkconfig -o /boot/grub/grub.cfg
arch linux- error:failed to get canonical path of 'airootfs

And I'm stuck there.

Seems like the grub tool is unable to find the path sad

I don't want to mess up my first installation so maybe someone could help me with this one.

¡Thanks!

Offline

#2 2016-09-12 15:04:55

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,741

Re: Problems when installing in VBox

While you were in the chroot environment, you should have installed grub.  Set your chroot environment back up and enter it. Then do a pacman -Syu grub

Oh, And welcome to the Arch Linux forums big_smile


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#3 2016-09-12 16:13:38

helfgott
Member
Registered: 2016-09-12
Posts: 2

Re: Problems when installing in VBox

ewaller wrote:

While you were in the chroot environment, you should have installed grub.  Set your chroot environment back up and enter it. Then do a pacman -Syu grub

Oh, And welcome to the Arch Linux forums big_smile



I already did that, in the chroot environment ran both commands, install works again but grub-mkconfig doesn't and it's the same error.

(I didn't know how to install things, previous that I had copied the binaries from the iso to the /mnt, the error was the same in that case and after pacman -Syu grub)

tongue

Offline

Board footer

Powered by FluxBB