Doctor_Rex

joined 11 months ago
[–] [email protected] 2 points 4 days ago

Thanks for linking the thread, I spent a whole day looking through fedoraproject threads, don't know how I missed this one. Again thanks.

[–] [email protected] 2 points 5 days ago (2 children)

Hello I did as you advised and my system installed the kernel 6.9.4

Nothing really changed. Still hung at that same exact spot. Honestly the only thing I'd like right now is to know what Job dev-mapper-cl\x2dswap.device/start means

Still thank you for replying

[–] [email protected] 2 points 5 days ago (4 children)

Sorry for responding so late I was busy at the moment.

I didn't fully understand what you meant by " run updates until you get a 6.9"

Also what exactly should I be downloading and installing. The new patched kernel?

 

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 [email protected] for linking the thread.

[–] [email protected] 1 points 1 month ago (1 children)

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.

[–] [email protected] 5 points 1 month ago (1 children)

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.

 

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.

[–] [email protected] 0 points 4 months ago (1 children)

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

[–] [email protected] 0 points 4 months ago (3 children)

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

[–] [email protected] 0 points 4 months ago* (last edited 4 months ago) (5 children)

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.

 

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 @[email protected], @[email protected], 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/[email protected]; for pointing out SELinux as a possible issue.

/u/[email protected]; for providing the command to fix this issue.

/u/[email protected]; for being so patient with me, and helping me go through the list of possible issues.

 

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