Benutzer-Werkzeuge

Webseiten-Werkzeuge


freebsd:i386toamd64

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

freebsd:i386toamd64 [2015/11/15 21:51]
127.0.0.1 Externe Bearbeitung
freebsd:i386toamd64 [2015/11/15 21:53]
127.0.0.1 Externe Bearbeitung
Zeile 18: Zeile 18:
  
  
-    ​some amd64 hardware, currently running in i386 mode (obviously ;.) +  - some amd64 hardware, currently running in i386 mode (obviously ;.) 
- +  ​- ​a swap partition/​volume of at least 350 MiB which can be used as a temporary root filesystem (miniroot) 
-    ​a swap partition/​volume of at least 350 MiB which can be used as a temporary root filesystem (miniroot) +  ​- ​enough RAM so the machine could at least install a precompiled system without swap 
-    enough RAM so the machine could at least install a precompiled system without swap +  ​- ​a recent /usr/src filesystem of whatever branch has been chosen 
- +  ​- ​a running i386 system matching whatever is installed under /usr/src (just to be sure everything is consistent) 
-    ​a recent /usr/src filesystem of whatever branch has been chosen +  ​- ​a safe backup of all important data, in case something goes wrong with the migration 
- +  ​- ​console access, so you can use the loader prompt and single user mode (ssh access is not sufficient!) ​
-    ​a running i386 system matching whatever is installed under /usr/src (just to be sure everything is consistent) +
-    a safe backup of all important data, in case something goes wrong with the migration +
-    console access, so you can use the loader prompt and single user mode (ssh access is not sufficient!) ​+
  
 ===== Migration Process ===== ===== Migration Process =====
  
 +If necessary, define your kernel config file in /​etc/​make.conf,​ create and edit it (otherwise, GENERIC will be used).
 +Build amd64 world and kernel using:
 +<script console>
 +make buildworld TARGET=amd64 TARGET_ARCH=amd64
  
-    If necessary, define your kernel config file in /etc/make.conf, create and edit it (otherwise, GENERIC will be used). +make buildkernel ​TARGET=amd64 TARGET_ARCH=amd64 
-    Build amd64 world and kernel using: +</​script>​ 
- +This is supposed to pass without any issues. If not: resolve issues, and start over. 
-        make buildworld ​TARGET=amd64 TARGET_ARCH=amd64 +
- +
-        make buildkernel TARGET=amd64 TARGET_ARCH=amd64 +
-        ​This is supposed to pass without any issues. If not: resolve issues, and start over. +
  
-    ​Turn your swap into a miniroot:+Turn your swap into a miniroot: 
 +<script console>
  
         swapinfo -h — make sure no swap is in use (if the swap is not free, reboot here)         swapinfo -h — make sure no swap is in use (if the swap is not free, reboot here)
Zeile 59: Zeile 57:
  
         cp /etc/fstab /​mnt/​etc/​fstab This completes your miniroot in the swap volume. ​         cp /etc/fstab /​mnt/​etc/​fstab This completes your miniroot in the swap volume. ​
 +</​script>​
  
     Prepare the /usr/obj tree for later installation:​     Prepare the /usr/obj tree for later installation:​
freebsd/i386toamd64.txt · Zuletzt geändert: 2015/11/15 22:00 (Externe Bearbeitung)