<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 12/27/2014 06:19 PM, Brooks Hu
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAAtALsmAaN0sESOzrLL243DArwBeg-r2Nar=5UEwtTSs6peu7w@mail.gmail.com"
      type="cite"><br>
      <br>
      ---------- Forwarded message ----------<br>
      From: <b>Brooks Hu</b> &lt;<a moz-do-not-send="true"
        href="mailto:brooks.hu@gmail.com">brooks.hu@gmail.com</a>&gt;<br>
      Date: Friday, December 26, 2014<br>
      Subject: Help!Failed to find a suitable stage1 device when using
      PXE installation.<br>
      To: <a moz-do-not-send="true"
        href="mailto:arm@lists.fedoraproject.org">arm@lists.fedoraproject.org</a><br>
      <br>
      <br>
      <div dir="ltr">Hi all,
        <div><br>
        </div>
        <div>I am trying automatic PXE installation (Fedora 21 for
          AARCH64) on my Mustang board, but looks like kickstart can't
          work. </div>
        <div><br>
        </div>
        <div>Here comes the detail:</div>
        <div><br>
        </div>
        <div>
          <div>Starting installer, one moment...<br>
          </div>
          <div>find_file: stat /proc/device-tree/chosen/bootpath, No
            such file or directory</div>
          <div>anaconda 21.48.21-1 for Fedora-Server 21 started.</div>
          <div> * installation log files are stored in /tmp during the
            installation</div>
          <div> * shell is available on TTY2</div>
          <div> * when reporting a bug add logs from /tmp as separate
            text/plain attachments</div>
          <div>10:26:29 Not asking for VNC because of an automated
            install</div>
          <div>Starting automated install......</div>
          <div>Generating updated storage configuration</div>
          <div>storage configuration failed: failed to find a suitable
            stage1 device</div>
          <div>================================================================================</div>
          <div>Installation<br>
          </div>
          <div><br>
          </div>
          <div> 1) [x] Language settings                 2) [!] Timezone
            settings</div>
          <div>        (English (United States))              
             (Timezone is not set.)</div>
          <div> 3) [x] Installation source               4) [!] Software
            selection</div>
          <div>        (<a moz-do-not-send="true"
              href="ftp://192.168.1.1/F21/" target="_blank">ftp://192.168.1.1/F21/</a>)
                            (Nothing selected)</div>
          <div> 5) [!] Installation Destination          6) [x] Network
            configuration</div>
          <div>        (No disks selected)                      (Wired
            (eth0) connected)</div>
          <div> 7) [!] Root password                     8) [!] User
            creation</div>
          <div>        (Password is not set.)                   (No user
            will be created)</div>
          <div>Not enough space in filesystems for the current software
            selection. An additional 2861.02 MiB is needed.</div>
          <div>  Please make your choice from above ['q' to quit | 'b'
            to begin installation |</div>
          <div> </div>
        </div>
        <div>UEFI version is 1.1.0-rh-0.13</div>
        <div><br>
        </div>
        <div>Here comes the kick start config file(I modified based on a
          sample from certain website):</div>
      </div>
    </blockquote>
    <br>
    Note that the installation options indicate: 4) [!] Software
    selection (Nothing selected) and 5) [!] Installation Destination (No
    disks selected), which implies anaconda is not seeing (or accepting)
    some of the options in your kickstart.  Please look in the logs in
    /tmp to find any errors.<br>
    <br>
    There are some things in you kickstart that I am not familiar with,
    such as:<br>
    <br>
      vznetcfg --net=virt_network1:eth0<br>
      vztturlmap $FS_SERVER <a moz-do-not-send="true"
      href="http://myrepository.com" target="_blank">http://myrepository.com</a><br>
      nosfxtemplate<br>
      %eztmplates --cache<br>
    <br>
    and the following just look wrong for an aarch64 install:<br>
    <div><br>
        centos-6-x86_64</div>
    <div>  centos-6-x86</div>
    <div>  mailman-centos-6-x86_64</div>
    <div>  mailman-centos-6-x86</div>
    <br>
    I would try a more "standard" Fedora kickstart install first to make
    sure the repos, etc. are working, and then try adding the 'custom'
    config options to see what breaks.<br>
    <br>
    Attached is an example kickstart I have successfully used for
    provisioning a Mustang board.<br>
    <br>
    <br>
    d.marlin<br>
    ========<br>
    <br>
    <blockquote
cite="mid:CAAtALsmAaN0sESOzrLL243DArwBeg-r2Nar=5UEwtTSs6peu7w@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div><br>
        </div>
        <div>-------------------------------------------------------------------------</div>
        <div>text</div>
        <div>install</div>
        <div>lang en_US.UTF-8</div>
        <div>keyboard us</div>
        <div>part efi --fstype=efi --size=300 --ondisk=sda</div>
        <div>
          <div>part /boot --fstype=ext4 --size=512 --ondisk=sda</div>
        </div>
        <div>
          <div>part / --fstype=ext4 --size=20096 --ondisk=sda</div>
          <div>part /vz --fstype=ext4 --size=40768 --ondisk=sda</div>
        </div>
        <div>part swap --size=4000</div>
        <div>bootloader --location=partition --ondisk=sda</div>
        <div>network --bootproto dhcp</div>
        <div>rootpw root</div>
        <div>auth --enableshadow --passalgo=sha512</div>
        <div>timezone --utc America/New_York</div>
        <div>reboot</div>
        <div>vznetcfg --net=virt_network1:eth0</div>
        <div>vztturlmap $FS_SERVER <a moz-do-not-send="true"
            href="http://myrepository.com" target="_blank">http://myrepository.com</a></div>
        <div>nosfxtemplate</div>
        <div>%eztmplates --cache</div>
        <div>centos-6-x86_64</div>
        <div>centos-6-x86</div>
        <div>mailman-centos-6-x86_64</div>
        <div>mailman-centos-6-x86</div>
        <div><br>
        </div>
        <div>%packages</div>
        <div>@base</div>
        <div>@core</div>
        <div>@vz</div>
        <div>@ps</div>
        <div>%end</div>
        <div><br>
        </div>
        <div>I have tried all kinds of option combination, also deleted
          all the partitions, but it still can't work. Any
          suggestions/comments are welcomed!<br>
        </div>
        <div><br>
        </div>
        <div>Best Regards,</div>
        <div>Brooks</div>
        <div><br>
        </div>
      </div>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
arm mailing list
<a class="moz-txt-link-abbreviated" href="mailto:arm@lists.fedoraproject.org">arm@lists.fedoraproject.org</a>
<a class="moz-txt-link-freetext" href="https://admin.fedoraproject.org/mailman/listinfo/arm">https://admin.fedoraproject.org/mailman/listinfo/arm</a></pre>
    </blockquote>
    <br>
  </body>
</html>