Where do I start - it all seems difficult to learn

Interesting. I checked the .bash_history file and it does not have the commands in it that I used right before my system became unstable.

I have no idea what’s going on. I did not change anything on my boot drive as far as I know, I attempted to change ownership of my SSD, that specific SSD is not my boot drive.

Then you perhaps used the /root account - a similar file is there.
Or - with the recent versions of Manjaro - the default shell is zsh
and the history file is named differently (but similar - as mentioned).

If you used the command line - there is some evidence there somewhere …

I found a root folder, so I’m guessing it’s the one you mean, and I can’t access it, it has a lock on it.

I managed to flash Manjaro on another USB stick I have kicking about, so maybe I can fiddle with Manjaro as a live machine and fix my problem, somehow.

I think @Nachlese meant the root account (either of the LiveUSB or of your installation).
The file that’d interest you should be, starting from the location of your capture, at home/jesse/.bash_history.

Thanks for all your help, it really is appreciated. In the end, I did a bit of googling and I ended up bricking my installation. I’m not sure how, I’m a noob when it comes to Linux. So I reformatted BUT I didn’t lose anything so I guess I just need to be extra careful in the future. :relaxed:

Messing with devices/partitions is definitely something I need to do in a VM or a separate PC to get the hang of it. :sweat:

Don’t worry, it is not entirely your fault.

This thread is a little bit weird. In my opinion, recommending a Linux starter to use the command line for partitioning devices leads to results like this. GUIs were invented to make life easier. Don’t let anybody talk you into anything.

Sure there are a lot of helpful answers and funny analogies in this thread, but they are written from people who already know about this stuff and they actually don’t really address your problem.

What is your problem actually? As far as I understood, you want to create another partition to save your Steam games there.

Maybe it is better to start a new thread with the title “Help with partitioning devices” instead of some chit-chat thread without any real goal.

3 Likes

I meant the folder /root which is in your screenshot (third row on the right, with the lock symbol on it).
This is the $HOME of the root user - and it contains a .bash_history file just like your own and any other users $HOME does.

You can access it as … the root user
which in your case would require you to start/use the file manager as the root user
I’m not familiar with KDE or it’s filemanager Dolphin
which is what you used.

I much prefer a terminal filemanager (mc) - I’m just used to it and it works everywhere, even when the graphical environment isn’t there for some reason and you can’t use a tool like Dolphin …

Seems to be a moot point now.

@lahpyrcopa I fully agree here. It makes no sense at the end. Feel free to create a thread with a specific goal. If the goal has been reached, then you have learned something useful.

1 Like

@denonom @megavolt To answer why this thread doesn’t make sense. I actually commented in another thread and my comment which is the starter “question” to this thread was not created by “me” despite the website saying it was. Someone else, maybe a mod, created this thread.

Apparently my question/confusion was not appropriate for the original thread.
(original thread [root tip] Use systemd to mount ANY device)

Yep, that makes sense, since your “comment” was not really related to the tutorial text itself, but rather a support request. So a moderator or community manager has moved it.

However, I won’t repeat myself. But rather give you a little guidance.

When creating a thread…

  1. document as much as possible in the correct sequence, what you have done.
  2. copy&paste the history of the terminal, if possible, in a codeblock.
  3. include System Information, or ask what is needed.
  4. avoid long “babble” around it. Talk straight about the problem.
  5. Don’t be too stingy with paragraphs, commas, and periods.

We, the “problem solver”, need some straight forward information, to guide someone.

so to sum this all up to make a game partition for my steam games…

would the following be accurate and work for me?

sudo mkdir -pv /media/jesse/games

and then

sudo mount /dev/sdb1 /media/jesse/games

I got a hunch that I’ll have to re-mount the partition every time I start my machine, so I’m guessing there must be a way to auto-mount?

You can find the answer in the guide i linked you in my very first reply.

That is done by editing the file /etc/fstab with an editor.

Here is direct link:

If you don’t understand something or stuck somewhere, just ask.

Alright first question, and I’m hesitant to ask more questions because I feel like I’m getting to be a bother, like I should just be googling everything.

Any way… The SSD that I want to partition for gaming is currently owned by the “root” of my system and not me. I have googled how to solve this again & again and I haven’t found any straightforward answers. I know that to claim ownership of a device you go through the terminal and type in something like sudo chown but beyond that I have no idea.

If I’ve learned anything about Linux in the past 2 months of heavy use, it’s that Linux is like Photoshop in the regard that there is more than one way to get 1 thing done, and it can range from basic to needing a lot of experience to pull off the technique (or “code” in terms of Linux).

Make all files/folder recursively owned by the current user:

sudo chown -R $USER:$USER /media/jesse/games

Make all files/folder recursively accessible by anyone, anyhow:

sudo chmod -R 777 /media/jesse/games

:notebook: 777 → ugo+rwx

Btw… file browsers can open folders as admin and there you change the permission (context menu).

This looks like it worked, although the terminal shows what looks like 3 directories being made simultaneously as opposed to one. Maybe I’m reading it incorrectly.

Thanks

jesse@jesse-desktop ~> lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda      8:0    0 232.9G  0 disk
├─sda1   8:1    0   300M  0 part /boot/efi
└─sda2   8:2    0 232.6G  0 part /
sdb      8:16   0 465.8G  0 disk
└─sdb1   8:17   0 465.8G  0 part /run/media/jesse/c8635f34-4286-494b-8421-b1b2078844ca
sdc      8:32   0   5.5T  0 disk
├─sdc1   8:33   0    16M  0 part
└─sdc2   8:34   0   5.5T  0 part /run/media/jesse/Main Storage
sdd      8:48   0 465.8G  0 disk
└─sdd1   8:49   0 465.8G  0 part
sr0     11:0    1  1024M  0 rom
jesse@jesse-desktop ~> sudo mkdir -pv /media/jesse/games
[sudo] password for jesse:
mkdir: created directory '/media'
mkdir: created directory '/media/jesse'
mkdir: created directory '/media/jesse/games'
jesse@jesse-desktop ~> sudo mount /dev/sdb1 /media/games
mount: /media/games: mount point does not exist.
jesse@jesse-desktop ~ [32]> sudo mount /dev/sdb1 /media/jesse/games/
jesse@jesse-desktop ~> sudo chown -R $USER:$USER /media/jesse/games/
jesse@jesse-desktop ~> sudo chmod -R 777 /media/jesse/games/
jesse@jesse-desktop ~>

P.S. When replying the website suggested I PM you for further correspondence, so that might end up happening. I feel like a baby using Linux. :joy:

That’s the -v option at work, from the manual (man mkdir):

  -v, --verbose
         print a message for each created directory

Here is something to consider: Install QEMU (Virtual machine emulator) and install what you want to try out in there. That is safer than doing it on your daily driver. It took me months to learn Linux and I am learning each and every day. I am managing a lot of servers, which is easy, I am a terminal junkie, but I have agreed to run Manjaro on my desktop, running with the latest RC kernel and getting things running took all of 5 hours today.
The one thing is to never give up and keep a written log, something like putting pen to paper :wink:
In 10 years from now when you cook your own kernel and find that first log back…