this post was submitted on 07 Jun 2025
41 points (95.6% liked)

Linux

54869 readers
374 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 6 years ago
MODERATORS
41
submitted 21 hours ago* (last edited 21 hours ago) by Rubanski@lemm.ee to c/linux@lemmy.ml
 

I am a Linux beginner but I really enjoyed it so far. So far. Since yesterday, my Linux (pop OS) only wants to boot into emergency mode. I have a suspicion, even though my Linux and Windows are located on different physical disks, somehow Windows does it's toxic ex lover things and somehow broke my Linux I assume. It's there a terminal command to somehow reorganise my boot files?

you are viewing a single comment's thread
view the rest of the comments
[–] nanook@friendica.eskimo.com 0 points 15 hours ago (1 children)

@Attacker94 The boot block pointing to grub is what gets overwritten, grub itself in /boot/efi doesn't. You can fix either though with either boot repair or boot from a usb thumb drive, mount the partitions on /mnt and subdirectories,mount --bind /dev /mnt/dev, /dev/pts /mnt/dev/pts, and then mount --rbind /proc /mnt/proc and /sys /mnt/sys, cp /etc/resolv.conf to /mnt/etc/resolv.conf, chroot to /mnt, and then grub-install /dev/sda or whatever the drive is. Not a big deal. And this only happens if you install Windows AFTER you have installed Linux.

[–] Attacker94@lemmy.world 1 points 12 hours ago

Thank you, I was aware of this, but I believe you are mistaken in your last sentence because Linux has always been the second one to be installed for me and the issue still crops up when I forget to heed my own advice