> For the complete documentation index, see [llms.txt](https://dev.solid-run.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dev.solid-run.com/amd/v3000/sbc-platform/bedrock-v3000-technical-documentation/software-bedrock-v3000/linux-bedrock-v3000/installing-xenserver-8-using-console.md).

# Installing XenServer 8 using console

## Installing XenServer 8 using console

Bedrock V3000 lacks an integrated display adapter. Consequently, to install Xen server 8, users must connect Bedrock to a host PC using a console, facilitated by serial over USB.

This document describes Xen server 8 installation process on Bedrock V3000.

### **Table of Contents**

* [Test Setup](#section-366fd82e-0eba-439b-a8d5-28b21d09ed2b)
* [Installation Process](#section-7c3d5f25-5db0-4f32-baa7-15a08905914c)
  * [Creating a Bootable USB Drive](#section-a5ec18ee-18c2-452f-8801-d52c3eec3f1b)
  * [Connecting to Serial Console](#section-c711eeaf-5502-45e6-bc69-4fb8811f4005)
  * [BIOS Boot select](#section-39a0b497-0af8-4b55-87d4-74bd732e19f1)
  * [Configuring Grub](#section-18324121-a7f2-4a75-827b-7b0c18b13ec8)
  * [Live USB Settings](#section-6db4f6ca-2ff3-4041-81ec-ab8782593524)
  * [Enable ttyS4 Service](#section-591418c6-83ce-4b46-bdf0-5ad438eaffe5)

### Test setup

This installation process has been validated by SolidRun with the following configurations:

* Xen versions:
  * XenServer 8
* Terminal software:
  * Putty
* USB flash disk: Kingston Data Traveler

## Installation process

### Creating bootable USB drive

Please follow instructions at [/amd/v3000/sbc-platform/bedrock-v3000-technical-documentation/software-bedrock-v3000/creating-bootable-usb-drive-for-bedrock-v3000.md](/amd/v3000/sbc-platform/bedrock-v3000-technical-documentation/software-bedrock-v3000/creating-bootable-usb-drive-for-bedrock-v3000.md)

### Connecting serial console

Please follow instructions at [Using serial console with Bedrock V3000](/amd/v3000/sbc-platform/bedrock-v3000-technical-documentation/software-bedrock-v3000/using-serial-console-with-bedrock.md)

### BIOS Boot select

You need to choose your USB bootable device to start the installation.

* Insert the USB media to the device
* Turn on Bedrock
* Repetitively press the DEL / ESC key to enter the BIOS setup
* In BIOS go to -> Save & Exit -> -> yes
* Device will reset and a grub menu screen will appear
  * If you dont see a grub menu, reboot and press the “arrow down” key repetitively right after you pressed enter to boot from BIOS

### Configure grub

At the grub menu (displaying "install", “no-serial“, …),Press ‘e’ over the ”install” option to set the boot parameters.

* You'll encounter a window resembling:

```
setparams 'install'                                                         
	multiboot2 /boot/xen.gz dom0_max_vcpus=1-16 dom0_mem=max:8192M com1=115200,8n1 console=com1,vga                                                    │
	module2 /boot/vmlinuz console=hvc0 console=tty0
	module2 /install.img
```

* Change the entry that starts with 'module2 /boot/vmlinuz' to look as follows:

```
module2 /boot/vmlinuz console=hvc0 console=tty0 console=ttyS4,115200n8
```

* Wait for the live USB to boot to the installer

{% hint style="info" %}
**might take some time for the installer to run, so just give it some time**
{% endhint %}

### Live USB settings

* After live USB boots, the installer will start

![image-20241117-084728.png](/files/SwP0vvTkig8mzvr8WCOu)

* Select your Desired keymap

![image-20241117-084815.png](/files/uucWo4CPjuzsHaSyV8fY)

* Press OK to cuntinue with installation
* Accept EUA

![image-20241117-085031.png](/files/qENfdoRcV9KDpM8AXqV4)

* Choose if you want to install or upgrade Xen in this case well select “Perform clean installation”

![image-20241117-085055.png](/files/tltOaAIzChvDzG9bAxh7)

* Select installation drive

![image-20241117-085136.png](/files/XUxbheNr8gDKLWG4KwpC)

* Select VM storage location

![image-20241117-085218.png](/files/BXyzX4UFKioKFhf65e8a)

* Enable thin provisioning if required

![image-20241117-085308.png](/files/1w4TG2HhbCVynn10jRRU)

* Select installation media source, in this case were using a USB drive so we select Local media

![image-20241117-085400.png](/files/OJhkxL0RRwO30IEbGJ1m)

![image-20241117-085519.png](/files/HOEzPYSfbcagtSG2ZPCn)

![image-20241117-085554.png](/files/TofABa9EAcA1WBOCJFIv)

* Verify installation source

![image-20241117-085621.png](/files/j2pQIziLh8pJK17nD5Hk)

* Select password

![image-20241117-085722.png](/files/vsUWYmc7tPTP6LMfrDL2)

* Choose which network interface will be used to connect to the management server

![image-20241117-085826.png](/files/FQhSIYTcU8LFiOIVeCTt)

![image-20241117-085840.png](/files/zktwsPitxtxb36rfIOwi)

* Configure networking settings

![image-20241117-090115.png](/files/OXvuJDOohfO71IjQcpYt)

![image-20241117-090143.png](/files/RPsYzi0WcAtwR8kOD3K3)

* Select time zone

![image-20241117-090256.png](/files/991UJuA8X1FZmgcDY74V)

* Select system time settings

![image-20241117-090338.png](/files/tSn2MwoAifax0lEj6XVY)

* Confirm installation

![image-20241117-090413.png](/files/UpIlFpgwJZ6PNWvjqxJb)

* Wait until installation is complete

![image-20241117-090536.png](/files/XTubjejarNXUvJFgEPWP)

* Select supplemental packages if required

![image-20241117-090843.png](/files/FtIqKWYxJvl3NswPoaBj)

* When prompted, remove the installation media and press enter
* Device will be rebooted

### Enable ttyS4 service

Enable the ttyS4 console to be able to interact with the system.

* Boot into BIOS
* Boot from the disk you installed Xen on
* If you don't get a grub menu automatically, press the “arrow down” key repetitively right after you pressed enter to boot from BIOS
  * If you dont get the grub menu after pressing shift, connect a keyboard to the device and hold shift on the connected keyboard when booting
* In the grub menu choose:
  * \*XenServer (Serial)
  * Press ’e’

```
setparams 'XenServer (Serial)'
        search --label --set root root-umnjnb
        multiboot2 /boot/xen.gz com1=115200,8n1 console=com1,vga dom0_mem=1808M,max:1808M watchdog ucode=scan dom0_max_vcpus=1-4 crashkernel=256M,below=4G
        module2 /boot/vmlinuz-4.19-xen root=LABEL=root-umnjnb ro nolvm hpet =disable console=tty0 console=hvc0
		module2 /boot/initrd-4.19-xen.img
```

* In the line that says: `module2 /boot/vmlinuz-4.19-xen`
* Add the console parameters to grub after the `console=hvc0` parameter
  * from this:
  * ```
    ```

module2 /boot/vmlinuz-4.19-xen root=LABEL=root-umnjnb ro nolvm hpet =disable console=tty0 console=hvc0

````
  - to this:
  - ```
module2 /boot/vmlinuz-4.19-xen root=LABEL=root-umnjnb ro nolvm hpet =disable console=tty0 console=hvc0 console=ttyS4,115200n8 systemd.wants=serial-getty@ttyS4
````

* Type to enable the ttyS4 service persistently for future boots: `systemctl enable serial-getty@ttyS4`
* Edit grub config file: `nano /etc/grub-efi.cfg`
  * Add the console parameter to the file from this:

```
menuentry 'XenServer (Serial)' {
        search --label --set root root-umnjnb
        multiboot2 /boot/xen.gz com1=115200,8n1 console=com1,vga dom0_mem=1808M$
        module2 /boot/vmlinuz-4.19-xen root=LABEL=root-umnjnb ro nolvm hpet=dis$
        module2 /boot/initrd-4.19-xen.img
```

* To this:

```
menuentry 'XenServer (Serial)' {
        search --label --set root root-umnjnb
        multiboot2 /boot/xen.gz com1=115200,8n1 console=com1,vga dom0_mem=1808M$
        module2 /boot/vmlinuz-4.19-xen root=LABEL=root-umnjnb ro nolvm hpet=dis$ console=ttyS4,115200n8
        module2 /boot/initrd-4.19-xen.img
```

* Reboot, the console should start automatically when you choose the `XenServer (Serial)` option.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://dev.solid-run.com/amd/v3000/sbc-platform/bedrock-v3000-technical-documentation/software-bedrock-v3000/linux-bedrock-v3000/installing-xenserver-8-using-console.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
