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

Tomasz Urbański utom.pl at gmail.com
Thu Mar 26 21:09:48 UTC 2015


Paul,
Thank you again for your tip.

There is however something that makes my head spin.

Dennis has indicated that the kernel and initramfs I am using are improper,
as they come from disk image.
As far as I understood, you have indicated me the place where I can get
proper kernel and initramfs images.

So, why the size and timestamp of my present kernel is exactly the same as
that found at your link?

Regards
Tomasz

2015-03-09 22:27 GMT+01:00 Tomasz Urbański <utom.pl at gmail.com>:

> Paul,
> Thank you very much.
> Regards
> Tomasz
>
> 2015-03-09 14:43 GMT+01:00 Paul Whalen <pwhalen at redhat.com>:
>
>>
>> Hi Tomasz,
>>
>> ----- Original Message -----
>> > Sorry for improper responding behavior.
>> > Thank you for support and hints.
>> > I would appreciate, if you helped me to get/build right kernels.
>>
>>
>> https://dl.fedoraproject.org/pub/fedora/linux/releases/21/Server/armhfp/os/images/pxeboot/
>>
>> In your kickstart you will also need a section in %post to write the
>> 'fdtdir' to the
>> extlinux.conf.
>>
>> Paul
>>
>> > Where can get them from?
>> > TUR
>> >
>> > 2015-03-09 1:21 GMT+01:00 Dennis Gilmore < dennis at ausil.us > :
>> >
>> >
>> > -----BEGIN PGP SIGNED MESSAGE-----
>> > Hash: SHA1
>> >
>> > On Sun, 8 Mar 2015 22:51:40 +0100
>> > Tomasz Urbański < utom.pl at gmail.com > wrote:
>> >
>> > > Yes, I did. You can see it in my description.
>> > > In fact, I have new-line before subsequent arguments, ie. fdtdir,
>> > > initrd and finally inst.ks.
>> >
>> > Please do not respond privately to emails from lists and you did not
>> >
>> > you should have an append line like
>> >
>> > append inst.ks=hd:sdb1:/ks.cfg
>> >
>> > so the whole config should look like
>> >
>> > label Fedora-Minimal-armhfp-21-5 (3.17.4-301.fc21.armv7hl)
>> > kernel /vmlinuz-3.17.4-301.fc21.armv7hl
>> > append inst.ks=hd:sdb1:/ks.cfg
>> > fdtdir /dtb-3.17.4-301.fc21.armv7hl/
>> > initrd /initramfs-3.17.4-301.fc21.armv7hl.img
>> >
>> > though judging by the names of the kernel and initramfs you are using
>> > one from a disk image and not the installer ones in which case you
>> > still will not get a working setup
>> >
>> > you will need to use the installers kernel and initrd to get a install
>> > working
>> >
>> > Dennis
>> >
>> > > TUR
>> > > 8 mar 2015 21:19 "Dennis Gilmore" < dennis at ausil.us > napisał(a):
>> > >
>> > > > -----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-----
>> > > > _______________________________________________
>> > > > arm mailing list
>> > > > arm at lists.fedoraproject.org
>> > > > https://admin.fedoraproject.org/mailman/listinfo/arm
>> >
>> > -----BEGIN PGP SIGNATURE-----
>> > Version: GnuPG v2
>> >
>> > iQIcBAEBAgAGBQJU/OecAAoJEH7ltONmPFDR5FoP/1KNrp0IpkQCNm0P/IWhXjok
>> > vDiefrhBDGjBpkZtfb/I3B9jzvwedSByBijpsBBtUKUCsWaZfz1A67YgBUCgtIrP
>> > 9VsPrakEPW7P4xOyg8F3/tH+hLJUN2G8XyQAldrsGjDuQtbFvw6mh0BC+fgD8gcs
>> > MJBDx/UGzntZ+SYdzb4745CSmaNJadNcqQgVqMW+lXf6cnJCqvKlAVQFhzBXj7+q
>> > g36JFPz9Eu6x5iYcgQIHOMJimCgECFeKXreiMS7wrsbHRLO++Rj66uRy4ZxTVOKa
>> > zVbsFYiyZGnFPfbE37ddlxQTtZtkcNQ6POoiKFtk9eT3l3Esb7WCMLICNjXXQCRr
>> > NNmk4f3vkYsgJYXWBIVMa7gOk4JaZLhOr6ruTrQXrqmZOv834hvEeFXN/WvSw5Gx
>> > R5twSlmYrwYMezDklu1QqgpniFUM6IwbnhiYRNDr9ZF/eR1eY5QZwvU1qbWOTlTD
>> > RIjnBd14HFqGqMjRFMJOn1H2MdHriLQm/wQ9LzD+QbHQjLgvbk0Qv9YxqJ7QkNoE
>> > kEtM7ZNXXmKcIToP9EX1XPLm3GNDzaP2ZOyJEr8pttmgmS1aGyvpPh4FLaAoFMzx
>> > fD19o9XD9jUCrtSXtZMH+rnN4akgQ3lq6fssADKCscCZJvqk2sWqKEz0zd1bxa/u
>> > wv1C+H4+zNmaMv12ZeHQ
>> > =Vc8d
>> > -----END PGP SIGNATURE-----
>> > _______________________________________________
>> > arm mailing list
>> > arm at lists.fedoraproject.org
>> > https://admin.fedoraproject.org/mailman/listinfo/arm
>> >
>> >
>> > _______________________________________________
>> > arm mailing list
>> > arm at lists.fedoraproject.org
>> > https://admin.fedoraproject.org/mailman/listinfo/arm
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/arm/attachments/20150326/1fadf4b0/attachment.html>


More information about the arm mailing list