Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:migration:from_v0_dot_2 [2019/08/08 02:53]
g4jc clarify more stuff
en:migration:from_v0_dot_2 [2019/08/18 18:43] (current)
emulatorman
Line 2: Line 2:
  
 <note warning>​Only for beta-test users, this will be stabilized for next release cycle</​note>​ <note warning>​Only for beta-test users, this will be stabilized for next release cycle</​note>​
-<note warning>​This page is under development!</​note>​ 
  
 Since Hyperbola migrated from [[https://​wiki.archlinux.org/​index.php/​Frequently_asked_questions#​Does_Arch_follow_the_Linux_Foundation'​s_Filesystem_Hierarchy_Standard_(FHS)?​|systemd'​s Filesystem Hierarchy used by Arch]] to the  Since Hyperbola migrated from [[https://​wiki.archlinux.org/​index.php/​Frequently_asked_questions#​Does_Arch_follow_the_Linux_Foundation'​s_Filesystem_Hierarchy_Standard_(FHS)?​|systemd'​s Filesystem Hierarchy used by Arch]] to the 
Line 11: Line 10:
 The **Filesystem Hierarchy Standard** (FHS) defines the main directories and their contents in GNU/Linux and other Unix-like computer operating systems such as [[en:​main:​nomenclatures#​hyperbolabsd|HyperbolaBSD]]. See [[en:​main:​fhs|our article]] for further details. The **Filesystem Hierarchy Standard** (FHS) defines the main directories and their contents in GNU/Linux and other Unix-like computer operating systems such as [[en:​main:​nomenclatures#​hyperbolabsd|HyperbolaBSD]]. See [[en:​main:​fhs|our article]] for further details.
  
-==== Warning ​=====+==== Warning ====
  
 <note warning>​Please read the whole warning</​note>​ <note warning>​Please read the whole warning</​note>​
Line 21: Line 20:
 <note important>​To the fullest extent permitted by applicable laws, **Hyperbola Project excludes and disclaims** liability for any losses and expenses of whatever nature and howsoever arising, including without limitation, any direct, indirect, general, special, punitive, incidental, or consequential damages; loss of use; loss of data; loss caused by a virus; loss of income or profit; loss of or damage to property; claims of third-parties or other losses of any kind or character.</​note>​ <note important>​To the fullest extent permitted by applicable laws, **Hyperbola Project excludes and disclaims** liability for any losses and expenses of whatever nature and howsoever arising, including without limitation, any direct, indirect, general, special, punitive, incidental, or consequential damages; loss of use; loss of data; loss caused by a virus; loss of income or profit; loss of or damage to property; claims of third-parties or other losses of any kind or character.</​note>​
  
-==== Migration ====+===== Migration ​=====
  
 Run the live image and mount your root partition to **/mnt**. Replace /​dev/​sd//​X//​ with your actual root partition. Run the live image and mount your root partition to **/mnt**. Replace /​dev/​sd//​X//​ with your actual root partition.
Line 28: Line 27:
 # mount /dev/sdX /mnt # mount /dev/sdX /mnt
 </​code>​ </​code>​
- 
  
 <​note>​If you are using an encrypted file system, you will need to unlock it first and then mount it. <​note>​If you are using an encrypted file system, you will need to unlock it first and then mount it.
Line 53: Line 51:
 </​note>​ </​note>​
  
-=== Remove custom packages and orphaned ones ===+==== Remove custom packages and orphaned ones ====
  
 <code bash> <code bash>
Line 66: Line 64:
 </​note>​ </​note>​
  
-=== Use Testing Mirrors ===+==== Use Testing Mirrors ​====
  
 Force live image environment to use testing repository exclusively,​ eg: Force live image environment to use testing repository exclusively,​ eg:
Line 79: Line 77:
 # echo '​Server = https://​mirror.fsf.org/​hyperbola/​gnu-plus-linux-libre/​testing/​$repo/​os/​$arch'​ > /​mnt/​etc/​pacman.d/​mirrorlist # echo '​Server = https://​mirror.fsf.org/​hyperbola/​gnu-plus-linux-libre/​testing/​$repo/​os/​$arch'​ > /​mnt/​etc/​pacman.d/​mirrorlist
 </​code>​ </​code>​
 +
 +==== Update database ====
  
 <note important>​ <note important>​
Line 90: Line 90:
 </​code>​ </​code>​
 </​note>​ </​note>​
- 
-=== Update database === 
  
 Update the live image environment'​s package database: Update the live image environment'​s package database:
Line 113: Line 111:
 <note important>​Note:​ Exporting the path is only required for older live cd images (eg. Milky Way <​=0.2.9)</​note>​ <note important>​Note:​ Exporting the path is only required for older live cd images (eg. Milky Way <​=0.2.9)</​note>​
  
-=== Fix package database ===+==== Fix package database ​====
  
 <code bash> <code bash>
Line 123: Line 121:
 </​code>​ </​code>​
  
-=== Update the filesystem ===+==== Update the filesystem ​====
  
 The [[https://​www.hyperbola.info/​packages/​core/​x86_64/​filesystem/​|filesystem]] ​ has significantly changed since v0.2.9, and requires manual upgrading. The [[https://​www.hyperbola.info/​packages/​core/​x86_64/​filesystem/​|filesystem]] ​ has significantly changed since v0.2.9, and requires manual upgrading.
Line 134: Line 132:
  
  
-=== Update all packages ===+==== Update all packages ​====
  
 <code bash> <code bash>
Line 140: Line 138:
 </​code>​ </​code>​
  
-=== Reinstall all non-explicitly installed packages ===+==== Reinstall all non-explicitly installed packages ​====
  
 <code bash> <code bash>
Line 146: Line 144:
 </​code>​ </​code>​
  
-=== Reinstall all explicitly installed packages ===+==== Reinstall all explicitly installed packages ​====
  
 <code bash> <code bash>
Line 152: Line 150:
 </​code>​ </​code>​
  
-=== Chroot into the installed system ===+==== Chroot into the installed system ​====
  
 <code bash> <code bash>
Line 158: Line 156:
 </​code>​ </​code>​
  
-=== Reinstall all packages again ===+==== Reinstall all packages again ====
  
 <code bash> <code bash>
Line 204: Line 202:
 </​code>​ </​code>​
  
-=== Exit from chroot ===+===== Complete the migration ===== 
 + 
 +==== Exit from chroot ​====
  
 <code bash> <code bash>
Line 212: Line 212:
 <note tip>You can also press Ctrl+D in order to exit from a chroot</​note>​ <note tip>You can also press Ctrl+D in order to exit from a chroot</​note>​
  
-=== Unmount and reboot ===+==== Unmount and reboot ​====
  
 <code bash> <code bash>
Line 218: Line 218:
 </​code>​ </​code>​
  
-=== Reboot system ===+==== Reboot system ​====
  
 <code bash> <code bash>
Line 226: Line 226:
 Then login into the new Milky Way v0.3! Then login into the new Milky Way v0.3!
  
-==== After migration ====+===== After migration ​=====
  
 This version of Milky Way contains 2 notable changes: This version of Milky Way contains 2 notable changes:
Line 239: Line 239:
  
  
-=== LibreSSL ===+==== LibreSSL ​====
  
 [[https://​www.libressl.org/​|LibreSSL]] is a version of the TLS/crypto stack forked from OpenSSL in 2014, with goals of modernizing the codebase, improving security, and applying best practice development processes. [[https://​www.libressl.org/​|LibreSSL]] is a version of the TLS/crypto stack forked from OpenSSL in 2014, with goals of modernizing the codebase, improving security, and applying best practice development processes.
Line 259: Line 259:
   * libcrypto.so.1.0   * libcrypto.so.1.0
  
-=== Xenocara ===+==== Xenocara ​====
  
 [[https://​www.xenocara.org/​|Xenocara]] provides a framework to host OpenBSD modifications and to automate the build of the modular X.Org components, including 3rd party packages and some software maintained by OpenBSD developers. [[https://​www.xenocara.org/​|Xenocara]] provides a framework to host OpenBSD modifications and to automate the build of the modular X.Org components, including 3rd party packages and some software maintained by OpenBSD developers.