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

Linux

48186 readers
1226 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.

you are viewing a single comment's thread
view the rest of the comments
[–] 0x4E4F@infosec.pub 3 points 1 year ago* (last edited 1 year 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.

[–] Hiro8811@lemmy.world 2 points 1 year ago

I'll try this when I get home. Thanks