My 18th anniversary!

Yeah. I’m writing this at July 20th —

My fucking god, I’m gonna be 18 in about 11 days! This is so awesome but scarier at the same time (at least for me)! As an example of my oldness, now I can drink so much vodka to reach the beyond and get arrest! But, for real, I’m gonna miss the good old days playing PS2, DBZ B.T.3, RE4…

Thanks for everyone that supported me on all this long way!

  • Djalma
  • Marcelo
  • Mayara and Maynara
  • Ronaud and Douglas even though you two being pain in the ass

Broken and dirty robot with a bird on your mouth. by simon stalenhag

Thanks everybody!

Writing this when listening Prodigal by Porcupine Tree 🪨

Trying FreeBSD for the first time! Part I

FreeBSD is an operational system... that's obvious. Shall we learn it!?

Before talking about FreeBSD itself, I’ll split this article in 2 parts. The first part installing in a VM, and the second part will be installing on my PC.

Now, let’s talk why I did want to learn it.

FreeBSD is an operational system that I never wanted to use it. But recently I’ve been wanting to test it, because I’m wanting learning something new.

When I was searching about systemd from Linux and “why it’s bad”, I had seen a recommendation of OSes (that don’t have it) saying more or less this:

If you don’t like systemd, just use FreeBSD.

Well, if systemd is really bloated, I really don’t know. To be honest, I don’t even remember if it sounded exactly like that. But from that I decided today to install it on a virtual machine.

I downloaded it from an official mirror. The good thing is FreeBSD pretty compatible with any architecture! PowerPC, Arm, x86, Risc-V are precompiled here to download.

freebsd download

Downloading and installing the system

Before installing, you must remember that in this part will use a VM.

Downloading the system

Until now, I know that there are 5 file versions of FreeSSD.

  • bootonly.iso
  • disc1.iso
  • dvd1.iso
  • memstick.img
  • mini-memstick.img

Index of FreeBSD 14.3 releases

The first one I tried was memstick.img. I was just curious how I could install it, because it’s .img, not .iso. But I couldn’t even boot it using VM. So I tried disc1.iso because it has 1.2 gigabyes, and dvd1.iso is 4~ gigabytes.

An addendum: the download was too slooooow… So I decided to download it using a brazilian mirror.

Booting FreeBSD in a VM

So, booting the system, the first thing that shows up is this. The bootloader. It’s obvious, I guess.

FreeBSD bootloader

There are options that I don’t know what they do! XD

But it’s quiet simple and loads very fast - until I press any arrow key down and it enters into a CLI. Meh, it’s just strange pressing ↓ and you go to a kind of terminal. Typing boot makes FreeBSD boot.

Well, I chose the first one to boot in.

Installing FreeBSD

And there it is! The FreeBSD Installer! I say I won’t explain each step, because this article is not a tutorial.

FreeBSD Installer - Welcome

First thing I noticed is the installer looks very similar to Debian.

While partition it, the installer let me choose between ufs2 and zfs to use as my /. In the VM I chose zfs at the first moment, until I press ↓ and mess everything up. I don’t remember how exactly it got messed, but I remember the partition got canceled. But the next try was perfect! It installed perfectly!

Installing FreeBSD on my SSD

I’m gonna say, when I was installing FreeBSD on my SSD, I was afraid to delete where my Arch is installed. But don’t selecting where it is installed that it doesn’t get delete.

Using the system

After installing and booting into it, and log in to as root I used pkg install xfce xfce4-goodies lightdm lightdm-gtk-greeter to install my GUI. It seems that xfce is the most desktop environment used on FreeBSD.

Actually I’ve installed each packages, LOL!

Activating services

Well, after setting a new user and adding it into the wheel group… I tried to activate the lightdm.service. The problem is: how do I do this without systemd???

So, following the official docs… You need to do this:

  1. Mount a such of proc in /proc. What is this? I don’t fucking know. It comes already mounted on Linux.
  2. Enable dbus and lightdm in /etc/rc.conf using sysrc {SERVICE}_enable="YES". Note that it’s without { }!

So, there is another method that is using service, but I don’t know how to use it. I think it is service [app] [option] - service lightdm enable.

I did this, reboot, and black screen. Wtf is happening?

So, I noticed that the packages xfce xfce4-goodies lightdm lightdm-gtk-greeter don’t included the xorg package. So, it’s done. Now how my VM looks like:

FreeBSD with XFCE in a virtual machine

To be continued on the next articles

Well, that’s all for now. Perhaps I’ve forgot to say something - if so, I’ll put on the next article. And thanks for reading this!

More changes...

Changes on the website

Back then, in mid 2024, I decided to create a blog to put my knowledge inside. The platform chosen was blogger. Yeah, I know, blogger is terrible. It doesn’t even provide a markdown file format!

Anyways. I’ve decided recently that I’ll continue with this blog. Wiped all drafts on this blog and make a new UI. But something was annoying me… the automation. Blogger is a shit to type code blocks. You need to use HTML to type it, it’s really horrible.

So I decided to move into GitHub, using jekyll as framework. This decision was good, I think. At least now I know how GitHub Actions works!

Well, that’s all. I need to think how I will write that article about C/C++. See you!

Note: There are another programs like bridgetown. I don’t know nothing about webapps, and it’s too new for me! So maybe I try new frameworks to make this website!

New blog!

Hey! What’s up?

This is the second post I send here. That’s not incredible, I know.

Well, now I’ll make a new post each week. It’s gonna be hard. Earlier I was writing about starting on C and C++, and I’m still writing it!

Sorry, but I used AI for making HTML/CSS. Yup, I’m ashamed. And I don’t know anything about them and I don’t want to learn it for now. When I learn it I’ll make it better! I promise!!

alt text

Hello, world!

First post! Hello, world in C!

// Including the header file INPUT/OUTPUT
#include <stdio.h>

// Creating the main function
int main(void)
{
    printf("Hello, world!"); // Calling a function from `stdio.h`
    return 0; // Saying to the computer that the program exited successfully
}

2025-07-21 edit: Yeah, I know. For a first post this isn’t a super creative one. Kinda generic and boring.