Created
November 3, 2020 06:57
-
-
Save kbruner/9e47a563830220ec7e8d96b28d6bcda1 to your computer and use it in GitHub Desktop.
booting Arch from virtual disk installation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
grub> linux (hd0,1)/boot/vmlinuz-linux root=/dev/vda1 | |
grub> initrd (hd0,1)/boot/initramfs-linux.img | |
grub> boot | |
root@nucklehead:/vm # bhyve -H -A -P \ | |
-c 2 -m 1024M \ | |
-s 0,hostbridge \ | |
-s 1,lpc \ | |
-s 2:0,virtio-net,tap0 \ | |
-s 3,virtio-blk,linux.img \ | |
-l com1,stdio \ | |
arch | |
[ ... ] | |
Arch Linux 5.9.2-arch1-1 (ttyS0) | |
archlinux login: root | |
Password: | |
[root@archlinux ~]# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment