I need to get Arch Linux running on a VM for a university assignment.
Active1 year, 9 months ago
I've been trying for ages to get it to install under Hyper-V (Windows 10), and I've ruled out most other possible problems, other than the GRUB install/config.
Everything seems to go well when I install it, no errors or anything, but when I try to boot, it enters into a console mode, no matter how many times I reinstall. I've followed the tutorials to the letter and tried looking everywhere for answers, but I haven't found any.
Bobs TechLab. Subscribe Subscribed Unsubscribe 803. This series show how to install Arch Linux using two methods, with scripts and without scripts. Arch Linux - Install Grub2 - Duration: 6. Comments on how to install Arch Linux from scratch and other usefull topics encountered when playing around with the system. - thedemz/linux-arch-install. Search Criteria Enter search criteria Search by Name, Description Name Only Package Base Exact Name Exact Package Base Keywords Maintainer Co-maintainer Maintainer, Co-maintainer Submitter.
Home Linux tutorials Super boot manager – Great tool to Manage Burg, Grub2 and Plymouth. Linux tutorials Super boot manager – Great tool to Manage Burg, Grub2 and Plymouth in Ubuntu.
Arch Linux Install Software/dev/sda3 was mounted to /mnt
/dev/sda1 was mounted to /mnt/boot (i created the folder before mounting)
Then I ran
pacstrap /mnt base-devel , genfstab -U /mnt >> /mnt/etc/fstab and arch-chroot /mnt .
After that, I installed the grub and efibootmgr packages and ran
grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=grub and grub-mkconfig -o /boot/grub/grub.cfg .
The tutorials I've been following:
screengrabs: https://imgur.com/a/i7aBr
Egor Vasilyev
1,93011 gold badge33 silver badges99 bronze badges
Ricardo SilvaRicardo Silva
1 AnswerHow To Install Programs In Arch Linux
It seems you've successfully installed GRUB.
However, there are no entries because you haven't created an initramfs in the
/boot partition.
As per the wiki's installation guide:
a new initramfs is usually not required, because
mkinitcpio was run on installation of the linux package with pacstrap .
How To Install Grub2 On WindowsArch Linux How To Install Package
I noticed you didn't actually
pacstrap the base group - in which the linux package is contained.
Run
$ pacstrap /mnt base from the installation media. This will pull in the basic packages needed on an Arch system, including linux . Installing linux will also generate the initramfs automatically.
You'll then likely have to re-run
grub-mkconfig so the entries can be created.
How To Install Grub2
boxamaboxama
Not the answer you're looking for? Browse other questions tagged arch-linuxgrub2grubuefihyper-v or ask your own question.Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |