I have Ubuntu installed on my computer. I decided to install Arch linux, but I skipped the part about Grub installation as it is already installed. Seeing that Arch does not show up in Grub's menu list, I decided to install it in Arch. I mounted Arch's partition in Ubuntu and I chrooted into it. I issued the command pacman -S grub-bios
and got the following :
error: could not open file: /etc/mtab: No such file or directory
error: could not determine filesystem mount points
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.
/etc/mtab
is a symlink to /proc/self/mounts
, but there is nothing in the /proc
folder.
What am I doing wrong?
As a complement, am I going in the right direction to make Arch appear in Grub's list? EDIT : I was able to make Arch appear in Grub's list from Ubuntu by doing sudo mount /dev/sdaX
(replace X with Arch's partition number) before sudo update-grub
.
{/proc,/sys/,/dev}
as per the wiki entry for chroot?error: failed retrieving file 'grub-bios-2.00-1-x86_64.pkg.tar.xz' from mirror.cinosure.com : Could not resolve host: (nil); Unknown error
/etc/resolv.conf
into the chroot? Otherwise the chrooted programs don't know your DNS settings.pacman -Sy
. You may also want to try generating a new mirror list.