(stuff it in this category for now) |
No edit summary |
||
Line 4: | Line 4: | ||
|description=This case tests whether a direct deployment of a Fedora image works on an ARM platform. | |description=This case tests whether a direct deployment of a Fedora image works on an ARM platform. | ||
|setup= | |setup= | ||
# | # Insert or connect the media to write the Fedora ARM disk image. | ||
|actions= | |actions= | ||
You can quite easily prepare the image on the SD card on Fedora or any Linux distribution, MacOS or Windows. The default settings will provide the user interface on a HDMI monitor with keyboard and mouse support | |||
=== Manually === | |||
<pre> xzcat Fedora-IMAGE-NAME.raw.xz | sudo dd status=progress bs=4M of=/dev/XXX # Location of your media (will be sdX or mmcblkX depending on hardware)</pre> | |||
=== Scripted === | |||
To install using arm-image-installer: | |||
<pre> | |||
dnf install -y arm-image-installer | |||
</pre> | |||
To write the image out use the following: | |||
<pre> | |||
$ sudo arm-image-installer | |||
Usage: arm-image-installer <options> | |||
--image=IMAGE - xz compressed image file name | |||
--target=TARGET - target board | |||
--media=DEVICE - media device file (/dev/[sdX|mmcblkX]) | |||
--selinux=ON/OFF - Turn SELinux off/on as needed | |||
--norootpass - Remove the root password | |||
-y - Assumes yes, will not wait for confirmation | |||
--version - Display version and exit | |||
--resizefs - Resize root filesystem to fill media device | |||
--addconsole - Add system console to extlinux.conf | |||
--addkey= - /path/to/ssh-public-key | |||
Example: arm-image-installer --image=Fedora-Rawhide.xz --target=Bananapi --media=/dev/mmcblk0 | |||
For list of supported boards please check SUPPORTED-BOARDS file. | |||
</pre> | |||
Attach the written medium to the test system and boot it, ensuring the medium takes priority over other boot methods. | |||
|results= | |results= | ||
# The system boots to the initial-setup tool. | # The system boots to the initial-setup tool. |
Revision as of 14:02, 13 March 2019
Description
This case tests whether a direct deployment of a Fedora image works on an ARM platform.
Setup
- Insert or connect the media to write the Fedora ARM disk image.
How to test
You can quite easily prepare the image on the SD card on Fedora or any Linux distribution, MacOS or Windows. The default settings will provide the user interface on a HDMI monitor with keyboard and mouse support
Manually
xzcat Fedora-IMAGE-NAME.raw.xz | sudo dd status=progress bs=4M of=/dev/XXX # Location of your media (will be sdX or mmcblkX depending on hardware)
Scripted
To install using arm-image-installer:
dnf install -y arm-image-installer
To write the image out use the following:
$ sudo arm-image-installer Usage: arm-image-installer <options> --image=IMAGE - xz compressed image file name --target=TARGET - target board --media=DEVICE - media device file (/dev/[sdX|mmcblkX]) --selinux=ON/OFF - Turn SELinux off/on as needed --norootpass - Remove the root password -y - Assumes yes, will not wait for confirmation --version - Display version and exit --resizefs - Resize root filesystem to fill media device --addconsole - Add system console to extlinux.conf --addkey= - /path/to/ssh-public-key Example: arm-image-installer --image=Fedora-Rawhide.xz --target=Bananapi --media=/dev/mmcblk0 For list of supported boards please check SUPPORTED-BOARDS file.
Attach the written medium to the test system and boot it, ensuring the medium takes priority over other boot methods.
Expected Results
- The system boots to the initial-setup tool.