Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Jul 2021 15:16:53 +0200
From:      Simon Hoffmann <freebsd@simonhoffmann.net>
To:        David Raver <david.raver@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Goodbye
Message-ID:  <20210711131653.GA2137057@admin02.HOFF.local>
In-Reply-To: <CAKy4t%2B-1sKV8mTfcgfb2Vqo=h28ns8CtsTzyKPSVBU2W0qreLg@mail.gmail.com>
References:  <CAKy4t%2B-1sKV8mTfcgfb2Vqo=h28ns8CtsTzyKPSVBU2W0qreLg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--TB36FDmn/VVEgNH/
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable



Hey David,=20

I'd like to add something.


=20
> So, I fired a VirtualBox up again meaning to try to build it on FreeBSD.
> Sadly it didn't work. Not that it didn't compile. It did. The linker
> failed, though.
> Researching why, I came to a conclusion that it's version didn't support
> what I'd needed. OK, I said, an upgrade should fix that.
> Not being small-time I decided to not only upgrade the c++ (g++)
> development platform, but rather the whole operating system. I looked up
> (on Google) how to do it and... I did it. I mean I started the upgrade.
>=20
> Pay attention now because here it's where it all starts: the upgrade fail=
ed
> in such a way that not only the c++ development platform was unusable, but
> the OS refused to boot. All I'd seen had been a black screen.


Which commands did you use?

I am also new to FreeBSD. I've setup a NAS with FreeBSD last year on 12.0.
A month ago I upgraded to 13.0 without any problems.

I just followed the docs:

https://docs.freebsd.org/en/books/handbook/cutting-edge/

In a nutshell:

pkg update
pkg upgrade
reboot
freebsd-update fetch
freebsd-update install
reboot
freebsd-update -r 13.0-RELEASE upgrade
freebsd-update install
reboot
freebsd-update install
pkg-static upgrade -f


All of this is listed with detailed explanations. I was able to perform the=
 update on
first try without any problems.



>=20
> Steam started to blow out of my ears, but I still kept it together. OK, I
> said, maybe the upgrade wasn't a good decision anyway.
> Let's start from scratch and install the latest version (13) which will
> automatically solve all of the problems.
> Fired up a VirtualBox, created a new machine using the downloaded (
> https://www.freebsd.org/where/) file. Booted up with the option 1 (multip=
le
> users, as it should be the usual case, right?).
> Instead of the expected GUI and some dialogs creating the user account I
> was met with the console demanding username and password from me. What?!?
> The first thing that went through my mind was that if this had been the
> case with a certain Microsoft's operating system, it surely wouldn't have
> had the market share it has today.

I just downloaded the FreeBSD "bootonly" image.

First I was asked whether to run the Live CD or to install. You should choo=
se
install.
I was then asked to choose the installation disk and a network interface.
The next questions was then to specify the root user password.

After this, more questions are asked for timezone, which features to enable=
 etc.

Then, you can directly create an additional user that you work with. The us=
er
creation process is very self explanatory, as it asks each parameter of a u=
ser in
natural language.

After this, the installation is finished and you can boot into your system =
and login
with your credentials.

Time: 5 min.


>=20
> After a little research (man, I love the small print!) on your page I came
> up with the account data and logged in. OK, I said, this isn't going to d=
o.
> I need a GUI and some developer tools. Let's install that.
> But, the OS said, you can't do that unless you're a superuser. No problem.
> Tried sudo as I'm used to from Linux. Nope. Tried su. It said: "Sorry".
> What?!?

Sudo is not installed per default, but can be installed with pkg add sudo.

su says sorry if your user is not in wheel.

Sounds to me like you were in Live CD mode?


> Google helped again: in order to do that one must choose option 2 while

Quick question: you are aware of the very detailed FreeBSD Handbook that an=
swers
pretty much every question?
Please take a look at https://docs.freebsd.org/en/books/handbook/


> booting. Fsck!?! Obviously one must have a BSD degree to use a computer.

No, one must read the manual. BSD is not Linux.


> OK, after a restart (and successful su) I googled about installing a GUI
> (KDE to be exact). Being unpleasantly surprised that, instead of a
> oneliner, one has to buy a new keyboard with an extended life expectancy =
in
> order to type an equivalent of Tolstoy's War and Peace.
> Man, how hard is it to put something in a shell script?!?

Again, the Handbook is your best friend. https://docs.freebsd.org/en/books/=
handbook/x11/

You even have two ways of installing! Using pre-configured and pre-compiled=
 binaries
that can be installed via pkg add, or using ports to configure and build yo=
urself, to
fulfill all your needs. Such wow!

In a nutshell:

pkg install xorg
pw groupmod video -m <user>
pkg install urwfonts
pkg install x11/sddm
echo dbus_enable=3D"YES" >> /etc/rc.conf
echo proc           /proc       procfs  rw  0   0 >> /etc/fstab
echo sddm_enable=3D"YES" >> /etc/rc.conf

I don't know about you, but I count 7 lines of commands, which you can basi=
cally
copy-paste. I don't know what type of keyboard you have, but mine can handl=
e a few
keystrokes.


Took me about 5 minutes aswell.



> Can't remember what because I shut the OS down and hit a couple of dels
> removing everything even remotely related to FreeBSD from my computer.

You know, you could always ask politely to get help...

>=20
> So, before yous geniuses decide to make an OS even remotely usable so that
> an average developer doesn't need to have a doctorate of General BSDvity
> Theory in order to use it, it's Goodby from me Argentina.

Again, the Handbook is your friend.
Right at the top of the page for X11 it says "Users who prefer an installat=
ion method
that automatically configures the Xorg should refer to GhostBSD, MidnightBS=
D or
NomadBSD."


You do know that for example Ubuntu does come with lots of different ISOs?
There is the Server ISO without a GUI, Desktop ISO with whatever Canonical =
thinks is
the best Environment, Ubuntu Mate, Kubuntu, Lubuntu, Xubuntu.
It's almost as if you should read a minute beforehand to know which ISO to =
choose.
Or choose the server ISO and install a GUI yourself, which, you know, requi=
res to
install xorg, a login manager, a window manager......


So, before you genius start to work with FreeBSD again, you maybe should ta=
ke 30
minutes to read the important parts of the Handbook.
I'm even nice and tell you the important chapters:
Chapter 4
Chapter 5
Chapter 10 maybe for development
Chapter 24




---

Simon

--TB36FDmn/VVEgNH/
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAABCgAdFiEEgjIuaCUBjJygpxHp5Ekk+95XePwFAmDq70UACgkQ5Ekk+95X
ePyJ2Qf+IvJSz48ZuV3bKPxXKZBZDeikyi0cyKzKEcR7I03tF9/LiGUToVYiSwNC
fYftazQiiuk0Wo9kivLw3wiSVuTIXi1BWllmHdC8bPeRDwCakI0oGMpJLmvUNkLy
6NVRqgdd3CtyArWEu6OLNswCCwTGv7EwFyijnLPcVUJB/wzNhbCY1zvw8QlTzrHG
JgHc9nVKTFe5gZtMAh2G/Uf9QeEB4ONZnSK4+uJ0opqrKiNbbLPmPOOYEoc0y3yP
/aWQqrxbQooK8VBhyD4yhnUqJrjpHM8+OKLUmKsArnpzEIbIDJlhKQafoCt1Ltwc
3K50gaV1UCzDEQnLP30X1YhY+FBR0w==
=TxVb
-----END PGP SIGNATURE-----

--TB36FDmn/VVEgNH/--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210711131653.GA2137057>