Template:Upgrading Alpine executeupgradescript: Difference between revisions

From Alpine Linux
(Moving UpgradeScript notes to template (to reuse the notes))
 
(make redirect)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Execute upgrade script ==
#REDIRECT [[Include:Upgrading Alpine executeupgradescript]]
The new media has a 'upgrade' script found on root level on media. This 'upgrade' script needs to be executed and walked through.
/media/$LBU_MEDIA/upgrade
 
You will be informed about various changes and you will be able to choose if you want to keep your old config-files or if you want to use a new.<BR>
Each setup is different, so it's hard to say what needs to be upgraded and what should be kept.
 
When the new media holds a updated version of configfile, you will be prompted with something that looks like this:<BR>
Quit, Next, Show diff, Edit new, Zap new, Use new (q/n/s/e/z/u) [s]:
 
If you choose to 'Edit new' you will use the 'vi' editor.<BR>
A short note on how you use that editor:
* '''i''' = Enter "insert" mode so you can edit the content
* '''[esc]''' = Enter CMD-mode where you can chose to save/quit
** CMD-mode has these options
*** ''':w''' = Write your changes
*** ''':q''' = Quit editor
*** ''':q!''' = Force quit even if you have changes that is still not saved
 
== Save changes ==
Now that all upgrades are done, we should save our settings to our media (which you hopefully have backed up).
lbu ci

Latest revision as of 02:48, 29 October 2012