--Use vmware ESXi on Arm Fling with Raspberry Pi 4B. --Since onboard Wifi cannot be used, use a wired LAN. --Since Raspberry Pi UEFI related files are also put in SATA-USB conversion + SSD (or HDD), you do not need a microSD for booting after installation and setting. --If you do not set the option (ʻautoPartitionOSDataSize = 8192`) when starting the installer, the usable area will be reduced.
--Raspbery Pi 4B (4GB / 8GB) --If it is not 4GB or more, it will be repelled. --SATA-USB3.0 conversion cable --SSD (240GB) / HDD (1TB) --- Below, SSD is written, but HDD is also OK. --Wired LAN connection (onboard Wifi cannot be used) -(Cooling fan) --What you need at the time of installation --microSD (1) (RaspberryPi OS --used for updating EEPROM of Raspberry Pi and setting USB Boot) --microSD (2) (for UEFI boot) --USB Flash (VMWare installer --VMware-VMvisor-Installer-7.0.0-16966451.burn aarch64.iso) --Display connection --Keyboard --Prepared for microSD / USB flash on Windows 10.
--Raspberry Pi firmware
https://github.com/raspberrypi/firmware/archive/1.20200902.zip
--UEFI for Raspberry Pi 4
https://github.com/pftf/RPi4/releases/download/v1.20/RPi4_UEFI_Firmware_v1.20.zip
--From RaspberryPi OS
https://www.raspberrypi.org/downloads/. If necessary.
Created with Rufus.
VMware-VMvisor-Installer-7.0.0-16966451.aarch64.iso
microSD - Raspbian OS
microSD - UEFI boot
Format with FAT32 (SD formatter will format with FAT32 for cards up to 32GB, but exFAT for more than that. Such as it was..)
Unzip the Raspberry Pi firmware firmware-1.20200902.zip
Copy the contents of the "boot" folder to the root of the microSD
Delete kernel * .img (4 files)
Unzip UEFI RPi4_UEFI_Firmware_v1.20.zip
of Raspberry Pi 4 and copy (overwrite) to microSD
Add the following to the last line of config.txt
</ font>
gpu_mem=16
Start with microSD of Raspberry Pi OS
Package update / reboot
sudo apt update && sudo apt upgrade -y && sudo reboot
After rebooting, sudo raspi-config
3 Boot Options
> B5 Boot ROM Vesion
> ʻE1 Latest>
Reset boot ROM to defaults?
Exit once and restart. (The EEPROM will be flushed at the next startup.)
Check the version with sudo rpi-eeprom-update
pi@raspberrypi:~ $ sudo rpi-eeprom-update
BCM2711 detected
VL805 firmware in bootloader EEPROM
BOOTLOADER: up-to-date
CURRENT: Thu 03 Sep 2020 12:11:43 PM UTC (1599135103)
LATEST: Thu 03 Sep 2020 12:11:43 PM UTC (1599135103)
FW DIR: /lib/firmware/raspberrypi/bootloader/stable
VL805: up-to-date
CURRENT: 000138a1
LATEST: 000138a1
pi@raspberrypi:~ $
Again, sudo raspi-config
3 Boot Options
> B4 Boot Order
> B1 USB Boot
ʻUSB device is default boot device` is OK.
Reboot once.
Shut down with sudo poweroff
.
Insert the following into the Raspberry Pi.
--UEFI microSD (for booting) --USB flash (VMWare installer) --SATA-USB3 cable + SSD (installation destination) --Keyboard --HDMI display --Wired LAN
Disabled
)Device Manager
> Raspberry Pi Configuration
> ʻAdvanced Configuration>
Limit RAM to 3 GBto
Reset
and press [Enter]Continued from ↑
Boot Manager
> (VMWare Installer USB) with ↑ ↓ and press [Enter]. </ font>, [Enter] <br>
> runweasel cdromBoot autoPartitionOSDataSize = 8192` Continued from ↑
Boot Manager
> (the disk where VMware is installed) with ↑ ↓ and press [Enter].The default is DHCP
Press [F2] to log in
Configure Management Network
> IPv4 Configuration
In [↑] [↓], select "Set static IPv4 address and network configuration:" and press the [Space] key.
After filling in ↓, press the [Enter] key.
IPv4 Address
Subnet Mask
Default Gateway
Press [ESC], then Apply changes and restart management network ?, and then press [Y].
Press [ESC] again and Logout
root
, enter the password and click the [Login] button Here, the F:
drive is a microSD drive.
Connect the SSD with ESXi Arm installed (2 out of 5 partitions can be seen in Explorer, but not touched here) and the UEFI boot microSD card to Windows.
On Win + R, diskpart
Use lis dis
to show the connected disks
With sel dis 1
, select the SSD with ESXi Arm installed.
Select the first partition with sel par 1
With ʻassign LETTER = P, assign to the
P: `drive (example) (as it is without closing)
As an administrator, open cmd
and copy the contents of the UEFI microSD card toP: \
xcopy /E F:\*.* P
Return to diskpart and set remove LETTER = P
to unmount.
Exit diskpart with ʻexit`
Execution example
Microsoft DiskPart version 10.0.19041.1
Copyright (C) Microsoft Corporation.
On computer: PC-90800
DISKPART> lis dis
Disk ### Status Size Free Dyn Gpt
-------- ------------- ------- ------- --- ---
Disk 0 Online 476 GB 0 B *
Disk 1 Online 931 GB 4096 KB *
Disk 2 Online 3724 MB 4032 KB
DISKPART> sel dis 1
Disk 1 is now the selected disk.
DISKPART> lis par
Partition ### Type Size Offset
------------- ---------------- ------- -------
Partition 1 System 100 MB 32 KB
Partition 2 Primary 4095 MB 102 MB
Partition 3 Primary 4095 MB 4198 MB
Partition 4 Unknown 8 GB 8 GB
Partition 5 Unknown 915 GB 16 GB
DISKPART> sel par 1
Partition 1 is now the selected partition.
DISKPART> assign LETTER=P
DiskPart successfully assigned the drive letter or mount point.
DISKPART>
...
//Now copy the file in another window.
...
DISKPART> remove LETTER=P
DiskPart successfully removed the drive letter or mount point.
DISKPART> exit
Example file copy
Microsoft Windows [Version 10.0.19041.572]
(c) 2020 Microsoft Corporation. All rights reserved.
C:\WINDOWS\system32>dir P:
Volume in drive P has no label.
Volume Serial Number is 5121-71B6
Directory of P:\
09/01/2020 02:13 PM <DIR> EFI
0 File(s) 0 bytes
1 Dir(s) 104,224,768 bytes free
C:\WINDOWS\system32>xcopy /E F:\*.* P:\
F:\bcm2708-rpi-b.dtb
F:\bcm2708-rpi-b-plus.dtb
F:\bcm2708-rpi-b-rev1.dtb
F:\bcm2710-rpi-2-b.dtb
.
.Lots of files
.
F:\overlays\w1-gpio-pullup.dtbo
F:\overlays\w1-gpio.dtbo
F:\overlays\w5500.dtbo
F:\overlays\wittypi.dtbo
235 File(s) copied
C:\WINDOWS\system32>exit
Connect the following
--SATA-USB3 cable + SSD (installation destination) --Keyboard --HDMI display --Wired LAN
raspi-config
on Raspberry Pi OS)Boot Maintenance Manager
> Boot Options
> Delete Boot Option
Commit Changes and Exit
, press [Enter]Continue
, and press [Enter].Recommended Posts