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
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 https://solidrun.atlassian.net/l/cp/m9Reo11r
Connecting serial console
Please follow instructions at Using serial console with Bedrock V3000
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 -> <your bootable USB device> -> 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
might take some time for the installer to run, so just give it some time
Live USB settings
After live USB boots, the installer will start
Select your Desired keymap
Press OK to cuntinue with installation
Accept EUA
Choose if you want to install or upgrade Xen in this case well select “Perform clean installation”
Select installation drive
Select VM storage location
Enable thin provisioning if required
Select installation media source, in this case were using a USB drive so we select Local media
Verify installation source
Select password
Choose which network interface will be used to connect to the management server
Configure networking settings
Select time zone
Select system time settings
Confirm installation
Wait until installation is complete
Select supplemental packages if required
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
parameterfrom this:
to this:
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:
To this:
Reboot, the console should start automatically when you choose the
XenServer (Serial)
option.
SolidRun Ltd.