please choosego to mobile | Continue to access the PC version
View: 11771|Reply: 9

FC22 alpha 3

[Copy link]

11

threads

59

posts

326

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
326
Published in 2015-3-31 03:53:47 | Show all floors |Read mode
Hi,

I just installed the FC22 alpha 3 Xfce image from:
http://download.fedoraproject.or ... _Alpha-3-sda.raw.xz
I did not test the other images to be found under the ARM section of http://spins.fedoraproject.org/en/prerelease but I expect no issues for these either.
I used the script below to write the image to an SD card (minimal 4 GB).
invocation:
install_image /dev/sdX Fedora-Xfce-armhfp-22_Alpha-3-sda.raw.xz
where /dev/sdX is the name of the SD card.
The script will also set the root password to root
If there are issues feel free to drop a note in this thread.
Also if you have no problems, I appreciate a short message that things work for you.

Enjoy! Frans

#!/bin/bash
if [ $# -ne 2 ]
then
  echo "Usage: $0 /dev/sdX imagename"
  echo " replace your device letter with X (so e.g. /dev/sdd)"
  echo " make sure this sd card is empty and not mounted!"
  exit 1
fi

echo "About to write to $1"
echo "All data on this device will be lost!!!!"
echo "type \"yes\" (without the quotes) on the next line to continue"
echo "everything else will abort"
echo -n "Do you want to continue and loose all information on $1? "
read answer
if [ "$answer" != "yes" ]
then
  echo "Aborting...."
  exit 1
fi

echo "Writing the image. This will take some time"
xzcat $2 | dd of=$1 bs=4M

echo "Downloading done; finishing up"
mkdir tmp$$
partprobe $1
#fdisk $1 << EOF
#d
#3
#n
#p
#3
#
#7600000
#w
#q
#EOF
#partprobe $1
#e2fsck -f ${1}3
#resize2fs ${1}3
#partprobe $1
#sleep 10
#umount {1}1 2>/dev/null
#umount {1}3 2>/dev/null
mount ${1}3 tmp$$
dd if=tmp$$/usr/share/uboot/Bananapi/u-boot-sunxi-with-spl.bin of=${1} bs=1024 seek=8 conv=fsync,notrunc
sed -i "s/enforcing/disabled/" tmp$$/etc/selinux/config
sed -i "s/::/6$QJIBRZlj$K5msWRb0sqAdIDlnKgkyfpoSDgEblFb95vyTcFgCbBHqxQb9UDdVEPjaG69bAarff0nKAT2Rn3wDuNVkyPEmU0:/" tmp$$/etc/shadow
umount ${1}3
exit 0
You can also reach me on freenode irc, channel #orangepi username eFfeM

8

threads

45

posts

243

credits

Intermediate member

Rank: 3Rank: 3

credits
243
Published in 2015-4-5 01:37:06 | Show all floors
Sorry for asking. I dont have a Orange Pi yet. Why did u use this Script for flashing on sd-card? Isnt it possible with "dd" command?
I am building a german forum on at http://forum-orangepi.de
Visi

11

threads

59

posts

326

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
326
 Author| Published in 2015-4-8 17:40:51 | Show all floors
You can use dd tp write to the SD card but after that you also need to dd the u-boot image.
The FC image is platform independent and can be used on orange pi but also e.g. on pandaboard.
This uses the same kernel but requires a different way to boot.

To support these different platforms the right u-boot needs to be taken from the image and written to the sd card as well.
In the script this is done in the line:
dd if=tmp$$/usr/share/uboot/Bananapi/u-boot-sunxi-with-spl.bin of=${1} bs=1024 seek=8 conv=fsync,notrunc

And the standard FC image is for a 4GB card if I recall correctly.
There is also code in the script to make maximum use of the capacity of the SD card but that part (the fdisk section) is commented out

Generally I try to make things as simple as possible for the user
You can also reach me on freenode irc, channel #orangepi username eFfeM

0

threads

10

posts

78

credits

Registered member

Rank: 2

credits
78
Published in 2015-10-12 03:16:59 | Show all floors
@FransM : It looks like you're the only one who cared about Fedora on the Orange PI. I try to make the latest FC22 image boot on my Orange PI PC with no luck so far. I've followed the installation guide and used your script but no dice. Would you mind look into it?

10

threads

448

posts

5024

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
5024
Published in 2015-10-13 06:47:55 | Show all floors
I have Fedora 22 installation running without problem on OrangePI H3 boards. I'll post the images soon.

0

threads

10

posts

78

credits

Registered member

Rank: 2

credits
78
Published in 2015-10-13 16:30:18 | Show all floors
loboris replied at 2015-10-13 06:47
I have Fedora 22 installation running without problem on OrangePI H3 boards. I'll post the images so ...

@loboris: You own this place, seriously. I really appreciate your efforts in the OPI community. You should consider writing a few guides/tutorials to share your know-how with those who care.

10

threads

448

posts

5024

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
5024
Published in 2015-10-14 04:24:42 | Show all floors
Fedora 22 images upladed to Mega, more info here.

0

threads

10

posts

78

credits

Registered member

Rank: 2

credits
78
Published in 2015-10-14 16:07:34 | Show all floors
Thanks man! I'm already running it on my OPI-PC.

P.S.: Maybe you should create a thread int the Fedora forum, pointing to your other thread with the images and infos.

2

threads

34

posts

225

credits

Intermediate member

Rank: 3Rank: 3

credits
225
Published in 2015-10-15 00:54:29 | Show all floors
I tried it but the Ethernet did not work.

4

threads

52

posts

284

credits

Intermediate member

Rank: 3Rank: 3

credits
284
Published in 2015-10-15 04:41:35 | Show all floors
On what board? I just tried it on my OPI+ and guess what? It worked like a charm!
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list