this post was submitted on 05 Jul 2023
24 points (100.0% liked)

Linux

48224 readers
826 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
 

I use the MX Linux distribution (Debian-based) as my dual-boot. Recently, I've started building a new PC, the crux of which will be a Radeon RX 7900xtx GPU. Since it showed up before everything else, I crammed it into my current PC to replace a GTX970 to test and play around.

After some fun with the Dell BIOS not giving me any video out, I got it running great in Windows. However, when booting into MX Linux, the system simply hangs on a flashing cursor forever. If I press the power button, it shows the normal shutdown text of stopping services and shuts down fine, so I know it's not a hard crash, just a silent hang.

I'm assuming this is related to the NVidia drivers being embedded in the kernel or something and it just can't figure out how to initialize the Radeon card? I was using the NVidia proprietary drivers on my GTX970 before, installed through the MX Linux repos.

Any advice or guides you might have to get this install working again would be great! It would be no great loss if I had to reinstall it since I'll be moving to a totally new PC anyway, but I'd like to try and save this install anyway.

top 10 comments
sorted by: hot top controversial new old
[–] elltee@lemmy.one 21 points 1 year ago (1 children)

Radeon 79XX drivers are integrated into the 6.X kernel. Kernels lower than that won't really work. I don't have a MX install any more, but I'd guess that's the reason. You might try looking for the upgraded kernel. The nvidia drivers shouldn't have anything to do with it.

[–] empireOfLove@lemmy.one 13 points 1 year ago* (last edited 1 year ago) (2 children)

Ahhhh fuck that's it right there. MX's normal distribution is Debian stable and baked onto the 5.10 kernel. I have to install MX's AHS release for the 6.x kernel. I didn't even think about that.

MX is fairly integrated and I'm not sure I could upgrade the kernel in place without destroying the install, assuming I even knew how to replace such a thing.

I'm too used to having all my old hardware lol. Thank you so much!

[–] Aman9das@rammy.site 4 points 1 year ago* (last edited 1 year ago) (1 children)

If you plan on reinstall then try to separate the home and root partition.. it'll make future reinstalls simpler

[–] curioushom@lemmy.one 4 points 1 year ago

Just to clarify for anyone reading this good advice; you want to separate the root and home partition. That allows for reinstalling the OS in your root partition without losing data in your home partition.

[–] elltee@lemmy.one 3 points 1 year ago

Bringing this over from the site that shall not be named.

you probably need to update mx-packageintaller-pkglist, current version is 22.11.01mx21 if you don't have that and it doesn't upgrade you might want to change the repo (try MX Repo Manager) refresh and try to upgrade again, then after you update that it should be available in "Popular Applications" tab in MX Package Installer.

Dunno if it will help in your particular situation, but it might keep someone else from going to deddit in the future.

[–] oscar@programming.dev 3 points 1 year ago (1 children)

When does it hang? If it's after you log into your user, you could try to instead when on the login screen open a shell by pressing Ctrl + Alt + F2, uninstall Nvidia drivers and install mesa drivers. Or maybe at least investigate further.

[–] empireOfLove@lemmy.one 3 points 1 year ago (1 children)

yeah it hangs way before the login screen. It basically hangs immediately after exiting GRUB and goes directly to a flashing cursor.

elltee explained it above.. MX Linux's stable distribution is on kernel 5.10 and I need kernel 6.x (part of their advanced hardware support release) to get AMD RDNA3 drivers. So I'll most likely be doing a full reinstall unless you know how to replace kernels in place.

[–] INeedMana@lemmy.world 1 points 1 year ago (1 children)

I have no idea what MX is but maybe you could just compile your own? It's not that hard. If you're going to wipe the system anyway, it's an opportunity to mess around a little and learn

Just remember to

  1. backup old kernel AND initrd
  2. have a rescue usb in case it completely stops booting up
  3. choose modules that are used for your hard drive and filesystem as built into the kernel, just in case
  4. you should be able to copy the CONFIG of the old kernel in the repo and use it (as the wiki proposes)
  5. remember to sleep
[–] empireOfLove@lemmy.one 2 points 1 year ago (1 children)

Not sure I'm feeling adventurous enough to be compiling my own kernel at this stage in the game. I might do that for some of my homelab machines as an experiment but my main computer really needs to be drop-in and go with full stability.

[–] targetx@programming.dev 1 points 1 year ago

You should be able to boot into runlevel 1 easily and upgrade the kernel using the steps someone else already mentioned. No reason to reinstall the entire system.

load more comments
view more: next ›