this post was submitted on 21 Nov 2023
15 points (82.6% liked)

Linux

47341 readers
1377 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 have a laptop eith sata and a nvme drive. I installed a few operating systems and I decided on Mint for Sata. Installed it copied data from Nvme drive since I was using it as primary. I installed Nobara on nvme and it worked flawless until a few moments ago. Reboted and Mint is gone from boot options. Tried to add it but don't find it. Tried to boot into Nobara but it gets stuck on blank screen. Power button works but that's about it. No HDMI output. Recovery options dosen't work either. In Nobara live session I can see my Mint drive with all the partition and so is Nobara. Also I have for some reason option to boot into windows and Debian even tho when I installed I chose full drive.

top 15 comments
sorted by: hot top controversial new old
[–] [email protected] 5 points 10 months ago (1 children)

have you tried reinstalling the bootloader?

[–] [email protected] 2 points 10 months ago (1 children)
[–] [email protected] 3 points 10 months ago (1 children)

It is a little program that starts an operating system. It's very small and basic. It has to be put in a special place on the drive.

[–] [email protected] 1 points 10 months ago (2 children)

Is that why I still have windows and Debian option to boot? So how do reinstall the bootloader?

[–] [email protected] 2 points 10 months ago (1 children)

It could also be entries stored in efi. Won't hurt to delete them from the list in bios if starting over.

[–] [email protected] 1 points 10 months ago

I tried but they appear back

[–] [email protected] 3 points 10 months ago (1 children)

You've messed up partitioning and EFI partitions. There are leftovers from Debian and Windows. Wipe both drives, star fresh. Make one EFI partition on the NVME drive, 512MB, and use the rest for the main OS. Use the entire SATA drive for the other boot option (no need for EFI partition on that one). When installing the second OS, skip the bootloader install. Boot into the main OS, set grub to search for other OSes installed on the laptop and update grub afterwards. The second OS should appear in grub's menu.

[–] [email protected] 1 points 10 months ago* (last edited 10 months ago) (3 children)

I would start fresh but I got data on my sata. Also sometimes it boots in grub. I think it's from Debian. Can I use that or do I need to be in a system?

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

I got data on my sata

Maybe it’s just with my Aussie accent but this is a great rhyme 😅

[–] [email protected] 1 points 10 months ago

Lol, yeah, missed that 😂.

[–] [email protected] 3 points 10 months ago* (last edited 10 months ago) (1 children)

OK, then here's what you do. Wipe the NVME, install your main OS on it. Boot to it, it should read the SATA drive. Mount it, copy whatever you need from it to the NVME drive. Then wipe the SATA drive (dd or any other program of your choice). Install your second OS on the SATA drive, but skip installing the bootloader. Reboot, boot to your man OS, set grub to search for other installed OSes on the laptop, update grub. The second OS should appear in grub's menu.

If the data on the SATA drive is bigger than what the NVME can take, use BTRFS with compression (zstd=10 should do it, after the copy, you can drop the compression to 5 for better performance) on the main OS. It will compress binaries or plain text/document files quite nicely. Media, not so much, but it will cut down a few % off it.

Also, when you update the kernel on the second OS, grub won't detect that. You have to manually switch to the new kernel, but from the main OS. Also, removing old kernels on the second OS will become more complicated, since there is no bootloader installed for it.

[–] [email protected] 2 points 10 months ago

I'll try this when I get home. Thanks

[–] [email protected] 1 points 10 months ago

Try to mount the partition from the live system and copy the data to a safe place. Then reinstall.