-
Notifications
You must be signed in to change notification settings - Fork 0
Creating ARM installation media
Scott K Logan edited this page Apr 5, 2015
·
1 revision
- An
armv7hl
machine running Fedora 21 or later - Adequate disk space to create the image (at least 2GB, sometimes more)
- Network connection to the
odroid-xu
package repository - A target Kickstart file
- The following packages must be installed:
anaconda
lorax
Applies to all kickstarts in this repo unless otherwise noted.
- No configured swap space
- Single
vfat
partition of size 31MB for boot.ini - Single
ext4
partition for rootfs - Default root password is
super_secure
- Default CPU governor is
performance
- Time synchronization is disabled
livemedia-creator --ks=<path to kickstart> --image-name=<name of image file> --tmp=<path to output dir> --keep-image --make-disk --no-virt
For example, to make a Fedora Minimal image for ODROID-XU:
livemedia-creator --ks=odroid-xu-minimal-ks.cfg --image-name=f21-minimal-odroid-xu.img --tmp=/root --keep-image --make-disk --no-virt
The resulting image will be ready to deploy when livemedia-creator
completes.
- Unfortunately, you'll need
sudo
access to the machine. - You may see a message that says that there is
Not enough space in filesystems for the current software selection
. The kickstarts are designed to have just enough room to fit the packages in the list so we have smaller images to distribute. If the installation really does run out of disk space, you'll know it... - This process can take at least 20 minutes, depending on the system's disk I/O performance.
- The console output is sporadic, so don't be surprised if you don't see any messages for 5-6 minutes straight.
- If things go crazy and you see lots of backtraces, it is likely that you'll need to restart the system. Sometimes lingering processes prevent dismounts, and the script doesn't handle it very well.
-
livemedia-creator
seems to have a bug if you don't set the--resultdir
option. You can safely ignore the backtrace it generates at completion.