From Mageia wiki
Jump to: navigation, search
(Howto keep the users IDs in a clean install)
m (change of url imageone)
 
(16 intermediate revisions by one other user not shown)
Line 1: Line 1:
 +
<div style="text-align: center; border-radius:8px; background-color: #1272b1;">
 +
<span style="font-family: sans-serif; font-size: 3em; color: #ffffff">Welcome to the Mageia wiki</span>
 +
</div><br>
  
<span style="color: red; font-size: 18pt"> Proposal for extra information to add in the wiki (howto choose the right Mageia update method)  and/or in the manuals ? </span>
 
  
= Presentation =
+
{| class="contenttable" cellpadding="10" cellspacing="10" border="0"
 
+
|- valign="top"
This page deals with the different ways to upgrade a Mageia operating system version from n to n+1. It is different from a simple packages update. It is not possible to upgrade from more than one step.
+
| style="width:48%; font-size:102%; background-color: #fdfdfd; border-radius:8px; border: 2px solid steelblue; box-shadow: 2px 4px 2px rgba(0,0,0,0.3);"|<p>'''Current release'''<br>
 
+
Mageia 6 is supported until January 16th, 2019</p>
= Requirements =
+
{|border="0" ;style="width:100%;"  
 
+
! !!
To be able to choose the right upgrade method, you may need to know one or several following features about your existing system:
 
* If it has or hasn't a separate /home partition
 
* Its architecture, 32 or 64 bit
 
* Its firmware mode, bios or UEFI
 
* The disks partitioning mode, ms-dos (also called MBR) or GPT.
 
* The installed desktop(s) environment
 
* The user-names with their UIDs and GIDs
 
* The used boot loader
 
 
 
You also need to know which of theses features you want to change in the new system if any.<br>
 
At last, whatever your decision is, always
 
* read the errata, there is a wiki page for each release,
 
* backup your data
 
* update your Mageia version n
 
 
 
= Vocabulary =
 
 
 
We are used to name the different upgrades according to what partitions are formatted as shown in the following table, but take care that other names may be used in other pages.
 
 
 
{|border="1" class="wikitable" style="text-align:center; width:800px;"
 
! scope="col"| Situation
 
| No formatted partition
 
| only / is formatted
 
|/ and /home are formatted
 
 
|-
 
|-
! scope="col"|Name
+
|style="width: 50%; "|
| style="background-color: #faeaff"|Simple upgrade
+
* [[Mageia_6_Release_Notes|Mageia 6 Release Notes|]]
| style="background-color: #faeaff"|Clean install
+
* [[Mageia_6_Errata|Mageia 6 Errata]]
| style="background-color: #faeaff"|New install
+
* [https://advisories.mageia.org/ List of updates]
 +
* [[Mageia_6_Press|Mageia 6 Reviews]]
 +
|
 +
|style="width: 50%;" align="center" |[[image:Wiki_main_box_one.png|right]]
 
|}
 
|}
  
If one or more other OS(es) are able to be loaded on your system, we call that '''"dual boot"''' if there is two OSes and '''"multi boot"''' for more, often simplified by '''"dual boot"''' whatever their number is. e.g.: A clean installation in dual boot.
+
| style="width:48%; font-size:102%; background-color: #fdfdfd; border-radius:8px; border: 2px solid steelblue; box-shadow: 2px 4px 2px rgba(0,0,0,0.3);"|<p>'''Mageia Users'''<br>
 
+
Ways to find help and engage with other 'Mageians'</p>
{{note|You can't do a clean install if you don't have a separate /home partition}}
+
* [[Documentation|Documentation]] - installation, configuration, Howtos, Tutorials ...
 
+
** Newcomers start [[Newcomers start here|here]]
= Media choice =
+
* Our [https://forums.mageia.org/en/ forums]
+
* [[Users_Community_team|Contacts]] for Mageia local user-groups
== Media possibilities ==
+
* Commercial services: [[Commercial_vendors|Policy and Vendors]]
 
 
You need to choose you media according to the upgrade you plan to do.
 
 
 
{|border="1" class="wikitable" style="text-align:center; width:800px; background-color: #faeaff;"
 
! Media !! Simple upgrade !! Clean installation !! New installation
 
|-
 
|Live
 
|no
 
|yes
 
|yes
 
|-
 
|Classical
 
|yes
 
|yes
 
|yes
 
|-
 
|CLI (changing the repositories)
 
|yes
 
|no
 
|no
 
|}
 
 
 
 
 
{{note|[https://doc.mageia.org/netinstall/6/en/content/SOME_UNIQUE_ID.html Netinstall.iso] is not really a media by itself but a way to boot and then load a media that is present locally or via a network.}}
 
 
 
== Advantages, drawbacks and special features ==
 
 
 
; Simple upgrade
 
: '''Advantages:''' Quick (no afterwards configuration), easy (no questions from the installer)
 
: '''Drawbacks:''' If problems, instabilities, useless data, ... exist, they are kept. Some upgrades can be risky when the step is important (e.g. KDE4 > Plasma5)
 
: '''Special features:'''
 
::* In case of important graphic evolutions (e.g. KDE4 -> Plasma5) it is more secure to do the upgrade in text mode. See the Howto below.
 
::* It is impossible to change any of the characteristics listed above
 
::* Third party applications are not updated
 
::* Boot loader configuration is updated, may need manual action in dual boot
 
::* When the installer ask you to choose between [https://doc.mageia.org/installer/6/en/content/selectInstallClass.html "Upgrade" or "Installation"], you choose "Upgrade".
 
 
 
{{note|If you want to change the architecture from 32 bit to 64 bit, an upgrade is not possible as / must be formated }}
 
 
 
 
 
; Clean installation
 
: '''Advantages:''' Clean the system (see Simple upgrade drawbacks), few configuration (icons, widgets, wallpapers, bookmarks, data ... are preserved), low risk of failure.
 
: '''Drawbacks:''' Need some skills (to choose the partitions and the desktop, to create the users, ...). Some configuration to do again (e.g. networks, some devices not fully supported)
 
: '''Special features:'''
 
::* Take care the installation preserves the same users UIDs and GIDs.  See the Howto below.
 
::* Third party applications are not updated
 
::* Allow to move from 32 bit architecture to 64 bit one and vice versa
 
::* Boot loader configuration is updated, may need manual action in dual boot
 
::* When the installer ask you to choose between [https://doc.mageia.org/installer/6/en/content/selectInstallClass.html "Upgrade" or "Installation"], you choose "Installation". [https://doc.mageia.org/installer/6/en/content/index.html See the Installation manual].
 
 
 
; New installation
 
: '''Advantages:''' Everything is clean, /home included,
 
: '''Drawbacks:''' need skills and is longer, it is like a first installation, the whole configuration must be re-done.
 
: '''Special features:'''
 
::* It is an opportunity to update the disc partitioning,
 
::* If no dual boot, it is also an opportunity to move from bios to UEFI mode
 
::* Boot loader configuration is updated, may need manual action in dual boot
 
::* When the installer ask you to choose between [https://doc.mageia.org/installer/6/en/content/selectInstallClass.html "Upgrade" or "Installation"], you choose "Installation". [https://doc.mageia.org/installer/6/en/content/index.html See the Installation manual].
 
 
 
{{note|If you want to change a msdos disc to GPT, only a new installation allow that as a new disc partitioning is needed.}}
 
 
 
  
; Whatever in dual boot
+
|- valign="top"
: '''Advantages:''' Add the possibility to use two or more OSes on the same computer and if wanted, to share the data,
+
| style="font-size:102%; background-color: #fdfdfd; border-radius:8px; border: 2px solid steelblue; box-shadow: 2px 4px 2px rgba(0,0,0,0.3);"|<p>'''Distribution development'''<br>
: '''Drawbacks:''' The boot loader is rewritten and skills are needed to re-configure it if necessary.
+
The next Mageia release will be [https://wiki.mageia.org/en/Category:Mageia_7 Mageia 7]</p>
: '''Special features:'''  
+
* [[Mageia_7_Development|Planning]]
::* If you don't want the Mageia boot loader to be installed by default, take care during the installation to act in order to keep your favourite boot loader. [https://doc.mageia.org/installer/6/en/content/index.html See the Installation manual].
+
* [[Features_policy|Features proposals policy]]
 +
* [[:Category:ProposedFeatureMageia7|Mageia 7 Technical specifications proposals]]
 +
* [[FeatureMageia7_Review|Mageia 7 features list]]
  
= Help =
+
|style=" font-size:102%; background-color: #fdfdfd; border-radius:8px; border: 2px solid steelblue; box-shadow: 2px 4px 2px rgba(0,0,0,0.3);"|<p>'''Contributor's Corner'''<br>
 +
Ways to help the Mageia project and its users</p>
 +
* Development, QA/testing, artwork, documenting, forums ...
 +
* Find [[IRC|IRC]], [https://forums.mageia.org/en/ forums] or [[Mailing lists|mailing lists]]
 +
* Join a Mageia [[Contributing| team]]
 +
* [http://www.mageia.org/en/donate/ Donations]
  
== Howto do a simple upgrade in text mode ==
+
|- valign="top"
 +
| style="font-size:102%; background-color: #fdfdfd; border-radius:8px; border: 2px solid steelblue; box-shadow: 2px 4px 2px rgba(0,0,0,0.3);"|<p>'''Previous releases'''<br>
 +
The following are no longer supported:</p>
 +
* [[Mageia 5 Release Notes|Mageia 5]]
 +
* [[Mageia 4]]
 +
* [[Mageia 3]]
 +
* [[Mageia 2]]
 +
* [[Mageia 1]]
  
After having started and updated your system:
+
| style="font-size:102%; background-color: #fdfdfd; border-radius:8px; border: 2px solid steelblue; box-shadow: 2px 4px 2px rgba(0,0,0,0.3);"|'''Wiki in other languages'''
 
+
* [https://wiki.mageia.org/en/%E9%A6%96%E9%A1%B5 简体中文]
{|border="0" style="width:1150px;"
+
* [http://www.wiki.mageia.cz/ Česky cs: wiki]
|-
+
* [http://wiki.mageia.org/de/ Deutsch de: Hauptseite]
|style="width: 25%;|Open a console and enter the root mode
+
* [https://wiki.mageia.org/en/Bienvenido Español]
|{{console|su -}}
+
* [[Accueil-fr|Français fr]] (wiki officiel Mageia)
|-
+
:et [http://www.mageialinux-online.org/wiki/wiki.php mageialinux-online.org] (wiki officiel de MLO)
|Stop the graphic interface
+
* [https://wiki.mageia.org/en/Main_Page_PL Polski]
|{{root console|systemctl isolate multi-user }}
+
* [[Página Principal pt-PT|Português (Portugal)]]
|-
+
* [[Página Principal pt-BR|Português do Brasil]]
|Delete the current repositories
+
* [https://wiki.mageia.org.ru/index.php?title=Заглавная_страница Русский]
|{{root console|urpmi.removemedia -a }}
+
* [http://wiki.mageia.org/en/Ana_sayfa Türkçe]
|-
 
|Add the new repositories
 
|{{root console|urpmi.addmedia --distrib --mirrorlist <nowiki> http://mirrors.mageia.org/api/mageia.<n+1>.<arch>.list</nowiki>}}
 
|-
 
|Test the upgrade, all the packages are downloaded and the upgrade simulated
 
|{{root console| urpmi --replacefiles --auto-update --auto --download-all --test}}
 
|-
 
|If the test is OK, start the upgrade
 
|{{root console|  urpmi --replacefiles --auto-update --auto --download-all}}
 
|-
 
|When it is over, reboot the system
 
|{{root console|shutdown -r now}}
 
 
|}
 
|}
<br>
 
 
{{dragons|To be very careful, you can at the very beginning enter the command {{cmd|script upgrade_log.txt}} to fetch the error messages during the upgrade. At the end, enter the command {{cmd|exit}} to stop the record. You will find the backtraces in the file {{file|/root/upgrade_log.txt}}  }}
 
 
== Howto keep the users IDs in a clean install == 
 
 
When doing a clean installation, you have to re-create the users and theirs already existing respective IDs. By default, the system is going to attribute them UIDs and GIDs beginning at 1000 (from Mageia 5 and over, 500 bedore). If these IDs are not correct, you have to change them. To do that, when the installer arrive to the "User management" step, click on "Advanced":<br>
 
[[image:wikiUpgrade1en.png|800px]]
 
 
Then, you can here add the right IDs: <br>
 
[[image:wikiUpgrade2en.png|800px]]
 
 
At the end of the installation, you have another possibility to modify the IDs, in  the "System" section, click on "Configure" in front of "User management": <br>
 
[[image:wikiUpgrade3en.png|800px]]
 

Latest revision as of 09:03, 26 June 2018

Welcome to the Mageia wiki



Current release
Mageia 6 is supported until January 16th, 2019

Wiki main box one.png

Mageia Users
Ways to find help and engage with other 'Mageians'

Distribution development
The next Mageia release will be Mageia 7

Contributor's Corner
Ways to help the Mageia project and its users

Previous releases
The following are no longer supported:

Wiki in other languages
et mageialinux-online.org (wiki officiel de MLO)