Posts

Showing posts with the label installkernel

GhostBSD-Arm64 Future Road Map Ideas to share with present Users.

GhostBSD-Arm64  Future Road Map Ideas to share with present Users.   FreeBSD is where GhostBSD gets upstream sources.  FreeBSD is the parent, but GhostBSD copies and keeps its own repository of source code in packages.  Howto on GhostBSD-Arm64 uses to obtain ghostbsd source code.  Start with a FreeBSD snapshot running Workstation to obtain source code like this: mkdir -p /usr/ghost14 ;  cd /usr/ghost14 git clone  github.com/ghostbsd/ghostbsd-src cd ghostbsd-src;  make buildworld ; make buildkernel KERNCONF=GENERIC-VCHIQ XFCE4.18 is operational on GhostBSD Arm64 Operating System based on FreeBSD Arm64 Tier 1  Freebsd.org/where find a RPI 3/4 snapshot like 13.2 or 14.0 https://download.freebsd.org/releases/arm64/aarch64/ISO-IMAGES/14.0/  https://download.freebsd.org/releases/arm64/aarch64/ISO-IMAGES/14.0/FreeBSD-14.0-RELEASE-arm64-aarch64-RPI.img.xz or  13.2  https://download.freebsd.org/releases/arm64/aarch64/ISO-IMAGES/13.2/...

Creating Ghost14 aarch64 ARM64 boot image from Klara Systems Document

Image
Creating Ghost14 aarch64 ARM64 boot image from Klara Systems Document. update Dec/10/2023 Image credit to Klara Systems Document https://klarasystems.com/articles/building-customized-freebsd-images/   Read and study this document to understand how to build a bootable image. you need 3 partitions for a minimal bootable image: ESP EFI FAT32  need a 50MB-760MB FAT32 filesystem GPT partition for the U-BOOT files needed by the raspberry pi 4B, 3B, 400 hardware  label esp SWAP space 2 GB on the USB Flash drive stick or on a USB SSD disk device label swapfs GhostBSD rootfs /  for the UFS file system to exist for booting the /boot/kernel/kernel image file.   If you 'dd' write this Ghost14_selfbuilt.img to a 16GB or larger USB Flash Drive Stick device,  You may resize the UFS file system to fill up the unused partition with a larger file space to fill up to the drive size. label rootfs Use resize command with the disk name, ada0, ada1 da0, da1 camcontrol dev...

ARM64 Boot USB Flash Drive, Hey Buddy can you spare some time? update March 31

Image
update March 31, 2024  ARM64 Boot USB Flash Drive,  Hey Buddy can you spare some time? Reference the Cliche,  from the 1930's " Hey Buddy can you spare a dime "  Which was a whole days wages back then.  Enough to buy food to eat for a day.    Start with a used or new fresh USB Flash Drive.    Use a  shell script file to create 3 partitions    Use same shell script file to tar extract 2 .tar.gz files into 2 of the partitions   gpart status  da1   gpart show -lp  /dev/da1 Remove USB Flash Drive,  Insert into Raspberry Pi 4B, 400, 3B .  Watch HDMI screen,  turn on power  and see GhostBSD Script boot up GPT UEFI Partitions placed on a USB Flash Drive 4 GhostBSD CLI commands to understand your disk drive setup  camcontrol devlist   geom disk list  gpart status   gpart show -lp Need Help  use  the Manual command to read more information:  man gpart ;...

time; make -j4 buildworld KERNELCONF=GENERIC-VCHIQ -DNO_CLEAN

time make -j4 buildworld KERNELCONF=GENERIC-VCHIQ -DNO_CLEAN    # script /var/tmp/mw.out Script started, output file is /var/tmp/mw.out   https://people.freebsd.org/~rodrigc/doc/handbook/makeworld.html Can /usr/obj be removed when finished? This directory contains all the object files that were produced during the compilation phase. Normally, one of the first steps in the make buildworld process is to remove this directory and start afresh. Keeping /usr/obj around when finished makes little sense, and its removal frees up a approximately 2GB of disk space. Can interrupted builds be resumed? This depends on how far into the process the problem occurs. In general, make buildworld builds new copies of essential tools and the system libraries. These tools and libraries are then installed, used to rebuild themselves, and are installed again. The rest of the system is then rebuilt...

FreeBSD 14.0 Compiling kernel for Raspberry Pi 4B

Image
 FreeBSD 14.0 Compiling kernel for Raspberry Pi 4B in 4 easy steps, updated December 13, 2022 Start with a downloaded RPI image .img FreeBSD snapshot file you can write into a USB Flash drive.   decompress the file with  command:     xz  -dv freebsd_raspi.img Boot  the from USB Flash drive image built from a  Snapshot image   Use the running Snapshot image FreeBSD use "bsdinstall" to download and install FreeBSD, over the ethernet cable connected to your router, to the external usb Hard drive or SSD drive. Shutdown reboot,  remove the USB Flash drive stick from the RasPi4B, reboot from the external usb Hard drive or SSD drive. freebsd.org/where   https://download.freebsd.org/snapshots/arm64/aarch64/ISO-IMAGES/14.0/ Here is the September 9, 2022 FreeBSD 14.0 Snapshot image for RPI 3 or 4, right click on to "save as" a file on your local hard drive.  or use either of the commands:  curl -O https://url_link...