Line 1: |
Line 1: |
| '''Major INFO! TAKE ALWAYS the GENERIC FILE of the LAST RELEASE AS Template to copy it to CUSTOM cause much Changes done there!''' | | '''Major INFO! TAKE ALWAYS the GENERIC FILE of the LAST RELEASE AS Template to copy it to CUSTOM cause much Changes done there!''' |
| | | |
− | FreeBSD 11 Howto: | + | FreeBSD 11 (AMD 64bit) Howto: |
| | | |
− | 1. Make Backup of the System Disk (dd = disk dump) , boot o a FreeBSD Stick and mount a USB Drive, then "dd if=/dev/ad0 of=/dev/sdb bs=10240" | + | 1. Make full backup of the System Disk (disk dump) , boot o a FreeBSD Stick and mount a USB Drive, then "dd if=/dev/ad0 of=/dev/sdb bs=10240" |
| | | |
− | 2. Use a copy of the current updated "GENERIC" Kernel Config File !! (located /usr/src/sys/amd64-or-i386/GENERIC) | + | 2. Use a copy of the current updated "GENERIC" Kernel Config File !! (located /usr/src/sys/amd64/GENERIC) |
| | | |
− | 3. If you want to upgrade to 9.0 use GENERIC-File of FreeBSD 9.0 !!! path /usr/src/sys/i386/conf/GENERIC make a copy named "CUSTOM" and edit it to modify | + | 3. If you want to upgrade use GENERIC-File of FreeBSD 11.0 !!! path /usr/src/sys/amd64/conf/GENERIC make a copy named "CUSTOM" and edit it to modify |
| | | |
− | 4. Download the current sources of the Base System wget ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/9.0-RELEASE/src.txz | + | 4. Download the current sources of the Base System wget http://ftp.freebsd.org/pub/FreeBSD/releases/amd64/11.0-RELEASE/src.txz |
| | | |
| 5. Extract it to /usr/src with | | 5. Extract it to /usr/src with |
Line 18: |
Line 18: |
| 6. cp GENERIC to custom | | 6. cp GENERIC to custom |
| <pre> | | <pre> |
− | cp /usr/src/sys/i386/conf/GENERIC /usr/src/sys/i386/conf/custom | + | cp /usr/src/sys/amd64/conf/GENERIC /usr/src/sys/amd64/conf/custom |
| </pre> | | </pre> |
| 7. Edit custom and change "Desciption" inside "GENERIC" to "CUSTOM", delete lines of unwanted modules, save and exit CUSTOM file. | | 7. Edit custom and change "Desciption" inside "GENERIC" to "CUSTOM", delete lines of unwanted modules, save and exit CUSTOM file. |
Line 30: |
Line 30: |
| make -s buildkernel KERNCONF=custom | | make -s buildkernel KERNCONF=custom |
| </pre> | | </pre> |
− | 10. Install Custom Kernel | + | 10. Install the Custom Kernel (without the Base System first) |
| <pre> | | <pre> |
| make -s installkernel | | make -s installkernel |
Line 36: |
Line 36: |
| 11. Reboot to Single Mode or Remote via SSH disable most uneeded services at /etc/rc.conf with "#", but not SSH !!! | | 11. Reboot to Single Mode or Remote via SSH disable most uneeded services at /etc/rc.conf with "#", but not SSH !!! |
| | | |
− | 12. Install World | + | 12. Install "World" Base System, Check first the Changes of Configs, install Base, Re Check the Config Changes! |
| <pre> | | <pre> |
− | mergemaster -p | + | mergemaster -p |
| make -s installworld | | make -s installworld |
| mergemaster -FiU | | mergemaster -FiU |