Fedora Running On Pine64!
#10
I downloaded the server ARM image for Fedora 26 `Fedora-Server-armhfp-26-1.5-sda.raw.xz` and uncompressed it.

    unxz Fedora-Server-armhfp-26-1.5-sda.raw.xz

Then thanks to [this SO answer](https://askubuntu.com/questions/69363/mo...isk-device) I was able to mount the various partitions inside this raw image.  For example for the `/boot` partition:


Code:
~/Downloads$ sudo fdisk -lu Fedora-Server-armhfp-26-1.5-sda.raw

Disk Fedora-Server-armhfp-26-1.5-sda.raw: 3.5 GiB, 3726639104 bytes, 7278592 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x337b9d3d

Device                               Boot   Start     End Sectors  Size Id Type
Fedora-Server-armhfp-26-1.5-sda.raw1         2048   61439   59392   29M  c W95 FAT32 (LBA)
Fedora-Server-armhfp-26-1.5-sda.raw2 *      61440 1060863  999424  488M 83 Linux
Fedora-Server-armhfp-26-1.5-sda.raw3      1060864 2060287  999424  488M 82 Linux swap / Solaris
Fedora-Server-armhfp-26-1.5-sda.raw4      2060288 6942719 4882432  2.3G 82 Linux swap / Solaris

~/Downloads$ bc
bc 1.06.95
Copyright 1991-1994, 1997, 1998, 2000, 2004, 2006 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'. 
512*2048
1048576

~/Downloads$ sudo losetup -o 1048576 /dev/loop0 Fedora-Server-armhfp-26-1.5-sda.raw 
~/Downloads$ sudo fsck -fv /dev/loop0
fsck from util-linux 2.27.1
fsck.fat 3.0.28 (2015-05-16)
Checking we can access the last sector of the filesystem
Boot sector contents:
System ID "mkfs.fat"
Media byte 0xf8 (hard disk)
       512 bytes per logical sector
      2048 bytes per cluster
         4 reserved sectors
First FAT starts at byte 2048 (sector 4)
         2 FATs, 16 bit entries
     30720 bytes per FAT (= 60 sectors)
Root directory starts at byte 63488 (sector 124)
       512 root directory entries
Data area starts at byte 79872 (sector 156)
     14809 data clusters (30328832 bytes)
32 sectors/track, 64 heads
         0 hidden sectors
     59392 sectors total
Reclaiming unconnected clusters.
/dev/loop0: 15 files, 6505/14809 clusters

~/Downloads$ sudo mount /dev/loop0 /mnt

~/Downloads$ ls -l /mnt
total 12948
-rwxr-xr-x 1 root root   50268 Jul  5 18:20 bootcode.bin
-rwxr-xr-x 1 root root    4371 Jul  5 18:20 config-64.txt
-rwxr-xr-x 1 root root    4214 Jul  5 18:20 config.txt
-rwxr-xr-x 1 root root    2581 Jul  5 18:20 fixup_cd.dat
-rwxr-xr-x 1 root root    6660 Jul  5 18:20 fixup.dat
-rwxr-xr-x 1 root root    9802 Jul  5 18:20 fixup_db.dat
-rwxr-xr-x 1 root root    9798 Jul  5 18:20 fixup_x.dat
drwxr-xr-x 2 root root    2048 Jul  5 18:20 overlays
-rwxr-xr-x 1 root root  360008 Jul  5 18:20 rpi2-u-boot.bin
-rwxr-xr-x 1 root root  359744 Jul  5 18:20 rpi3-u-boot.bin
-rwxr-xr-x 1 root root  657828 Jul  5 18:20 start_cd.elf
-rwxr-xr-x 1 root root 4990532 Jul  5 18:20 start_db.elf
-rwxr-xr-x 1 root root 2852356 Jul  5 18:20 start.elf
-rwxr-xr-x 1 root root 3935908 Jul  5 18:20 start_x.elf
~/Downloads$

From this it appears that this image is geared for a Raspberry Pi device.



The 2nd partition looks promising.


Code:
    Disk Fedora-Server-armhfp-26-1.5-sda.raw: 3.5 GiB, 3726639104 bytes, 7278592 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: dos
    Disk identifier: 0x337b9d3d

    Device                               Boot   Start     End Sectors  Size Id Type
    Fedora-Server-armhfp-26-1.5-sda.raw1         2048   61439   59392   29M  c W95 FAT32 (LBA)
    Fedora-Server-armhfp-26-1.5-sda.raw2 *      61440 1060863  999424  488M 83 Linux 
    Fedora-Server-armhfp-26-1.5-sda.raw3      1060864 2060287  999424  488M 82 Linux swap / Solaris 
    Fedora-Server-armhfp-26-1.5-sda.raw4      2060288 6942719 4882432  2.3G 82 Linux swap / Solaris

    ~/Downloads$ ls -l /media/johnma/__boot/
    total 185884
    drwxr-xr-x. 3 root root     4096 Jul  5 18:15 735cc24f805341718e3aa8125ba1010a
    -rw-r--r--. 1 root root        2 Feb 10 16:35 boot.scr
    -rw-r--r--. 1 root root   199611 Jun 29 18:39 config-4.11.8-300.fc26.armv7hl
    drwxr-xr-x. 2 root root    24576 Jul  5 18:13 dtb-4.11.8-300.fc26.armv7hl
    drwxr-xr-x. 2 root root     4096 Jul  5 18:20 extlinux
    drwxrwxr-x. 2 root root     4096 Jul  5 18:06 fw
    drwxrwxr-x. 2 root root     4096 Jul  5 18:20 grub
    -rw-------. 1 root root 55990814 Jul  5 18:19 initramfs-4.11.8-300.fc26.armv7hl.img
    -rw-r--r--. 1 root root       24 Jul  5 18:19 klist.txt
    drwx------  2 root root    16384 Jul  5 18:06 lost+found
    -rw-------. 1 root root  3226489 Jun 29 18:38 System.map-4.11.8-300.fc26.armv7hl
    -rw-r--r--. 1 root root  6267680 Jul  5 18:19 uImage
    -rw-r--r--. 1 root root  6267680 Jul  5 18:19 uImage-4.11.8-300.fc26.armv7hl
    -rw-r--r--. 1 root root 55990878 Jul  5 18:19 uInitrd
    -rw-r--r--. 1 root root 55990878 Jul  5 18:19 uInitrd-4.11.8-300.fc26.armv7hl
    -rwxr-xr-x. 1 root root  6267616 Jun 29 18:39 vmlinuz-4.11.8-300.fc26.armv7hl


The 2.3 GB 4th partition is the root file system of Fedora:


Code:
~/Downloads$ sudo losetup -o 1054867456 /dev/loop3 Fedora-Server-armhfp-26-1.5-sda.raw 

~/Downloads$ ls -l /media//johnma/__
total 12
lrwxrwxrwx.  1 root root    7 Feb 10 11:37 bin -> usr/bin
drwxrwxr-x.  2 root root    6 Jul  5 18:06 boot
drwxr-xr-x.  4 root root  179 Jul  5 18:15 dev
drwxr-xr-x. 96 root root 8192 Jul  5 18:20 etc
drwxr-xr-x.  2 root root    6 Feb 10 11:37 home
lrwxrwxrwx.  1 root root    7 Feb 10 11:37 lib -> usr/lib
drwxr-xr-x.  2 root root    6 Feb 10 11:37 media
drwxr-xr-x.  2 root root    6 Feb 10 11:37 mnt
drwxr-xr-x.  2 root root    6 Feb 10 11:37 opt
drwxrwxr-x.  2 root root    6 Jul  5 18:06 proc
dr-xr-x---.  2 root root  114 Jul  5 18:20 root
drwxr-xr-x. 18 root root  232 Jul  5 18:13 run
lrwxrwxrwx.  1 root root    8 Feb 10 11:37 sbin -> usr/sbin
drwxr-xr-x.  2 root root    6 Feb 10 11:37 srv
drwxrwxr-x.  2 root root    6 Jul  5 18:06 sys
drwxrwxrwt.  7 root root   93 Jul  5 18:20 tmp
drwxr-xr-x. 11 root root  131 Jul  5 18:11 usr
drwxr-xr-x. 21 root root  277 Jul  5 18:14 var


Messages In This Thread
Fedora Running On Pine64! - by cztian - 07-20-2017, 10:23 PM
RE: Fedora Running On Pine64! - by tllim - 07-20-2017, 10:45 PM
RE: Fedora Running On Pine64! - by heatfanjohn - 07-29-2017, 09:52 PM
RE: Fedora Running On Pine64! - by Gnx - 07-31-2017, 02:17 PM
RE: Fedora Running On Pine64! - by pfeerick - 07-31-2017, 07:37 PM
RE: Fedora Running On Pine64! - by heatfanjohn - 07-31-2017, 09:58 PM
RE: Fedora Running On Pine64! - by cztian - 08-01-2017, 07:15 AM
RE: Fedora Running On Pine64! - by Gnx - 08-01-2017, 03:38 AM
RE: Fedora Running On Pine64! - by heatfanjohn - 08-02-2017, 07:52 AM
RE: Fedora Running On Pine64! - by Absurd - 08-02-2017, 12:39 PM
RE: Fedora Running On Pine64! - by heatfanjohn - 08-02-2017, 06:33 PM
RE: Fedora Running On Pine64! - by heatfanjohn - 08-02-2017, 10:03 AM
RE: Fedora Running On Pine64! - by Absurd - 08-02-2017, 12:53 PM
RE: Fedora Running On Pine64! - by heatfanjohn - 08-03-2017, 02:21 PM
RE: Fedora Running On Pine64! - by Absurd - 08-04-2017, 06:22 AM
RE: Fedora Running On Pine64! - by heatfanjohn - 08-04-2017, 12:23 PM
RE: Fedora Running On Pine64! - by Absurd - 08-07-2017, 11:44 AM
RE: Fedora Running On Pine64! - by cztian - 08-12-2017, 04:08 AM
RE: Fedora Running On Pine64! - by Absurd - 08-17-2017, 05:55 AM
RE: Fedora Running On Pine64! - by heatfanjohn - 08-18-2017, 06:24 PM
RE: Fedora Running On Pine64! - by Absurd - 08-20-2017, 08:13 AM
RE: Fedora Running On Pine64! - by KrYpToNiTe - 08-20-2017, 07:43 PM
RE: Fedora Running On Pine64! - by cztian - 08-25-2017, 08:08 PM
RE: Fedora Running On Pine64! - by Absurd - 09-05-2017, 01:35 PM
RE: Fedora Running On Pine64! - by joe - 09-09-2017, 08:37 AM
RE: Fedora Running On Pine64! - by cztian - 09-10-2017, 06:46 AM
RE: Fedora Running On Pine64! - by gregjo - 10-26-2017, 05:51 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Fedora 32/CentOS 8 Pine A64+ Images wideawake 2 6,103 10-02-2020, 11:38 AM
Last Post: mathiraj
  Programming languages support under PINE64 baryluk 6 13,434 09-23-2020, 11:46 PM
Last Post: Phillip Bell
  Manjaro arm on pine64+ roel 2 6,536 10-19-2019, 05:13 AM
Last Post: roel
  +PINEBOOK Fedora 30 on Pinebook sdgathman 0 3,677 08-14-2019, 11:41 AM
Last Post: sdgathman
  Volumio for PINE64 Released mikelangeloz 11 26,546 03-22-2019, 09:25 AM
Last Post: llungster
  I2S Audio patches for Pine64+ uploaded to GitHub ramstadt 1 4,440 01-19-2019, 11:31 AM
Last Post: ramstadt
  Pine64: Minimal SDL config Max11 3 6,653 01-04-2019, 03:47 PM
Last Post: Max11
  Fedora 27 on Pine64 gregjo 18 38,568 01-02-2019, 10:42 PM
Last Post: heatfanjohn
  Official build procedure of ayufan pine64 r.tanaka 0 3,368 08-21-2018, 10:54 PM
Last Post: r.tanaka
  DKMS on kernel 3.10.107-pine64 obrienmd 5 9,645 06-21-2018, 05:45 PM
Last Post: evilbunny

Forum Jump:


Users browsing this thread: 1 Guest(s)