TrueOS

From Hidden Wiki
Revision as of 19:41, 23 September 2018 by Bluebox (talk | contribs) (→‎Text editors)
Jump to navigation Jump to search

TrueOS is FreeBSD based operating system with ZFS.

TrueOS is a cutting-edge FreeBSD graphical desktop operating system designed with ease-of-use in mind.

The developer merged PC version OS PC-BSD in server version OS TrueOS. https://www.trueos.org/blog/pc-bsd-evolves-into-trueos/

Installation

Preparation of an installation

https://trueos.org/downloads/

Click the 'Browse' button of the 'Browse Downloads' menu of the above link.


Enter into /master/amd64/


Download TrueOS-Desktop-18.03-x64-USB.img file. The file size is about 2.75 GB.


https://etcher.io/

Download Etcher to burn an img file on a USB media to make a bootable USB drive. Just download the portable version, not the installer version.


Etcher-Portable-1.4.4-x64.exe

You need a 4 GB USB flash drive.

Process of an installation

Select "Customize Disk Settings" at "Disk Selection".

Select "Advanced (Experienced with file systems)" at "Setup Mode".


Choose a disk or partition which you want to install TrueOS. Full dick encryption is only able on GPT, not on MBR. GELI (for FreeBSD) only supports GPT.

https://www.trueos.org/handbook/install.html#zfs-layout

https://www.freebsd.org/doc/handbook/disks-encrypting.html


You can use GPT even if you have a mainboard that doesn't support UEFI. But Windows only supports "BIOS supporting UEFI + GPT" or "legacy BIOS + MBR". So if you want to install Windows and TrueOS together, you should use a motherboard supporting UEFI.


TrueOS can be installed on a GPT partition, primary MBR partion, or free space. It can't be installed on a secondary or an extended partition.

https://www.trueos.org/handbook/install.html#basic-mode


You can't make or delete partitions when you install TrueOS. You made partitions before installation of TrueOS. Or you should use an entire disk. And geli only supports GPT, not MBR.


If you finish "Customize Disk Settings" of "Disk Selection", select "Install to disk" and click the Next button.

A boot environment is a snapshot for a specific time. You can use the boot environment, when your operating system's update fails. You don't need choose "Install into Boot Environment".

https://www.trueos.org/handbook/install.html#bsd-boot-loader

Setting during an installation

Remove the USB flash drive and reboot the system. Then you can see a message such as "GELI Passphrase for disk0p2:"

Just input your passphrase for full disk encryption.


And then, it asks you what password you want as a root password. Type what you want.


And you can make user on "User Details" tab. Input "username" and "password".

Next tab is "PersonaCrypt". PersonaCrypt device is a removable USB media.

https://sysadm.us/handbook/client/sysadmclient.html#personacrypt


The you can see the login page. The default desktop environment is Lumina but you can choose Fluxbox.

Initial settings

Network setting

If the system can't get an IP address using DHCP, you should setup manually IP address and netmask on an "Advanced" tab of the "Wireless Configuration".


If it will make an error after booting, you can choose DHCP again.


You can change MAC address on the "Advanced" tab of the "Wireless Configuration".

Date setting

You can set a date and time in the terminal.


If you want to set your date and time at 8:33 p.m., September 22, 2018, just type the below command in the terminal.

sudo date 1809222033

If you want set seconds, you can type like below. ".47" means 47 second.

sudo date 1809222033.47


If you input the below command in terminal, you can see the date and time at present.

date


  • Setting date and time

Sep 23, 2010

https://forums.freebsd.org/threads/setting-date-and-time.17996/


If your computer's date is too different to the real time, you can't connect to the https websites. And you also can't connect to Tor network.

Graphic chipset driver problem

TrueOS can't find the best driver for a graphic card or graphic chipset. Or there is no good graphic driver for BSD or FreeBSd.


I used Linux on this laptop and there was no problems. But TrueOS can't show the maximum resolution of the monitor and graphic chipset. I have to use the lower resolution.

Software installation methods

Using AppCafe (Using a GUI)

Click the start button, and search AppCafe on the start menu.


Search an app's name on AppCafe, then click the "Install" button.


It is similar to Google Play Store or Apple App Store.


pkg install (On a terminal)

Finding a specific package using the terminal.

pkg search package_name


Installing it.

sudo pkg install package_name


Deleting it.

sudo pkg delete package_name


ports (Compiling a source code)

You can compile a computer program from a source code using ports. But TrueOS doesn't have ports' list so you should fetch them.


Type the below command on the terminal to fetch ports.

sudo git clone http://github.com/trueos/freebsd-ports.git /usr/ports


If you want to update ports, input the below commands.

cd /usr/ports
sudo git pull


https://www.trueos.org/handbook/using.html#freebsd-ports


You can use another command in the terminal to fetch ports.

portsnap auto


You can compile a software using this version ports, but I couldn't run the software. Maybe there are some problems.


  • FreeBSD ports?

Maybe 2018 May

https://www.reddit.com/r/TrueOS/comments/8i31pr/freebsd_ports/

Software installation and use

Text editors

To install Leafpad, type the below command on the terminal.

sudo pkg install leafpad


To run LeafPad, input the below command on the terminal.

leafpad


If you install it using ports, do the below commands.

cd /usr/ports/editors/leafpad
sudo make install clean

Chromium

Tor

Connection setting in Firefox

Security setting

Installation of ScriptSafe add-on

Tor Mode

VeraCrypt

R (for statistics)

How to use

Finding processes and killing them

su and sudo

Deletion of files and folders

File and folder names with space

See also