From Fedora Project Wiki
m (Add SUPPORTED-BOARDS for target)
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
Installing Fedora on your ARM device
Installing Fedora on your ARM device.


=General process=
=General process=
=Stable Releases=
==Stable Releases==
The current stable release for ARMv7 can always be found at the [https://arm.fedoraproject.org/ ARM Image landing page]
The current stable release for ARMv7 can always be found at the [https://arm.fedoraproject.org/ ARM Image landing page]


The current stable release for aarch64 can always be found at [https://alt.fedoraproject.org/alt/ Alternate Architectures landing page]
The current stable release for aarch64 can always be found at [https://alt.fedoraproject.org/alt/ Alternate Architectures landing page]


=Branched Development Release=
==Branched Development Release==


The repository for current development releases:
The repository for current development releases:
Line 13: Line 13:
  http://dl.fedoraproject.org/pub/fedora-secondary/development/27/
  http://dl.fedoraproject.org/pub/fedora-secondary/development/27/


=Rawhide Rolling Release=
==Rawhide Rolling Release==
<b>Rawhide Installation Tree(armhfp)</b>
<b>Rawhide Installation Tree(armhfp)</b>
  http://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Server/armhfp/os/
  http://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Server/armhfp/os/
Line 22: Line 22:


=General Installation instructions for all Releases=
=General Installation instructions for all Releases=
=== Fedora Arm Installer ===
== Fedora Arm 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 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
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.
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>


   --image=IMAGE   - xz compressed image file name
--addconsole   - Add system console to extlinux.conf
  --target=TARGET  - target board
--addkey=      - /path/to/ssh-public-key
  --media=DEVICE   - media device file (/dev/[sdX|mmcblkX])
--image=IMAGE - xz compressed image file name
  --selinux=ON/OFF - Turn SELinux off/on as needed
--media=DEVICE - media device file (/dev/[sdX|mmcblkX])
  --norootpass     - Remove the root password
--norootpass - Remove the root password
  -y     - Assumes yes, will not wait for confirmation
--resizefs - Resize root filesystem to fill media device
  --version     - Display version and exit
--supported - List of supported hardware
  --resizefs     - Resize root filesystem to fill media device
--target=TARGET - target board
  --addconsole    - Add system console to extlinux.conf
--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 --selinux=OFF
Example: fedora-arm-image-installer --image=Fedora-Rawhide.xz --target=Bananapi --media=/dev/mmcblk0
</pre>
</pre>


=== Network Installation ===
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:
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
http://docs.fedoraproject.org/en-US/Fedora/26/html/Installation_Guide/chap-pxe-server-setup.html

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