writing.exchange is one of the many independent Mastodon servers you can use to participate in the fediverse.
A small, intentional community for poets, authors, and every kind of writer.

Administered by:

Server stats:

335
active users

#posix

1 post1 participant0 posts today
Continued thread

I have found an interesting quirk with my freeBSD installation, running on my SATA SSD, which I mount through an USB tray, directly to the USB port on the computer.

As long as i leave the second port of the USB tray open, everything runs fine and smooth. The moment I mount another drive in the second port, freeBSD only does the initial part of the startup sequence and then complains that it cannot go any further.

No further explanation given

Seeking for log files is not an option because the operating system itself doesn't boot.

Where in the documentation should I look for this type of issue?

🖋️ #bash #freeBSD #boxyBSD #sh #zsh #ksh #csh  #netBSD #openBSD #POSIX #AskFediverse

If you haven't done so yet and you are playing with Open Source Operating Systems, read this article about the BSD family

it is very enlightening, and worth every minute of reading it

#bash #sh #zsh #ksh #csh #tsh #freeBSD  #100DaysOfCode #1000DaysOfCode #POSIX #Programming #Patch #UNIX #History

it-notes.dragas.net/2025/03/23

IT NotesOSDay 2025 - Why Choose to Use the BSDs in 2025
More from Stefano Marinelli

Due to my brain dead ISP which does not support IPv6 for clients in 2K25(!) I cant access my boxyBSD box.

boxyBSD is thus so far away from me :(

I have a client connection with fixed IPv4 IP somewhere, but it collapses when I use a free available IPv4 to IPv6 tunnel service.

Instead of sitting and twiddling my fingers on my Bass guitar(s) generating random() notes, I decided to get an image of the latest freeBSD and play with it locally, until I can get my ISP to provide all of us with a (set) of free IPv6 addresses because we pay them for a full service here in my country

>> log

$ wget -c download.freebsd.org/releases/
--2025-03-23 13:32:46-- download.freebsd.org/releases/
Resolving download.freebsd.org (download.freebsd.org)... 200.160.6.227, 2001:12ff:0:6224::15:0
Connecting to download.freebsd.org (download.freebsd.org)|200.160.6.227|:443... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 4826406912 (4.5G), 4255655894 (4.0G) remaining [application/octet-stream]
Saving to: ‘FreeBSD-14.2-RELEASE-amd64-dvd1.iso’

-14.2-RELEASE-amd64-dvd1 12%[++++ ] 559.57M 1.01MB/s eta 75m

<< ^Z

Yes they give a puny 1MB speed, you read that correctly

🖋️ #bash #freeBSD #boxyBSD #sh #zsh #ksh #csh #netBSD #openBSD #POSIX

Continued thread

You can download a live image of gparted and work with the latest version with ease. My debian based distro has GParted 1.3.1 which is quite behind v1.7.0-1

Im downloading the latest right now!

log
$ wget -c cfhcable.dl.sourceforge.net/pr
--2025-03-16 11:54:11-- cfhcable.dl.sourceforge.net/pr
Resolving cfhcable.dl.sourceforge.net (cfhcable.dl.sourceforge.net)... 146.71.73.5
Connecting to cfhcable.dl.sourceforge.net (cfhcable.dl.sourceforge.net)|146.71.73.5|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 589299712 (562M) [application/octet-stream]
Saving to: ‘gparted-live-1.7.0-1-amd64.iso?viasf=1’

gparted-live-1.7.0-1 9%[==> ] 55.49M 286KB/s eta 28m 15s
^Z

gparted.org/livecd.php

Giving credit to the programmers of GPARTED(8)

gparted works its magic, by entering correct parameters to a suite of partition control & editing commands, which are sh envoked, so you can easily manipulate your partitions on all your SSDs HDDs from the comfort of your UI

When you want to batch manipulate partitions, you can study the log output and make sh scripts yourself, controlling partitions anywhere.
You also have the convenience of running gparted from sh so it still works its magic for you, without the UI!

I usually run cfdisk gdisk fdisk when I partition a fresh mechanical or SSD, later on I invoke gparted when I want to resize or move them

it also runs important commands at the end so that the kernel gets to know your new partition layout, which makes rebooting your machine to use them unneeded

I shrunk and resized a partition where I installed a program, which needed 75GB (*1024!) as installation space but only uses 56GB in the end. I left 12GB of breathing room on the partition after the shrink and of course grew the partition before with the same size, minus the alignment snip of 1MB

log:
myserver kernel: JFS: nTxBlock = 8192, nTxLock = 65536
myserver kernel: SGI XFS with ACLs, security attributes, realtime, scrub, repair, quota, debug enabled
myserver kernel: sdb: sdb1 sdb2 sdb3 sdb4
myserver kernel: sdb: sdb1 sdb2 sdb3 sdb4
^Z

@altbot

gparted.org

When was the last time that you ran

`dmesg|less` on your linux system?

You **NEVER** did?

You dont know what you are missing my POSIX dweller!

Look at the awsome input to your brains!!!

Of course you should first run

`man dmesg` since you should not trust a command which uses sudo from a stranger on the internet

man7.org/linux/man-pages/man1/

<< dmesg - print or control the kernel ring buffer

Yes on debian based machines, for some odd reason you are not allowed to run dmesg anymore as a regular user, so I run

`sudo dmesg|less`

Now you know what dmesg does, run it and learn to the bit, what happens on your linux machine when you cycle through the POST sequence

#POSIX#Linux#dmesg
Continued thread

Since the /e/ Operating System is a fork from Lineage OS I was not surprised that my particular phone is not supported at this time

What is hot warming is the fact that capable programmers put their time, money, food & drink & sweat into enabling users to rip themselves from the grip of the Duo Poly which exists of Apple and Google

doc.e.foundation/what-s-e#dego

#MurenaOS#bash#csh