You are not logged in.

#1 2019-10-22 05:29:22

PeterOpenSource
Member
Registered: 2019-10-22
Posts: 2

Grub install not possible [SOLVED]

Hi everyone,

I have x86_64 PC with Bios without EFI.
I tried to install ArchLinux 2019-10-01.
I followed the wiki install guide.
I have a Windows partition #1
and Linux Partition #2.
I got this error
grub-install: error: failed to get canonical path of 'airootfs'

I have no clue what airootfs is.
What can I do to get my bootloader installed?

Kind regards
Peter

Last edited by PeterOpenSource (2019-10-22 18:31:25)

Offline

#2 2019-10-22 06:44:58

chrisdb
Member
From: Belgium
Registered: 2018-05-16
Posts: 155

Re: Grub install not possible [SOLVED]

there's not much info to start with....

you say you followed the wiki, but which commands, aside from grub-install, did you issue before getting this error?

this error usually means you're not running the command from within chroot...


Failure is success in progress.
A.E.

Offline

#3 2019-10-22 08:20:04

blackwolf
Member
Registered: 2019-10-22
Posts: 6

Re: Grub install not possible [SOLVED]

Please provide more output and information about commands and env

Offline

#4 2019-10-22 14:52:00

Zod
Member
From: Hoosiertucky
Registered: 2019-03-10
Posts: 636

Re: Grub install not possible [SOLVED]

https://wiki.archlinux.org/index.php/Du … th_Windows

Edit
https://wiki.archlinux.org/index.php/GR … S/MBR_mode

Particularly this section..

Detecting other operating systems
To have grub-mkconfig search for other installed systems and automatically add them to the menu, install the os-prober package and mount the partitions that contain the other systems. Then re-run grub-mkconfig.

MS Windows
Often, partitions containing Windows will be automatically discovered by os-prober. However, NTFS partitions may not always be detected when mounted with the default Linux drivers. If GRUB is not detecting it, try installing ntfs-3g and remounting.

Make sure you have the "which" package installed, along with os-prober and ntfs-3g before you install grub.

Grub gets installed to the drive e.g. "sda" NOT a partition e.g. "sda1"(your actual drive and partition info may vary).

Last edited by Zod (2019-10-22 15:12:42)

Offline

#5 2019-10-22 17:40:06

PeterOpenSource
Member
Registered: 2019-10-22
Posts: 2

Re: Grub install not possible [SOLVED]

Thanks everybody. Yes, it was a chroot mistake. And thanks, Zod!

Greetings
Peter

Offline

#6 2019-10-22 18:29:33

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,726
Website

Re: Grub install not possible [SOLVED]

Please remember to mark your thread as solved by editing the first post and amending the topic title.

https://wiki.archlinux.org/index.php/Co … ow_to_post


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB