mirror of
https://github.com/PhyllomeOS/wiki.git
synced 2025-02-24 04:12:21 +00:00
docs: update gofurther/install-guest
This commit is contained in:
parent
51bd5a5976
commit
cc0350f329
@ -2,7 +2,7 @@
|
|||||||
title: Netboot for all
|
title: Netboot for all
|
||||||
description:
|
description:
|
||||||
published: true
|
published: true
|
||||||
date: 2021-11-13T16:51:31.924Z
|
date: 2021-11-13T17:05:36.042Z
|
||||||
tags:
|
tags:
|
||||||
editor: markdown
|
editor: markdown
|
||||||
dateCreated: 2021-11-13T11:43:58.697Z
|
dateCreated: 2021-11-13T11:43:58.697Z
|
||||||
@ -10,4 +10,46 @@ dateCreated: 2021-11-13T11:43:58.697Z
|
|||||||
|
|
||||||
# Install a guest system using netboot.xyz
|
# Install a guest system using netboot.xyz
|
||||||
|
|
||||||
`to be done`
|
## Forewords
|
||||||
|
|
||||||
|
As a now, `netboot.xyz` is the main way to install operating systems inside Phyllome OS.
|
||||||
|
|
||||||
|
## Preparation
|
||||||
|
|
||||||
|
By default, `netboot.xyz.iso` should already be located under `var/lib/libvirt/iso`. If it's not the case, please use the following command to fetch it, or navigate to [the website](https://netboot.xyz/):
|
||||||
|
|
||||||
|
```
|
||||||
|
wget https://boot.netboot.xyz/ipxe/netboot.xyz.iso -P /var/lib/libvirt/iso/
|
||||||
|
```
|
||||||
|
|
||||||
|
## Create a virtual machine using `virt-install`
|
||||||
|
|
||||||
|
The command bellow will create a virtual machine without a disk.
|
||||||
|
|
||||||
|
```
|
||||||
|
virt-install \
|
||||||
|
--connect qemu:///system \
|
||||||
|
--virt-type kvm \
|
||||||
|
--arch x86_64 \
|
||||||
|
--machine q35 \
|
||||||
|
--name live-with-netboot-xyz \
|
||||||
|
--boot uefi \
|
||||||
|
--cpu host-model,topology.sockets=1,topology.cores=1,topology.threads=1 \
|
||||||
|
--vcpus 1 \
|
||||||
|
--memory 2048 \
|
||||||
|
--video virtio \
|
||||||
|
--channel spicevmc \
|
||||||
|
--autoconsole none \
|
||||||
|
--sound none \
|
||||||
|
--controller type=virtio-serial \
|
||||||
|
--controller type=usb,model=none \
|
||||||
|
--controller type=scsi,model=virtio-scsi \
|
||||||
|
--network network=default,model=virtio \
|
||||||
|
--input type=keyboard,bus=virtio \
|
||||||
|
--input type=tablet,bus=virtio \
|
||||||
|
--rng /dev/urandom,model=virtio \
|
||||||
|
--disk none \
|
||||||
|
--cdrom=/var/lib/libvirt/iso/netboot.xyz.iso \
|
||||||
|
--install no_install=yes
|
||||||
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user