Fedora 21

From Devel wiki for Sugar Labs
Jump to: navigation, search

Fedora® version page: 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 (rawhide) |


Fedora 21



Link to Released Beta: http://dl.fedoraproject.org/pub/alt/stage/21_RC5/
  • Spins:
  • SoaS:



f22 (Rawhide)

How to do fedup from last successful build


Release Notes f21

fedora workstation installation

  • How to install Workstation

Common f21 Bugs

Changes in boot.iso in f21

  • To create all of the features of the old netinstall you must add this repo in Anaconda Sources:
  • Workstation Repo:
http://dl.fedoraproject.org/pub/fedora/linux/development/21/x86_64/os/ (same as above; select workstation)
  • Server Repo
  • boot.iso everything
((This is not always created with the rest of the builds) there are i386 versions also.
  • For latest Builds builds (and links to them) see:
All http://koji.fedoraproject.org/koji/tasks?start=0&state=all&view=flat&method=createLiveCD&order=-id
Beta-Release: http://koji.fedoraproject.org/koji/tasks?owner=pbrobinson&state=all&view=flat&method=createLiveCD&order=-id
Alternate: http://koji.fedoraproject.org/koji/tasks?owner=ausil&state=all&view=flat&method=createLiveCD&order=-id

  • 8 fonts are missing in Soas 21-2 live; to fix this:
  • Root Terminal: (87M)
yum install @fonts
Error creating thumbnail: File missing
(click on image to enlarge; hit <- in browser to return)
  • Do this before installing with:
For full language support in the Anaconda installer and in Sugar

GnomeShell Cheatsheet

Shortcuts and key combinations to use in GnomeShell
  • User Menu->System Settings->Keyboard-> Shortcuts

fedup Updating f20 desktop to f21 workstation

sucess 11/14/2014 with encrypted file system
sucess 11/17/2014 nonproduct with KDE
No need to update if netinst is used.
  • f20 live respins
  • Caution:

1-) Backup your work before attempting this

2-) fully update your f20 install (disable any no-fedora repositories)

3-) In root terminal:

yum update
yum install fedup
fedup --network 21 --product=workstation 
NOTE 1: :"fedup tests may require the --nogpgcheck parameter until the signed .treeinfo file is available."
  • product=[workstation|server|cloud|nonproduct]
use --product=nonproduct for KDE ;other spins and minimal
NOTE 2 it is also possible to fedup to f22 with --network 22
  • reboot system
  • "System Upgrade Fedup" on boot menu
  • NOTE: Terminal display stops updating at about 68%
TO FIX: Hit {alt} key or switch to {alt-f2} then {alt-f1}
  • More Info on product=[workstation|server|cloud|nonproduct]

Upgrading Fedora using yum

f21 Screenshots

  • Screenshots of f21




Using UEFI with QEMU

Available environment groups

  • Used to add a Desktop Environment (DE) to an install
sudo dnf group list -v
  • Available environment groups:
  Basic Desktop (basic-desktop-environment)
  Cinnamon Desktop (cinnamon-desktop-environment)
  Development and Creative Workstation (developer-workstation-environment)
  Fedora Cloud Server (cloud-server-environment)
  Fedora Server (server-product-environment)
  Fedora Workstation (workstation-product-environment)
  Infrastructure Server (infrastructure-server-environment)
  KDE Plasma Workspaces (kde-desktop-environment)
  LXDE Desktop (lxde-desktop-environment)
  LXQt Desktop (lxqt-desktop-environment)
  MATE Desktop (mate-desktop-environment)
  Minimal Install (minimal-environment)
  Sugar Desktop Environment (sugar-desktop-environment)
  Web Server (web-server-environment)
  Xfce Desktop (xfce-desktop-environment)
  • Available groups:
  3D Printing (3d-printing)
  Administration Tools (admin-tools)
  Audio Production (audio)
  Authoring and Publishing (authoring-and-publishing)
  Books and Guides (books)
  C Development Tools and Libraries (c-development)
  Cloud Infrastructure (cloud-infrastructure)
  Cloud Management Tools (cloud-management)
  Cloud Server Tools (cloud-server)
  Container Management (container-management)
  D Development Tools and Libraries (d-development)
  Design Suite (design-suite)
  Development Tools (development-tools)
  Domain Membership (domain-client)
  Editors (editors)
  Educational Software (education)
  Electronic Lab (electronic-lab)
  Engineering and Scientific (engineering-and-scientific)
  Fedora Eclipse (eclipse)
  FreeIPA Server (freeipa-server)
  Games and Entertainment (games)
  Headless Management (headless-management)
  LibreOffice (libreoffice)
  MATE Applications (mate-applications)
  MATE Compiz (mate-compiz)
  Medical Applications (medical)
  Milkymist (milkymist)
  Network Servers (network-server)
  Office/Productivity (office)
  RPM Development Tools (rpm-development-tools)
  Robotics (robotics-suite)
  Security Lab (security-lab)
  Sound and Video (sound-and-video)
  System Tools (system-tools)
  Text-based Internet (text-internet)
  Window Managers (window-managers)

Desktop Environments for Server

  • How to add a Graphical DE to Server

VirtualBox.pngLogo SoaS 01.pngVirtualBox:F21 Sugar 0.102 v11

  • New VirtualBox build with released SoaS V11
Anaconda 21.48.21-1
User=sugar; Password=sugaruser
  • Based on Fedora-Live-SoaS-x86_64_64-21-5.iso
Bridged Networking
1024 memory
Screenshot of Background
Error creating thumbnail: File missing
  • NOTE: If no backgrounds are available install gnome-backgrounds for images to set as background.
Get VirtualBox
Note VirtualBox is free; only extensions are restricted to personal use
How to Clear ./sugar
  • When making a new VM, to clear the Sugar Journal of old entries and to avoid identity conflicts among copies of the VM, enter the command rm -rf ~/.sugar in the Terminal activity. Then shutdown the VM. This will clear all Learner information on the VM and let you start with a fresh install. Skipping this will result in collisions in the Neighborhood view of the Jabber network between separate copies of the appliance. Verify the presence of the .sugar directory by entering ls -a in Terminal.
  • When cloning a customized VM, in order to keep the Journal and installed .xo Activities, use rm -rf ~/.sugar/default/owner.key* in the Sugar Terminal, and then shutdown the VM. enter in root terminal:su (password) shutdown -h now This leaves the Journal entries and removes only the previous Learner's identity key files.
  • To clear the Sugar Journal:rm -rf ~/.sugar/default/datastore This may be needed if the Journal becomes clogged with too many entries. USE WITH CAUTION'


  • Warning UEFI does not support MultiBoot
New install will delete the existing UEFI boot record if installing from USB.


  • How to fix booting of your disk if it does not boot.

Described by Dan Mossor here:

  • Text of link:
Fedora 21/UEFI_recovery

Changing Gnome-terminal to open new in a tab

"You have to go into Edit/Preferences/General 
to control whether "Open Terminal" opens the terminal in a new window or a new tab." 
Andre Robatino

Errors in java when upgrading to f21

"After updating to java-1.8.0-openjdk-1:
java is no longer my PATH"

dd writing a USB with gnome-disks

  • Boot Live CD of f21 Workstation
start gnome-disks
Insert USB with previously downloaded (Live) xxx.iso
  • If workstation is installed; Start here.
start gnome-disks
click on gear on the top bar of gnome-disks
click Restore Disk Image
Select xxx.iso and Target USB
  • NOTE works with booted Live DVD/CD; or from installed workstation

Write a Live.iso to a USB

  • Boot from a live USB to install F21
Some of these methods will create a persistent USB

Testing liveusb-creator in Windows 8.1

  • Tested by satellit on 2014/08/01
NOTE: GUI works well in fedora.
"There are a number of things that need to fixed in the windows version of liveusb-creator. 
1-) detect screen resolution and properly display GUI
2-) run in compatability mode (run as administrator)
3-) run as liveusb-creator --reset-mbr by default  (this can be done in linux by editing the icon command)
4-)Fix the Download button on the GUI to work and be up to date."

  • fedora-qa Install testing:
06/24/2014 NetworkManager--wifi added to comps in f21(rawhide)
SoaS shows wireless and ad-hoc in f1 Network Neighborhood on install

"If you suddenly find yourself without Wi-Fi,find a wired network connection and:

dnf install NetworkManager-wifi
systemctl restart NetworkManager"



RPM Fusion

"RPM Fusion provides software that the Fedora Project or Red Hat doesn't want to ship."


"Copr (Cool Other Package Repo) is a Fedora project to help make building and managing third party package repositories easy."

Upgrade to rawhide from an existing installation


Anaconda Command Line Options




  • Fedora wiki page

Systemd Commands




Updating Grub 2 on UEFI systems

Fixing Grub Problems

know how to force a reinstall of a kernel

yum reinstall kernel isn't doing anything
you need to re-run the scriptlets
this is not done with "yum reinstall"
"rpm -q --scripts kernel-version-release" would tell you what to rerun

fedora boot optimization

  • Can be dangerous - ADVANCED USERS ONLY

Location enabled by default in GNOME

Settings/Privacy/Location Services
  • Fedora Gnome/Workstation has GeoClue enabled by default
"Geoclue is a D-Bus service that provides location information.
The primary goal of the Geoclue project is to make creating location-aware applications as simple as possible,
while the secondary goal is to ensure that no application can access location information without explicit permission from user. "
  • Turn Geoclue on/off in Gnome
Settings/Privacy/Location Services
Error creating thumbnail: File missing
  • To see if Geoclue is present in your spin:
rpm -q geoclue2
  • geoclue2 in sugar 0.102
Error creating thumbnail: File missing

Suggestions on using a ssd HD


#save as /root/anaconda-ks.cfg
#f21 Workstation RC5
  System authorization information
auth --enableshadow --passalgo=sha512
# Run the Setup Agent on first boot
firstboot --enable
ignoredisk --only-use=sdb
# Keyboard layouts
keyboard --vckeymap=us --xlayouts='us'
# System language
lang en_US.UTF-8
# Network information
network  --bootproto=dhcp --device=p4p1 --ipv6=auto --activate
network  --hostname=localhost.localdomain
# Root password
rootpw --iscrypted xxxxxxx(cut for security)xxxxxxx
# System timezone
timezone America/Los_Angeles --isUtc
user --groups=wheel --name=xxxxxxx --password=xxxxxxx(cut for security)xxxxxxx
# X Window System configuration information
xconfig  --startxonboot
# System bootloader configuration
bootloader --location=mbr --boot-drive=sdb
autopart --type=plain
# Partition clearing information
clearpart --all --initlabel --drives=sdb

%packages @base-x @core @dial-up @firefox @fonts @gnome-desktop @guest-desktop-agents @hardware-support @input-methods @libreoffice @multimedia @printing @standard


Fedora-21 anaconda 21.48.1-1 installer

  • This is the installer from Fedora-Live-SoaS-x86_64-21-20140728.iso SoaS LiveCD in Oracle VM VirtualBox
and Fedora-Live-Workstation-x86_64-21-5 in Gnome-boxes The final released version of f21
12/15/2014 released version uses anaconda 21-48.21-1
  • Note The same installer is on the boot.iso with more options.
Error creating thumbnail: File missing
Error creating thumbnail: File missing
Error creating thumbnail: File missing
  • Install done from Soas terminal with
Error creating thumbnail: File missing
Error creating thumbnail: File missing
  • Time Zone selected
[Done] to return to main Hub
Error creating thumbnail: File missing
  • Select Install Destination
Error creating thumbnail: File missing

Begin Installation

Error creating thumbnail: File missing
  • Select Begin Installation
Formatting of HD target begins
Error creating thumbnail: File missing
Select root-pasword
  • root password
Error creating thumbnail: File missing
  • User
Error creating thumbnail: File missing
Root Password and User Creation
Select Password and User Creation to enter their spokes and return with [Done]
  • A weak Password will require entering [done] 2 times to return to main Configuration Spoke
See yellow warning in bottom of page
  • NOTE: If No Root/User are entered
Gnome or workstation: G-I-S (Gnome initial setup) will be started on first boot where these can be entered
Warning Passwords will need to be much more complicated and larger; (keep adding letters to password until you can click next.)
Other Desktops: Anaconda will pop up window for missing root/user before it completes the install and [Done]-Reboot appears
  • Install Complete - Reboot
Error creating thumbnail: File missing
  • Shutdown and remove live installer DVD/USB/iso and reboot into installed system.

Custom Install Screens

  • Note only used if you select:
 [x]I will configure partitioning
Error creating thumbnail: File missing
Error creating thumbnail: File missing
select type of partition to create in Drop Down menu
Error creating thumbnail: File missing
Error creating thumbnail: File missing
Reclaim space if HD is already formatted
Error creating thumbnail: File missing
Error creating thumbnail: File missing


12/15/2014 released version uses anaconda 21-48.21-1
  • The f21 Server netinstall is equivalent to the boot.iso and can be used in its place.
x86_64 Fedora-Server-netinst-x86_64-21
i386 Fedora-Server-netinst-i386-21
Error creating thumbnail: File missing
Welcome and language selection
Error creating thumbnail: File missing
[Software Selection]
Error creating thumbnail: File missing
  • Select from left and right columns
(Lists Server and Desktop Environments with their Optional packages listed on the right side.)
  • A live internet connection is required for a f21 Server netinstall/boot.iso
Select and hit [Done] to return to Begin Installation.

Anaconda boot options


Available Groups

  • Using yum install in root terminal
Fedora 21 Groups

Disable KDE Hot corners for Sugar-runner

  • System settings Screen Edges
Sugar-runner cannot access the f1 network neigborhood when the left top corner is hot.
Error creating thumbnail: File missing

Calamares Installer testing

  • Alternative installer for KDE

Fedora Jam Audio Spin

  • Spin details and how to install

"Fedora jam is for audio enthusiasts and musicians who want to create, edit and produce audio and music. It comes with Jack, ALSA and Pulseaudio by default, and a suite of programs to tailor your studio. It also includes all of the biggest audio applications, including Ardour, Audacity, Qtractor, Musescore, Frescobaldi, all the latest LADSPA/LV2 plugins and many more."

Remix and Install ISO Creation

Installing VirtualBox in F21

  • Log of install
With terminal commands to add required files.



f22 Rawhide kernel causes problems with Virtualbox 4.1.20

"Fedora's 'bleeding edge' distro "rawhide" has rolled out kernel version today. Virtualbox guest additions 4.1.20 fail with desktop integation (only a ~1000 pixel horizontal resolution can be achived). Mouse integration and shared folder integration is OK. I *do have* rebuilt the guest additions after the kernel upgrade - just telling in advance in case somebody should feel like to ask!"


Workaround to start sugar-runner in workstation

  • Change desktop file in /usr/share/applications:
add --resolution 1024x768
#gedit /user/share/applications/sugar-runner.desktop

Sugar-runner change resolution.png

This fix is needed to make sugar-runner start correctly from the XO icon
in f21-workstation bare metal install
installed with # "yum install @sugar-desktop sugar-runner" .
  • Notes: 11/16/2014

You must navigate root terminal to /user/share/applications/

gedit sugar-runner.desktop
edit the Exec line and save
Restart Workstation before the changes will work



"A brand new application called MultiWriter has just hit the Fedora 21 repositories that allows you to write a single ISO (eg. the Fedora Workstation Live Image) to multiple USB drives all at the same time. The application is super simple to use, just insert the USB storage devices you want to write to make show up in the MultiWriter interface, then press a single button to choose the ISO and MultiWriter will image the ISO to all those USB drives."

"Multiwriter is now available in the Fedora 21 repositories, so you can install it using the Software application in Fedora Workstation, or on the command line with:"

sudo yum install gnome-multi-writer


Error creating thumbnail: File missing
Version 2014-11-26 :: v3.13.1
   "Support a new destructive mode that uses dd to copy the iso directly to the device. This method tends to be more reliable,
   and requires ​hybrid ISOs, which Fedora have been producing for a long time.
   Added a new --dd command-line option
   DVD iso support with the 'Overwrite device' method..."

Experimental (proposed) Cinnamon spin

being tested in above screenshot

Sugar-test Cases

Used in #fedora-qa testing

SoaS v10 testing with non-standard activities

Bug Reports

  • Blockers Bugs info

Sugar IRC 10 errors

  • seems to be fixed

Missing Wireless Drivers


Captive Portal

  • active in f21 if gnome is used.
May be present in NetworkManager for other DE's ?
Gnome 3.1.4 feature
Should be https: https://bugzilla.redhat.com/show_bug.cgi?id=1135777
  • Discussion of feature
Connects to fedora server every 300 sec to check connectivity
To see NM settings
To test if connected; "OK" says connection is up

Request for way to disconnect

  • 12/08/2014 #fedora-qa (edited)
Question: "http://fedoraproject.org/static/hotspot.txt gives "OK" even with location services switched off in privacy  ?
Answer:that location service is not related to NetworkManager connectivity checking
location service is used by weather application for example, possibly clocks ... to determine your location
Question: not Captive Portal on/off ?
Answer:no there is no easy on/off switch, it is still a hard dependency as package, but you can for example create a same config file in /etc/NetworkManager/conf.d/99-connectivity-fedora.conf for example with "blank" uri "uri=" and "interval=0" that will override the default 20-connectivity-fedora.conf (man 5 NetworkManager.conf CONECTIVITY SECTION ... )
Answer:here is a upstream bug report about making the easy "on/off" option available (or some other solution) https://bugzilla.gnome.org/show_bug.cgi?id=737362
also that URL will always return OK if it is "real" so no MITM, its content wont change in any way when local settings are changed, it is only used with known content and accessed over secure connection to verify you have access to the internet ... (in case of MITM, it will fail, because certificate for fp.o cannot be valid assuming CAs don't allow someone to create one for that domain ... and they "sign it") "

Fedora Firewall

"sudo firewall-cmd --set-default-zone=FedoraServer
That will limit it to SSH, DHCPv6 and cockpit
Or use default zone "Public", which swaps cockpit out and adds mDNS
sudo firewall-cmd --set-default-zone=block"

cockpit in fedora 21 server

  • Cockpit is a server user interface.
After boot, Cockpit is up and running and listens on port 9090.
  • IRC #cockpit in freenode



New proposed Features

GNOME Design


AppInstaller in F21


"gnome-software will support installing system add-ons such as fonts and codecs. It will show additional metadata for applications: screenshots, ratings, other details.
We will also work with the Fedora infrastructure team to obtain the metadata online for all applications instead of shipping it statically for a limited set."



"This all came out of a number of proposals at Flock 2013, 
including Architecture for a More Agile Fedora and Stephen Gallagher's suggestion that we use that architecture to design, build,
and market three distinct Fedora products. This grew into a proposal accepted by the Fedora advisory board, and the formation of Initial Working Groups by FESCo. "

Release Schedule

  • Links to current fedora wiki pages:
Release Schedule http://fedoraproject.org/wiki/Releases/21/Schedule
Tasklist: https://fedoraproject.org/wiki/Workstation/Tasklist
buglist: https://qa.fedoraproject.org/blockerbugs/milestone/21/alpha/buglist
TC List: http://dl.fedoraproject.org/pub/alt/stage/

Test announce Thread - Fedora-qa


Official Fedora Spins

  • status of spins
This page needs to be updated to maintain status as a recognized spin