How to install Fedora 21 on APM Mustang with just HDD?

After my previous posts I got an email with question “how to install Fedora 21 on Mustang without DVD and network?” so decided to describe hard drive based method.

Requirements:

  • APM Mustang with UEFI
  • hard drive
  • another computer to prepare hdd
  • Fedora 21 installation ISO
  • serial cable connected to Mustang and other computer
  • Ethernet cable to get network on Mustang
  • VNC viewer to control installation (not needed but recommended)

First step is preparing hard drive. Create 100MB GPT partition type “ef00” (EFI System), format it as FAT and copy “/EFI” and “/images” directories from DVD. Edit “/EFI/BOOT/grub.cfg” file and change “Fedora-S-21_A-aarch64” to “Fedora-S-21_A” because ext4 labels are shorter than ISO9660 ones.

Then do another partition — 2GB size. I used ext4 (other ones may work too). Format and label it as ‘Fedora-S-21_A’ using e2label or other tool. Copy content of DVD image into it.

Now put hard drive into Mustang and power on. From UEFI menu select shell and start run “FS0:\EFI\BOOT\BOOTAA64.efi” to get into GRUB. Press Enter to begin installation.

As before I went VNC way, selected hard drive and automatic partitioning. After few minutes system was installed and ready to reboot.

This time there were no issues with adding bootloader into UEFI boot order. Maybe because I left previous entries there?

And layout of partitions was not changed:

Fedora release 21 (Twenty One)
Kernel 3.17.0-301.fc21.aarch64 on an aarch64 (ttyS0)

localhost login: hrw
[hrw@localhost ~]$ lsblk 
NAME                    MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda                       8:0    0 298.1G  0 disk 
├─sda1                    8:1    0   127M  0 part /boot/efi
├─sda2                    8:2    0     2G  0 part 
├─sda3                    8:3    0   500M  0 part /boot
└─sda4                    8:4    0 294.1G  0 part 
  ├─fedora--server-swap 253:0    0     8G  0 lvm  [SWAP]
  ├─fedora--server-root 253:1    0    50G  0 lvm  /
  └─fedora--server-home 253:2    0   236G  0 lvm  /home

So if you have APM Mustang with one hdd and no external network connection on site then looks like this is an easiest way. Sure, it requires some work but allows to make an installation without any extra hardware connected to Mustang.