this post was submitted on 17 Jan 2022
16 points (94.4% liked)

Linux

48099 readers
778 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
 

Basically I tried to uninstall an old version of the linux kernel, I had like 5 versions installed because it was taking up too much space on my /boot partition and now my PC is bricked, this is what it displays when i try to boot it

you are viewing a single comment's thread
view the rest of the comments
[–] ksynwa@lemmy.ml 2 points 2 years ago (1 children)

Oh yeah in that case you will have to mount your boot partition to /mnt/boot before chrooting into /mnt. After that I don't know how to fix the package in apt (sorry). You can try force reinstalling the package that provides the kernel. Maybe it will regenrate the initramfs.

You shouldn't manually delete files in /boot.

[–] asdflkjasdf@lemmy.ml 2 points 2 years ago (2 children)

Oh, so I have to umount and mount again mounting first on /mnt/boot and then try to fix it?

[–] onoffled@lemmy.ml 1 points 2 years ago (1 children)

This might be a bit off-topic for this comment thread, but is reinstalling everything an option ? If you have a backup of your data, this might get you up and running quicker. If you don't have a backup, you could plug in another drive and copy files using the live media.

[–] asdflkjasdf@lemmy.ml 1 points 2 years ago (1 children)

Yes, but it would imply having to move almost 1TB of files, plus having to reconfigure all my system after reinstalling, which will also take quite a lot and I get to learn a bit from here even though I'm so fucking stressed right now.

[–] onoffled@lemmy.ml 2 points 2 years ago

Well it looks like you're in good hands with @ksynwa@lemmy.ml!

[–] ksynwa@lemmy.ml 1 points 2 years ago