From Fedora Project Wiki
m (Update installer help)
m (Add SUPPORTED-BOARDS for target)
Line 27: Line 27:
Used to deploy disk images for ARMv7hl. Execute the following script as a user with sudo privileges. It will copy the selected disk image and write the appropriate U-Boot for the target hardware platform. Optionally you can also enable and disable SE Linux and remove the root password requirement (allowing log in without completing initial setup). To add a board not listed, simply create a bash scriptlet with the commands needed to copy U-Boot to media and add to the 'boards.d' directory.
Used to deploy disk images for ARMv7hl. Execute the following script as a user with sudo privileges. It will copy the selected disk image and write the appropriate U-Boot for the target hardware platform. Optionally you can also enable and disable SE Linux and remove the root password requirement (allowing log in without completing initial setup). To add a board not listed, simply create a bash scriptlet with the commands needed to copy U-Boot to media and add to the 'boards.d' directory.


  sudo dnf install fedora-arm-installer
  sudo dnf -y install fedora-arm-installer


<pre>
<pre>
Usage: fedora-arm-image-installer <options>
Usage: fedora-arm-image-installer <options>
Usage: fedora-arm-image-installer <options>


Line 46: Line 44:


Example: fedora-arm-image-installer --image=Fedora-Rawhide.xz --target=Bananapi --media=/dev/mmcblk0
Example: fedora-arm-image-installer --image=Fedora-Rawhide.xz --target=Bananapi --media=/dev/mmcblk0
</pre>


Example: fedora-arm-image-installer --image=Fedora-Rawhide.xz --target=Bananapi --media=/dev/mmcblk0 --selinux=OFF
All available targets are stored in a file called ''SUPPORTED-BOARDS''.
</pre>
 
cat /usr/share/doc/fedora-arm-installer/SUPPORTED-BOARDS


== Network Installation ==
== Network Installation ==

Revision as of 08:10, 21 March 2018

Installing Fedora on your ARM device.

General process

Stable Releases

The current stable release for ARMv7 can always be found at the ARM Image landing page

The current stable release for aarch64 can always be found at Alternate Architectures landing page

Branched Development Release

The repository for current development releases:

http://dl.fedoraproject.org/pub/fedora/linux/development/27/
http://dl.fedoraproject.org/pub/fedora-secondary/development/27/

Rawhide Rolling Release

Rawhide Installation Tree(armhfp)

http://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Server/armhfp/os/
http://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/armhfp/os/

Rawhide Installation Tree(aarch64)

http://dl.fedoraproject.org/pub/fedora-secondary/development/rawhide/Server/aarch64/os/
http://dl.fedoraproject.org/pub/fedora-secondary/development/rawhide/Everything/aarch64/os/

General Installation instructions for all Releases

Fedora Arm Installer

Note.png
Note
The examples provided here are from a Fedora 24/25/26 host and may need to be adjusted depending on your host environment.

Used to deploy disk images for ARMv7hl. Execute the following script as a user with sudo privileges. It will copy the selected disk image and write the appropriate U-Boot for the target hardware platform. Optionally you can also enable and disable SE Linux and remove the root password requirement (allowing log in without completing initial setup). To add a board not listed, simply create a bash scriptlet with the commands needed to copy U-Boot to media and add to the 'boards.d' directory.

sudo dnf -y install fedora-arm-installer
Usage: fedora-arm-image-installer <options>

	--addconsole    - Add system console to extlinux.conf
	--addkey=       - /path/to/ssh-public-key
	--image=IMAGE	- xz compressed image file name
	--media=DEVICE	- media device file (/dev/[sdX|mmcblkX])
	--norootpass	- Remove the root password
	--resizefs	- Resize root filesystem to fill media device
	--supported	- List of supported hardware
	--target=TARGET	- target board
	--version	- Display version and exit
	-y		- Assumes yes, will not wait for confirmation

Example: fedora-arm-image-installer --image=Fedora-Rawhide.xz --target=Bananapi --media=/dev/mmcblk0

All available targets are stored in a file called SUPPORTED-BOARDS.

cat /usr/share/doc/fedora-arm-installer/SUPPORTED-BOARDS

Network Installation

A network installation is the preferred installation method for current Aarch64 hardware targets but can also be used for ARMv7hl. In order to begin you will need to setup the installation server, a guide can be found below:

http://docs.fedoraproject.org/en-US/Fedora/26/html/Installation_Guide/chap-pxe-server-setup.html