You are not logged in.
Hi all. I manage to install Arch linux on Virtual Box machine ( yey ). I can use reboot command and grub loader show's me to choose os but after i shutdown the machine and start it again it loads livecd.iso file... Can someone help me to fix that.
Last edited by ZzozZ (2019-05-26 13:22:50)
Offline
UEFI installation?
Offline
UEFI installation?
Yea it is UEFI installation. I will check the link now
Offline
Ok so, i think ive done thhis:
from Default/fallback boot path:
ive done this
Alternatively you can move an already installed GRUB EFI executable to the default/fallback path:
# mv esp/EFI/grub esp/EFI/BOOT
# mv esp/EFI/BOOT/grubx64.efi esp/EFI/BOOT/BOOTX64.EFI
than from VirtualBox#Installation in EFI mode. search for Boot directly from the ESP partition using a startup.nsh script.
from there i create startup.nsh script in /boot directory with exampled line
vmlinuz-linux rw root=/dev/sdX [rootfs=myfs] [rootflags=myrootflags] \
[kernel.flag=foo] [mymodule.flag=bar] \
[initrd=\intel-ucode.img] initrd=\initramfs-linux.img
than i go to my VirtualBox manager, select my virtual machine > settings > storage
on controller: IDE chield whic in my case was ( archlinux-2019.05.02...... ) i changed optical drive attribute from the drop down menu on the right side to IDE Secondary Slave.
Than it worked. ^^
Hope this help to someone else. Also to feature me when i forgot what i was doing
Also thanx to @Slithery for provided link
P.s. To moderators. Please do not delete this xD
Last edited by ZzozZ (2019-05-26 13:24:33)
Offline
That's one way, but it's far easier to just add the --removable flag when installing grub. This will automatically place grub in the default fallback location...
Offline
That's one way, but it's far easier to just add the --removable flag when installing grub. This will automatically place grub in the default fallback location...
Yea but i have already installed GRUB. So i follow after GRUB install guide
Offline