[-] Doctor_Rex@lemmy.ml 3 points 3 months ago

Thunderbolt? No.

I have a second sata ssd which I mount as my home partition.

70
submitted 3 months ago* (last edited 3 months ago) by Doctor_Rex@lemmy.ml to c/linux@lemmy.ml

My Fedora 40 system won't boot with any kernel over 6.8.10.

I've had this problem for about a month now and have been putting it off, as I haven't really been using my computer recently, but it needs to be addressed.

I'm running a Fedora 40 KDE 6 distro, which was upgraded from Fedora 39. It's been working pretty well for the half year I've been using it but recently I've encountered an issue. About a month ago, after upgrading my system to kernel 6.8.10, my system started to hang while in boot.

usb 1-10 device descriptor read/64, error -71 [ OK ] Started plymouth-start.service - Show Plymouth Boot Screen [ OK ] Started systemd-ask-password-plymoūquests to Plymouth Directory Watch [ OK ] Reached target paths.target - Path Units. [ OK ] Found device dev-disk-by\x2duuid-dūsung SSD 970 EVO Plus 500GB fedora. [ OK ] Reached target initrd-root-device.target - Initrd Root Device. [ *** ] Job dev-mapper-cl\x2dswap.device/start running (xxs / no limit)

Fortunately Fedora saves the previous 2 kernels versions and I was able to boot into my computer using Kernel 6.8.9. When I went to check what was wrong I noticed that with kernel 6.8.10 it always hangs at this part of the boot process.

[ *** ] Job dev-mapper-cl\x2dswap.device/start running (xxs / no limit)

I understood that this has something to do with swap but I'm unsure what the issue is exactly. My Fedora install doesn't have a swap partition, it uses zram. I'm unsure if that's an issue.

I've reinstalled kernel 6.8.10 and it didn't fix the issue. I've also upgraded my machine to use kernel 6.8.11 and see if that would fix anything, but it did nothing, and upgrading to 6.8.12 probably won't fix anything either. I've installed a dnf plugin called versionlock meant to pin certain kernels as to not delete them and have already pinned kernel 6.8.9, but I'd still rather avoid upgrading.

What I really don't understand is what changed. Why does my system boot successfully in kernel 6.8.9 but fails in 6.8.10. I've read that others have had a similar experience with the 6.8.10 kernel on fedora, albeit for different reasons.

If someone can point me to the answers that would be great, but an explanation as to how to read that log and steps I could take to identify and troubleshoot would be just as welcomed.

UPDATE: In my /proc/cmdline I had an argument known called resume=/dev/mapper/cl-swap which was trying to find a swap partition that didn't exist.

I used the command cat /proc/cmdline to view my boot arguments and then ran the command sudo grubby --remove-args=<resume=UUID=xxx> --update-kernel=ALL where <resume=UUID=xxx was replaced with resume=/dev/mapper/cl-swap.

Where I got my answer

Thank you Domi@lemmy.secnd.me for linking the thread.

[-] Doctor_Rex@lemmy.ml 5 points 4 months ago

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.

26
submitted 4 months ago by Doctor_Rex@lemmy.ml to c/linux@lemmy.ml

For the past couple days, my Fedora 40 install has been hanging with kernel 6.8.10-300.

For the past couple days I've been booting from kernel 6.8.9-300 as whenever I try to boot from kernel 6.8.10-300 my boot gets stuck at: Job dev-mapper-cl\x2dswap.device/start

I've been trying to figure this out on my for a bit but as Fedora is now at kernel 6.8.11 the next update may remove kernel 6.8.9 as an option to boot from and I'm afraid I won't be able to boot from my system.

If anyone knows what is wrong or could give me some advice as to how to read that message I would appreciate it very much.

[-] Doctor_Rex@lemmy.ml 33 points 8 months ago

IT FUCKING WORKED

THANK YOU

[-] Doctor_Rex@lemmy.ml 3 points 8 months ago

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@lemmy.ml 3 points 8 months ago

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@lemmy.ml 7 points 8 months ago

ok here's the output

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

63
submitted 8 months ago* (last edited 6 months ago) by Doctor_Rex@lemmy.ml to c/linux@lemmy.ml

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.

Big thank you to @pixelscript@lemmy.ml, @NateSwift@beehaw.org, for replying to my comments and helping me along.

Previous post:

I finally installed Linux, but I'm having a mixed experience

Context:

OS: Fedora Linux 39 (KDE Plasma) x86_64
Kernel: 6.5.6-300.fc39.x86_64
DE: Plasma 5.27.8
WM: Kwin
CPU: AMD Ryzen 5 5600X
GPU: Nvidia Geforce GTX 1660

I have a 500GB nvme which I want to have my entire / stored within. And I have a 1TB sata ssd which I want to have my /home to be stored in. I've tried many of the steps some helpful people here on lemmy have detailed, and though it's gotten me closer to getting it right, but I still can't seem to login when I switch my fstab.

Allow me to go through every step I've done so far.

I reinstalled fedora, hoping I could separate my /home in the installer. No such luck, anytime I switched my /home partition into the 1TB drive my entire root directory would follow it. I decided to do the auto install on my nvme and do it manually when it's fully installed.

So just to be clear I am starting from a clean install nothing except neofetch and vim installed.

I created two new directories directly in /. They were /new_home and /old_home.

I formatted my 1TB disk, partitioned it, and then formatted the partition into an ext4, 931.5 G partition.

I mounted it to /new_home

NAME        FSTYPE FSVER LABEL  UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
sda                                                                                 
└─sda1      ext4   1.0          f56df020-2420-4b0c-af4d-2c4c6a56a0b0  718.4G    16% /new_home

From here I ran the command sudo rsync -a /home/adelie/new_home. this is why the current available space is 718.4G. I also added a new file to /new_home called confirm.txt in order to tell which was which at a glance.

I check the permissions and ownership of both /home and /new_home with ls -la they were identical.

adelie@localhost-live:/new_home$ ls -la /new_home

total 8
drwxr-xr-x.  3 root   root   4096 Feb 27 11:06 .
dr-xr-xr-x.  1 root   root    204 Feb 25 21:13 ..
drwx------. 15 adelie adelie 4096 Feb 27 11:11 adelie
adelie@localhost-live:/new_home$ ls -la /home

total 0
drwxr-xr-x. 1 root   root    12 Feb 25 21:01 .
dr-xr-xr-x. 1 root   root   204 Feb 25 21:13 ..
drwx------. 1 adelie adelie 348 Feb 27 11:25 adelie
adelie@localhost-live:/new_home$ 

The story is the same inside the $USER files, the files and directories are identical and so are there permissions and ownership.

I added /dev/sda1 to fstab to auto boot both drives.

UUID=d5877671-6a39-4d96-9a2a-514b6007a59b /                       btrfs   subvol=root,compress=zstd:1 0 0
UUID=ed92de40-2403-4365-9b5c-eb10d519757c /boot                   ext4    defaults        1 2
UUID=02E9-123A          /boot/efi               vfat    umask=0077,shortname=winnt 0 2
UUID=d5877671-6a39-4d96-9a2a-514b6007a59b /home                   btrfs   subvol=home,compress=zstd:1 0 0
UUID=f56df020-2420-4b0c-af4d-2c4c6a56a0b0 /new_home               ext4    defaults        1 2

At this point I haven't changed the boot path for /home yet. When I rebooted, everything worked as expected. When I entered the KDE login screen it let me go into my desktop when I inputted my password correctly.

After this I decided to swap them.

UUID=d5877671-6a39-4d96-9a2a-514b6007a59b /                       btrfs   subvol=root,compress=zstd:1 0 0
UUID=ed92de40-2403-4365-9b5c-eb10d519757c /boot                   ext4    defaults        1 2
UUID=02E9-123A          /boot/efi               vfat    umask=0077,shortname=winnt 0 2
UUID=d5877671-6a39-4d96-9a2a-514b6007a59b /old_home                   btrfs   subvol=home,compress=zstd:1 0 0
UUID=f56df020-2420-4b0c-af4d-2c4c6a56a0b0 /home               ext4    defaults        1 2

When I entered into the KDE login screen, anytime I inputted my password correctly it would kick me back to the login screen within the second. At this point I assumed it was a KDE issue and that I was missing a step in order to login correctly.

I read a comment explaining TTY, and that I should try logging in from there to confirm if it was a KDE issue or not. When I tried it I ended up with this.

Fedora Linux 39 (KDE Plasma)
Kernel 6.5.6-300.fc39.x86_64 on an x86_64 (tty3)

Localhost-live login: adelie
Password:
Last login: Tue Feb 27 xx:xx:xx on tty3
 -- adelie: /home/adelie: change directory failed: Permission denied
Logging in with home = "/".

From my root account I checked /home and /old_home, and /home contained confirm.txt, meaning that everything mounted properly, I then changed the fstab back to what is was originally.

This is where I'm at now.

I'm totally lost on what step I missed. I'd like to get this working in order to actually be able to use my computer, as I am committed to changing my /home directory before making any major changes or installs. If anybody has any idea on what I missed please feel free to pitch in.

*Update: The issue was SELinux. My SELinux contexts were bad and were denying me access to my own data. I reset the context with this command, restorecon -Rv /home/

I'd like to give a big thanks to,

/u/shininghero@kbin.social; for pointing out SELinux as a possible issue.

/u/burrito@sh.itjust.works; for providing the command to fix this issue.

/u/kbal@fedia.io; for being so patient with me, and helping me go through the list of possible issues.

[-] Doctor_Rex@lemmy.ml 8 points 8 months ago* (last edited 8 months ago)

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@lemmy.ml 3 points 8 months ago

This is cool, thank you

119
submitted 8 months ago by Doctor_Rex@lemmy.ml to c/linux@lemmy.ml

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.

[-] Doctor_Rex@lemmy.ml 6 points 8 months ago* (last edited 8 months ago)

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.

136
submitted 8 months ago* (last edited 8 months ago) by Doctor_Rex@lemmy.ml to c/linux@lemmy.ml

Hello I'm Doctor_Rex I'm the OP of this post:

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

I'd like to start by thanking everybody who responded to my questions. Your answers have helped a lot when it came to my worries on switching to Linux.

I've taken in a lot of your recommendations: Fedora, Fedora Kinoite, Nobara, Bazzite Linux, VanillaOS,

I've decided on Fedora Kinoite, as it has everything I want from a distro.

It was very kind of you all to answer my questions but after making that post and reading your answers new questions propped up.

These questions are a little more opinionated than the last ones, and a little better thought out, but please take some time to answer them.

Questions:

  • Is Wayland worth using? Especially when you consider all the issues that may come from using an NVIDIA card.

Are there any real noticeable advantages/improvements to using Wayland over Xorg.

  • Does bloat actually matter or is it just a meme?

Does bloat actually have a noticeable negative impact on your system or are people just over reacting/joking.

  • What are some habits I should practice in order to keep my system organized and manageable?

Any habits or standards that I should abide by in order to save myself headaches in the future?

  • Any other resources besides the Arch Wiki that I should be aware of?

Self explanatory.

  • What do you wish you knew when you first started using Linux that would have saved you a headache in the future?

I'm not referring to some skill but instead something pertaining to Linux itself. Feel free to skip this question.

I'll be going to sleep soon, so apologies if I don't reply but please take a moment answer any questions you think you can.

Thank You!

Edit: ~~AUR~~ = Arch Wiki. Fixed a typo

[-] Doctor_Rex@lemmy.ml 3 points 8 months ago

This is extremely helpful. Thank you for the links!

[-] Doctor_Rex@lemmy.ml 5 points 8 months ago

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@lemmy.ml 3 points 8 months ago

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.

90
submitted 8 months ago* (last edited 8 months ago) by Doctor_Rex@lemmy.ml to c/linux@lemmy.ml

As the title say's, my Windows 10 install broke, but I'm still unsure whether or not to reinstall Windows 10 or install Linux.

Context:

A few months back, Windows 10 updates started to fail on my desktop. I had considered just reinstalling the OS but as my machine was working just fine I simply tolerated it.

Today, when my machine auto-updated it broke something. At first I thought the update worked. But soon I realized that the taskbar was acting odd. All the shortcuts I had placed on my taskbar were working as usual, but when I right clicked them nothing would happen. I clicked on the start menu and the search bar but nothing happened. Most of the widgets on the right side of the taskbar weren't working such as Volume, Wi-Fi, Date & Time, and Notifications. I assumed it was just the taskbar that was broken but when I tried to use the windows key to open the settings menu, it didn't work either, nor did it's keyboard shortcut.

It seems the update had broken some apps that, though didn't prevent Windows from starting, made navigating it a lot more difficult.

I've used Linux before. I had a Linux Mint, and EndeavourOS virtual machine installed on my computer. More recently, I installed EndeavourOS on an old laptop I had lying around, and have been using it daily for about a month now. Although I've had my difficulties, I've been loving my experience.

Though I'm still a Linux newbie I've been meaning to give Linux a real shot on my desktop for a couple weeks now, but as my machine was working just fine I didn't really feel any necessity to make the switch.

But with my Windows install breaking, I feel like its time to give Linux a real shot.

My Questions:

I want to install Fedora on my desktop but I still have a few questions pertaining to Linux and my desktop specs.

I'm running a GTX 1660. I've heard a lot of bad things about running Linux with an NVIDIA GPU so I'd like a few things clarified.

  • How would I install NVIDIA drivers?
  • Does Wayland work with NVIDIA?
  • A lot of distros are moving to Wayland. How would I ensure I stay on an Xorg session?
  • I enjoy modding Bethesda games. Does Mod Organizer work fully on Linux?
  • I've had difficulties running my steam games through proton on my laptop. Does proton work with Fedora?
  • With said difficulties with proton, would installing Steam as a flatpak work or will it cause issues?
  • Can you really not play any games with anti-cheat?

If you believe Fedora wouldn't be the best distro for me I'm welcome to hear any suggestions, though I'm not enthusiastic about running anything Debian based nor installing vanilla Arch.

I'm sorry if I'm coming off as lazy for not doing my research. I've tried to research many of these questions before but found no concrete answers.

To all those who took the time to respond to my post.

Thank You!

Edit: I've made a new post

view more: next ›

Doctor_Rex

joined 1 year ago