this post was submitted on 24 Feb 2024
115 points (91.4% liked)

Linux

48083 readers
779 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Hello I'm Doctor_Rex after 2 posts asking multiple questions I have finally installed Fedora KDE 39 on my desktop.

Previous Posts:

I'm ready to install Linux, but I'd like your opinion first

My Windows 10 install broke, but I'm hesitant to switch to Linux.

I would show you an image of my neofetch but lemmy won't let me place it due to file size so ¯_(ツ)_/¯.

I would have installed it sooner but due to poor decisions I made when making this PC I had to wait for a Linux compatible WiFi card to arrived.

My experience with Fedora KDE:

I've been using Fedora for about 2 days now and, to a degree, it's working just fine, KDE is slick and is easy to customize. Fedora itself works just fine and it's discover store works well enough. That said I need some extra help before I fully dedicate myself to daily driving Fedora.

I'd just like to clarify that I love Linux, I love owing my computer, and I love having so much control over it, and I am completely ready to get my hands dirty in order to make it work, to an extent, as more that anything I want a working computer. I'd also like to clarify that I'm sticking to Fedora KDE 39 and am not looking for suggestions.

Questions:

Can I partition /home directory in a different drive and still fuction?

I own one 500GiB nvme ssd, which is where I want to place my root, boot, var, etc, and I have one 1000GiB(1TiB) sata ssd which is where I would like to place my /home directory. I was originally going to do this but I decided to ignore my 1000GiB drive for now just to test Fedora. Would there be any unforseen complications with this set up?

Transferring /home directory without reinstalling Linux?

After running low on storage space on Windows 10 I have considered upgrading to a larger drive, 2-4 TiB. With my switch to Linux I'd like to know if there is an easy way to take all my files from my previous drive into the new one with all the correct paths configured, without reinstalling Linux?

Best way to partition my / and /home directories?

I'm not asking about btrfs or anything like that, I simply want to know, how to best partition my system. I've read and seen multiple tutorials about partitioning systems but many of them add other stuff like partitioning /var and /boot, and adding some unformatted space. I simply want to seperate my / and /home without anything extra. How would I best go about that?

Fedora KDE refresh rate seems broken?

I've been running Wayland with my NVIDIA GTX 1660 with the Nouveau drivers, I have a 1440p 165hz monitor. Whenever I try to raise my refresh rate in settings above 75hz a giant black box appears at the top of the screen. This problem seems to persist on X11(or maybe I didn't switch correctly). To me this is a very big issue as I'd like to take full advantage of my hardware, and it also simply makes the system as a whole feel sluggish. Is this a problem I can solve or am I just doomed?

Downloading NVIDIA drivers on Fedora KDE?

I asked this question before in a previous post but it seems that all the answers that were given were for Fedora Workstation(GNOME). Considering the rumors that GNOME might completely remove the X11 session I'd very much like to avoid switching(I want to have plenty of options). How would I go about downloading, installing, and potentially managing the proprietary NVIDIA drivers on Fedora KDE? I've searched for an answer to this question but never found a concrete answer.

If you responded to my questions then, Thank You.

you are viewing a single comment's thread
view the rest of the comments
[–] Doctor_Rex@lemmy.ml 1 points 8 months ago* (last edited 8 months ago) (2 children)

Old drive with current home directory = Drive A

New drive I wish to use a home directory = Drive B, I gave it an extra file named confirm.txt

I did have a root user account, I just didn't know how to boot into it

The first time around I forgot to copy my old home folder into my new home folder, but now I know that wasn't the issue.

After a bit of fiddling I decided to reinstall fedora.

I tried to separate my / and /home from the fedora installer; for some reason fedora wouldn't let me. Any time I tried to set my /home on my 1TB drive fedora would place my / into said drive. Just to clarify I want my / and everything in it to stay in my 500GB nvme and my /home to be in my 1TB ssd.

I just cut my loses and let fedora do it's usual install in Drive A. Drive B was left untouched.

For the new install I decided to do some thing different

In / I made two new partitions /new_home and /old_home

I went into fstab and made both drives mount; Drive A mounted into /home and Drive B into /new_home

I rebooted; Logged in as normal and Drive B successfully mounted

From here I reversed it, Drive A into /old_home and Drive B into /home

I rebooted; I entered into the KDE Login screen as usual. I typed my password correctly but after a short animation I was placed back into the login screen.

I logged in as root and checked if everything mounted correctly. It did. From / my /home would place me into Drive B the one with confirm.txt. And Drive A was in /old_home

So now I'm confused. Everything mounted properly but I still can't login with my account. I'm assuming this might be a KDE problem but I'd like your opinion.

[–] png@discuss.tchncs.de 2 points 8 months ago

Are you completly sure you copied all the files correctly, not missing any hidden files and such?

[–] NateSwift@beehaw.org 2 points 8 months ago* (last edited 8 months ago)

I’m not sure what’s going on, I can think of a couple things worth checking.

First I would make sure that all the files are being copied over properly. In a terminal window, run ‘ls -la /home’ and ‘ls -la /new_home’ or ‘ls -la /old_home’ and compare the outputs. Both should be the same and have a folder with your username. Check inside the user folder as well by appending ‘/username’ to the command (ex: ‘ls -la /home/Doctor_Rex’ but use your linux username).

The letters on the left (rwxr-xr-x or something similar) are permissions and should be the same. Continuing across the line there’s another number that isn’t important and then it should say your username twice. If it says “root” you need to update the owner of the files. this can be done by running ‘sudo chown -r username:username /home/username’ where “username” is your linux username.

Lots of configuration settings are stored in files or directories that start with a ‘.’ and are hidden by most file managers and ‘ls’ by default. If these are missing it’d cause problems.

If everything looks the same, you could try logging in from a TTY. This won’t start a GUI, but it will allow us to see if you can log in at all. You can switch to another TTY by pressing ctrl+alt+any function key (f1/f2/f3/etc). Most distros use TTY1 or TTY7 for their GUI, so try ctrl+alt+f2. If it doesn’t change to a terminal screen, try another function key. From there it should prompt you to enter a username and password. Try and log in to your account. If you can, it’s probably an issue with KDE, if you can’t there’s still something wrong with how you have the drives mounted, missing files, or incorrect file permissions.

Sorry if the formatting is a little chaotic, I added the part about checking ownership in after writing the rest