[fedora-arm] Cubieboard2 kickstart (finally PXE) installation

Dennis Gilmore dennis at ausil.us
Sun Mar 8 20:19:07 UTC 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, 8 Mar 2015 19:00:41 +0100
Tomasz UrbaƄski <utom.pl at gmail.com> wrote:

> Hi,
> Let me ask some question:
> 1) What is the relationship between u-boot, syslinux/extlinux, grub in
> installation process of F21 on ARM boxes? (I see elements of all this
> environments on the installation image.)
> 2) Does the u-boot bootloader recognizes full set of extlinux.conf
> options? 3) How to build extlinux.conf & ks.cfg to perform fully
> automatic installation on Cubieboard2?
> 
> Background:
> My goal is to configure some Cubieboard2 (Allwinner A20 SoC) boxes to
> perform fully automatic installation from PXE server (FOG).
> I've done my best to get familiar with contents of:
> 1) Fedora ARM Installation Procedure
> <http://fedoraproject.org/wiki/Architectures/ARM/F21/Installation>
> 2) u-boot & syslinux change in F21
> <http://fedoraproject.org/wiki/Changes/u-boot_syslinux>
> 3) linux-sunxi Mainline U-boot
> <http://linux-sunxi.org/Mainline_U-boot> 4) Vanilla U-Boot
> <http://www.denx.de/wiki/U-Boot> 5) ExtLinux
> <http://www.syslinux.org/wiki/index.php/EXTLINUX> 6) Recent post #1
> <https://lists.fedoraproject.org/pipermail/arm/2014-December/008787.html>
> 7) Recent post #2
> <https://lists.fedoraproject.org/pipermail/arm/2015-January/008880.html>
> and now .... I have a mess in my head. :-)
> 
> I have divided the "project" into few stages.
> 
> At the current stage, I try to build a local automatic installation.
> (Local only, ie. from miniSD, without potential network
> difficulties.) So, I try to construct extlinux.conf/grub.conf and
> anaconda kickstart file that will be able to perform fully automatic
> installation.
> 
> Here is my extlinux.conf file:
> 
> ui menu.c32
> menu autoboot Welcome to Fedora-Minimal-armhfp-21-5. Automatic boot
> in # second{,s}. Press a key for options.
> menu title Fedora-Minimal-armhfp-21-5 Boot Options.
> menu hidden
> timeout 20
> totaltimeout 600
> 
> label Fedora-Minimal-armhfp-21-5 (3.17.4-301.fc21.armv7hl)
> kernel /vmlinuz-3.17.4-301.fc21.armv7hl
> append ro root=UUID=e098e36f-f409-44cb-9d8e-9d5c0e2ed9c9
> fdtdir /dtb-3.17.4-301.fc21.armv7hl/
> initrd /initramfs-3.17.4-301.fc21.armv7hl.img
> inst.ks=hd:sdb1:/ks.cfg
> label Just to show the extlinux.conf is read
> kernel /vmlinuz-3.17.4-301.fc21.armv7hl
> append ro root=UUID=e098e36f-f409-44cb-9d8e-9d5c0e2ed9c9
> fdtdir /dtb-3.17.4-301.fc21.armv7hl/
> initrd /initramfs-3.17.4-301.fc21.armv7hl.img
> 
> First, I see that extlinux.conf file is (at least partially)
> processed, as the additional label is reflected in options proposed
> during installation process. But it seems that the option
> inst.ks=hd:sdb1:/ks.cfg is ignored.

you have to put "inst.ks=hd:sdb1:/ks.cfg" on the append line. append is
the boot arguments passed on the kernel. 

Dennis
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBAgAGBQJU/K7AAAoJEH7ltONmPFDRWpEP/0dGf/yZaF9VyIlaAj09LYhm
Ks0R6elLeJXhlcIKI7RRo8ipe5noatLS7EusZe+CRv1diQKT1C4l8Ztt3gjfh8VX
Hq1L4yIiblcVmznDWja7QfldgLv31JwYt9Agi06xw5otQjBz7OO1UKn33TBIRvH4
FiFxL/C9MK9ZoaAT0prCbqyknhvkMCJ/IhmWjGcI+CUCP4i8DnTvRfytydv5kkG5
ECgfTvMpdkvhA5cIur58sMztktEInSMJ0gebGq8BXot3PDhg+cpDKoOBBMXjX2L9
SSZHiK4aUBJ8kvwuVLrU0QCoIVziPKnTTnG/i4grrm1aBz1OTfHu3N/988PlbS5x
yKhjQFsDTgFBEzjzAwYKRRVnhjKrl+87P/Lva7ToBHFYrhYtQQXsMG+Vqu+KNycD
F1qrxK3Gwv+NX8S6mXXPFt3yGyMGAV3TqjDfIeHUJMwMJ3ufJrNfxzix1wbAMKc1
GHltXFjlgG+zRiMMLO5KQdcC/Qmn1GaXkJKyBiK3LoQ4bSnoF7dy0rVmpLrdqsxM
iJjs/lvfOygjsugQIDmHvqSAR73grHgTYDMf5o4M8zNwuI1M/TBtNySiEd/+6H4r
heXgn71MKn/ZtLweN7sXJhYb39rdaG2JuJtx1G4p+ayBg1B3zq4cpub55XQ4P+FN
jmHiaEaJHQxfqIrkknJV
=XawY
-----END PGP SIGNATURE-----


More information about the arm mailing list