From Fedora Project Wiki
No edit summary
(Update for renamed arm-image-installer package and file locations)
Line 22: Line 22:


=General Installation instructions for all Releases=
=General Installation instructions for all Releases=
== Fedora Arm Installer ==
== Arm Image Installer ==
{{admon/note|Note | The examples provided here are from a Fedora 24/25/26 host and may need to be adjusted depending on your host environment.}}
{{admon/note|Note | The examples provided here are from a Fedora 28/29 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.
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' (/usr/share/arm-image-installer/boards.d) directory.


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


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


--addconsole    - Add system console to extlinux.conf
--addconsole    - Add system console to extlinux.conf
Line 43: Line 43:
-y - Assumes yes, will not wait for confirmation
-y - Assumes yes, will not wait for confirmation


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


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


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


== Network Installation ==
== Network Installation ==
Line 54: Line 54:
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:
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
    https://docs.fedoraproject.org/en-US/fedora/f29/install-guide/advanced/Network_based_Installations/

Revision as of 01:11, 8 November 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/
http://dl.fedoraproject.org/pub/fedora-secondary/development/

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

Arm Image Installer

Note.png
Note
The examples provided here are from a Fedora 28/29 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' (/usr/share/arm-image-installer/boards.d) directory.

sudo dnf -y install arm-image-installer
Usage: 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: 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/arm-image-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:

   https://docs.fedoraproject.org/en-US/fedora/f29/install-guide/advanced/Network_based_Installations/