--- myst: html_meta: description: Install Ubuntu Server on IBM Power (ppc64el) using a virtual CD-ROM with Petitboot and ipmitool for remote installation. --- (how-to-start-a-live-server-installation-on-ibm-power-ppc64el-with-a-virtual-cd-rom-and-petitboot)= # How to start a live server installation on IBM Power (ppc64el) with a virtual CD-ROM and Petitboot :::{note} Not all IBM Power machines come with the capability of installing via a virtual CD-ROM! However, it is also possible to {ref}`boot the installer over the network `. ::: A separate system (ideally in the same network, because of `ipmitool`) is needed to host the ppc64el ISO image file, which is later used as the virtual CD-ROM. ## Install ipmitool and Samba Log in to this separate host and make sure that the `ipmitool` package is installed: ```{terminal} :copy: :user: :host: :dir: sudo apt install ipmitool ``` as well as Samba: ```{terminal} :copy: :user: :host: :dir: sudo apt install samba ``` ## Configure Samba Next, set up and configure Samba: ```{terminal} :copy: :user: :host: :dir: sudo touch /etc/samba/smb.conf && sudo tee -a /etc/samba/smb.conf < Virtual Media --> CD-ROM Enter the IP address of the Samba share: > 10.245.246.42 and the path to the Samba share: ```text \winshare\focal-live-server-ppc64el.iso ``` Click "Save and Mount". Make sure that the virtual CD-ROM is really properly mounted! ```text CD-ROM Image: This option allows you to share a CD-ROM image over a Windows Share with a maximum size of 4.7GB. This image will be emulated to the host as USB device. Device 1 There is an iso file mounted. Device 2 No disk emulation set. Device 3 No disk emulation set. ``` ```text Share host: 10.245.246.42 Path to image: \winshare\focal-live-server-ppc64el.iso User (optional): Password (optional): ``` ::::{note} It’s important that you see a status like this: ```text Device 1 There is an iso file mounted ``` Then the virtual CD-ROM is properly mounted and you will see the boot/install from CD-ROM entry in Petitboot: ```text [CD/DVD: sr0 / 2020-03-23-08-02-42-00] Install Ubuntu Server ``` :::: ## Boot into the Petitboot loader Now use `ipmitool` to boot the system into the Petitboot loader: ```{terminal} :copy: :user: :host: :dir: ipmitool -I lanplus -H 10.245.246.247 -U ADMIN -P power status ``` ```{terminal} :copy: :user: :host: :dir: ipmitool -I lanplus -H 10.245.246.247 -U ADMIN -P sol activate ``` ```{terminal} :copy: :user: :host: :dir: ipmitool -I lanplus -H 10.245.246.247 -U ADMIN -P power on Chassis Power Control: Up/On ``` And reach the Petitboot screen: ```text Petitboot (v1.7.5-p8f5fc86) 9006-12C BOS0026 ───────────────────────────────────────────── [Network: enP2p1s0f0 / ac:1f:6b:09:c0:52] execute netboot enP2p1s0f0 (pxelinux.0) System information System configuration System status log Language Rescan devices Retrieve config from URL *Plugins (0) Exit to shell ───────────────────────────────────────────── Enter=accept, e=edit, n=new, x=exit, l=language, g=log, h=help Default boot cancelled ``` Make sure that booting from CD-ROM is enabled: ```text Petitboot (v1.7.5-p8f5fc86) 9006-12C BOS0026 ───────────────────────────────────────────── [Network: enP2p1s0f0 / ac:1f:6b:09:c0:52] Execute netboot enP2p1s0f0 (pxelinux.0) [Disk: sda2 / ebdb022b-96b2-4f4f-ae63-69300ded13f4] Ubuntu, with Linux 5.4.0-12-generic (recovery mode) Ubuntu, with Linux 5.4.0-12-generic Ubuntu System information System configuration System status log Language Rescan devices Retrieve config from URL *Plugins (0) Exit to shell ───────────────────────────────────────────── Enter=accept, e=edit, n=new, x=exit, l=language, g=log, h=help [sda3] Processing new Disk device ``` ```text Petitboot System Configuration ────────────────────────────────────────────── Autoboot: ( ) Disabled (*) Enabled Boot Order: (0) Any CD/DVD device (1) disk: sda2 [uuid: ebdb022b-96b2-4f4f-ae63-69300ded13f4] (2) net: enP2p1s0f0 [mac: ac:1f:6b:09:c0:52] [ Add Device ] [ Clear & Boot Any ] [ Clear ] Timeout: 30 seconds Network: (*) DHCP on all active interfaces ( ) DHCP on a specific interface ( ) Static IP configuration ───────────────────────────────────────────── tab=next, shift+tab=previous, x=exit, h=help ``` ```text Petitboot System Configuration ───────────────────────────────────────────── Network: (*) DHCP on all active interfaces ( ) DHCP on a specific interface ( ) Static IP configuration DNS Server(s): (eg. 192.168.0.2) (if not provided by DHCP server) HTTP Proxy: HTTPS Proxy: Disk R/W: ( ) Prevent all writes to disk (*) Allow bootloader scripts to modify disks Boot console: (*) /dev/hvc0 [IPMI / Serial] ( ) /dev/tty1 [VGA] Current interface: /dev/hvc0 [ OK ] [ Help ] [ Cancel ] ─────────────────────────────────────────── tab=next, shift+tab=previous, x=exit, h=help ``` Now select the 'Install Ubuntu Server' entry below the CD/DVD entry: ```text [CD/DVD: sr0 / 2020-03-23-08-02-42-00] * Install Ubuntu Server ``` And let Petitboot boot from the (virtual) CD-ROM image: ```text Sent SIGKILL to all processes [ 119.355371] kexec_core: Starting new kernel [ 194.483947394,5] OPAL: Switch to big-endian OS [ 197.454615202,5] OPAL: Switch to little-endian OS ``` The initial Subiquity installer screen will show up in the console: ```text ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ Willkommen! Bienvenue! Welcome! Добро пожаловать! Welkom ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ Use UP, DOWN and ENTER keys to select your language. [ English ▸ ] [ Asturianu ▸ ] [ Català ▸ ] [ Hrvatski ▸ ] [ Nederlands ▸ ] [ Suomi ▸ ] [ Français ▸ ] [ Deutsch ▸ ] [ Ελληνικά ▸ ] [ Magyar ▸ ] [ Latviešu ▸ ] [ Norsk bokmål ▸ ] [ Polski ▸ ] [ Русский ▸ ] [ Español ▸ ] [ Українська ▸ ] ``` From this point, you can follow the normal Subiquity installation. For more details, refer to the [Subiquity installer documentation](https://canonical-subiquity.readthedocs-hosted.com/en/latest/index.html).