Doctor_Rex

@Doctor_Rex@lemmy.ml

This profile is from a federated server and may be incomplete. Browse more on the original instance.

Doctor_Rex,

I haven’t changed anything hardware wise and I haven’t changed anything involving partitions in months.

In kernel 6.8.9 my swap mounts perfectly I don’t have any idea what I should change in order to fix 6.8.10.

Doctor_Rex,

I’d like to avoid doing that as it could remove 6.8.9 as a boot option

I’ll update if it’s guaranteed to solve my issue.

[SOLVED] I can't change my /home location, and it's driving me mad

For the past week, I’ve been trying to switch my /home partition from my 500GB nvme to my 1TB sata ssd. I’ve been asking and receiving help from people in my previous post, but I keep hitting wall after wall in making it work and I seem to be missing a step....

Doctor_Rex,

I’ve done this several times and yes I can confirm everything mounted properly. The only issue as far as I can tell is that I can’t login. I made an edit on the post to clarify this.

Doctor_Rex,

I’ve entered into my root account to check the mount points and yes I can confrim everything mounted properly. I simply can’t login, as far as I can tell. I’ve made an edit on the post to clarify this.

Doctor_Rex,

I didn’t know users had id numbers, any way to check my current one. I’ve changed fstab to what is was originally since then. I’ve made an edit to clarify this.

Doctor_Rex,

yes /home is 23, and /new_home is 24, what does this mean?

Doctor_Rex,

If you wouldn’t mind, could you please explain what these command will do.

Also I’m back in the fixed state should I change my fstab back to the broken state before I run this?

Doctor_Rex,

I’d like to know what this command will do before I run it.

Doctor_Rex,

So I ran all three commands including the one /u/Max_P gave. I then changed the fstab and rebooted. I still couldn’t login after that.

I then tried to login with TTY. it gave me the same error as in the post. I ran the three commands again and rebooted. still nothing

I logged in with my root account and ran the three commands again, rebooted and still couldn’t login. I then fixed the fstab and now I’m back here again.

just to be clear i ran chmod 700 not 755.

Anything I should run in order to check my system? I must’ve done something wrong. Maybe it has to do with btrfs?

Doctor_Rex,

It’s all ok then.

Doctor_Rex,

Heres what I got


<span style="color:#323232;">root@localhost-live:/# ls -ld /home
</span><span style="color:#323232;">drwxr-xr-x. 3 root root 4096 Feb 27 11:06 /home
</span><span style="color:#323232;">
</span><span style="color:#323232;">root@localhost-live:/# ls -ld /home/adelie
</span><span style="color:#323232;">drwx------. 15 adelie adelie 4096 Feb 27 18:00 /home/adelie
</span>
Doctor_Rex,

I’ll do that but just to be clear this is my partition table


<span style="color:#323232;">adelie@localhost-live:~$ lsblk -f
</span><span style="color:#323232;">NAME        FSTYPE FSVER LABEL  UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
</span><span style="color:#323232;">sda                                                                                 
</span><span style="color:#323232;">└─sda1      ext4   1.0          f56df020-2420-4b0c-af4d-2c4c6a56a0b0  718.4G    16% /new_home
</span><span style="color:#323232;">zram0                                                                               [SWAP]
</span><span style="color:#323232;">nvme0n1                                                                             
</span><span style="color:#323232;">├─nvme0n1p1 vfat   FAT32        02E9-123A                             581.4M     3% /boot/efi
</span><span style="color:#323232;">├─nvme0n1p2 ext4   1.0          ed92de40-2403-4365-9b5c-eb10d519757c  719.6M    19% /boot
</span><span style="color:#323232;">└─nvme0n1p3 btrfs        fedora d5877671-6a39-4d96-9a2a-514b6007a59b  332.4G    28% /home
</span><span style="color:#323232;">                                                                                    /
</span>
Doctor_Rex,

So I did that and nothing different happened. I’m sorry to keep taking your time like this do you know of any place like a Discord, server or something, that I can talk with somebody about this in real time.

I’m probably going to give this issue one more day to resolve before I give up and switch to Windows 11.

Doctor_Rex,

So I did that and nothing different happened. I’m sorry to keep taking your time like this do you know of any place, like a Discord server or something, that I can talk with somebody about this in real time.

I’m probably going to give this issue one more day to resolve before I give up and switch to Windows 11.

Doctor_Rex,

What chown command should I try. I’ve already tried

sudo chown -R adelie:adelie /home

Honestly I feel like I’ve done everything at this point. Do you think I should reinstall fedora and partition root as ext4 instead of btrfs?

Doctor_Rex,

ok here’s the output


<span style="color:#323232;">root@localhost-live:/home/adelie# ls -lZ
</span><span style="color:#323232;">total 36
</span><span style="color:#323232;">-rw-r--r--. 1 adelie adelie unconfined_u:object_r:unlabeled_t:s0    0 Feb 27 11:11 confirm.txt
</span><span style="color:#323232;">drwxr-xr-x. 2 adelie adelie unconfined_u:object_r:unlabeled_t:s0 4096 Feb 25 21:03 Desktop
</span><span style="color:#323232;">drwxr-xr-x. 2 adelie adelie unconfined_u:object_r:unlabeled_t:s0 4096 Feb 27 19:32 Documents
</span><span style="color:#323232;">drwxr-xr-x. 2 adelie adelie unconfined_u:object_r:unlabeled_t:s0 4096 Feb 27 10:59 Downloads
</span><span style="color:#323232;">drwxr-xr-x. 5 adelie adelie unconfined_u:object_r:unlabeled_t:s0 4096 Feb 26 14:15 Essentials
</span><span style="color:#323232;">drwxr-xr-x. 2 adelie adelie unconfined_u:object_r:unlabeled_t:s0 4096 Feb 27 10:59 Music
</span><span style="color:#323232;">drwxr-xr-x. 3 adelie adelie unconfined_u:object_r:unlabeled_t:s0 4096 Feb 27 11:00 Pictures
</span><span style="color:#323232;">drwxr-xr-x. 2 adelie adelie unconfined_u:object_r:unlabeled_t:s0 4096 Feb 27 11:00 Public
</span><span style="color:#323232;">drwxr-xr-x. 2 adelie adelie unconfined_u:object_r:unlabeled_t:s0 4096 Feb 27 11:00 Templates
</span><span style="color:#323232;">drwxr-xr-x. 2 adelie adelie unconfined_u:object_r:unlabeled_t:s0 4096 Feb 27 11:00 Videos
</span><span style="color:#323232;">
</span>
Doctor_Rex,

I went into /audit.log you asked, I’m gonna be honest as a total linux newbie I have no idea what im looking at . I don’t really know what’s supposed to be an error and what’s irrelevent. This is the only thing that stick out to me

type=SERVICE_START msg=audit(1708923571.909:69): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg=‘unit=systemd-userdbd comm=“systemd” exe=“/usr/lib/systemd/systemd” hostname=? addr=? terminal=? res=success’^]UID=“root” AUID=“unset”

Doctor_Rex,

I didn’t realize I had it either, I’ll see what I can do to fix it tomorrow because right now, I’m tired and hungry.

BTW, thank you for your help. Your comments and explanations have been a great in helping me understand my issue and Linux in general.

Doctor_Rex,

IT FUCKING WORKED

THANK YOU

Doctor_Rex,

This is cool, thank you

Doctor_Rex, (edited )

OK so I tried the steps you detailed and now I cant login, I’m currently typing this from a Live Environment

old home partition = partition A (nvme0n1p3)

new drive/home partition = drive B (sda1)

I formatted drive B following this tutorial link 1. I formatted it with the GPT table

I then partitioned drive B using this tutorial link 2. Made it one large partition with ext4

I then made 2 new directories /media/home_new and /media/home_old

I mounted drive B to /media/home_new/

I mounted partition A to /media/home_old/ (I think this was the problem)

I then edited fstab to mount drive B as new home( I am absolutely sure I used the correct UUID)

I typed in terminal “reboot”

I arrived at the login screen, when I typed my password it accepted the password, the screen played an animation, it would then kick me back to the login screen. Any time I inputted my password correctly it would kick me back to the login screen after the animation.

I’m kind of lost on how to salvage this. I understand I did something wrong but how do I fix this?

*Update: I was able to log back in after changing the fstab back to the old partition

But I’d still like to swap my home directories so where do I go from here

Doctor_Rex, (edited )

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.

Doctor_Rex,

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.

Doctor_Rex, (edited )

Thank you for answering.

spoilerJust to be clear the AUR thing was just a typo, I meant to type arch wiki mb.

I’d like to ask you some clarifying question.

  1. Linux uses the File System Hierarchy which Windows does not use. How do I keep my system organized while keeping to the FSH.
  2. This isn’t really a question but my thoughts on your answer.

I really like the command line. I enjoy using it more than GUIs, but I don’t think the terminal should be pushed to the common user for mass adoption. Many of my friends don’t own desktop computers, some don’t own any other computer besides their phone. When I introduced them to my desktop, they were typing at less than 20 wpm with 2 fingers. No matter how great of a product Linux becomes in the future, It won’t see mass adoption as long as

A) non consumer friendly UX gets pushed and

B) There is no marketing force behind it

I really only learned of and got into Linux because SomeOrdinaryGamer and r/Unixporn. These were my first positive introductions to Linux. On my marketing point, Android, for example, has side loading, Fdroid, and lots of options for customizability, yet iOS is still the dominant market share and is continuing to grow.

If Linux want true mass adoption then there must be a real effort to make the command line as optional as possible, or the linux community must start trying to appeal to the types of people that would give Linux a shot if they new it existed. Returning to SomeOrdinaryGamer, that man gets millions of views per month and I seriously doubt most of them are Linux users.

Doctor_Rex,

Wow this is extremely helpful. If you don’t mind me asking, what are your thoughts on Nobara Linux. A few comments have recommended it to me

I also have an extra question. In your opinion, what difficulties are there in switching desktop environments/ window managers. I’d like to experiment a bit and would like your opinion.

Doctor_Rex,

Just to clarify on the proton thing, its an issue I faced on my old 80TJ Lenovo ideapad. I assume it’s a hardware issue as Vulkan doesn’t seem to work, and it has 4 gigs of ram. There’s also the fact its over 9 years old.

I’m not really searching for a solution to my laptops problems, but thanks for the insight.

If you don’t mind me asking what difficulties would I face switching desktop environments/ window managers as I’d like to experiment a bit(on my desktop).

Doctor_Rex,

Thank you. I read a while ago that MO2 didn’t work on Linux, which is why I asked here.

Again thank you.

Doctor_Rex,

This is extremely helpful. Thank you for the links!

  • All
  • Subscribed
  • Moderated
  • Favorites
  • fightinggames
  • All magazines