15
submitted 11 months ago by Hiro8811@lemmy.world to c/linux@lemmy.ml

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
[-] Jumuta@sh.itjust.works 5 points 11 months ago

have you tried reinstalling the bootloader?

[-] Hiro8811@lemmy.world 2 points 11 months ago
[-] lurch@sh.itjust.works 3 points 11 months ago

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.

[-] Hiro8811@lemmy.world 1 points 11 months ago

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

[-] terminhell@lemmy.dbzer0.com 2 points 11 months ago

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

[-] Hiro8811@lemmy.world 1 points 11 months ago

I tried but they appear back

[-] 0x4E4F@infosec.pub 3 points 11 months ago

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.

[-] Hiro8811@lemmy.world 1 points 11 months ago* (last edited 11 months ago)

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?

[-] princessnorah@lemmy.blahaj.zone 5 points 11 months ago

I got data on my sata

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

[-] 0x4E4F@infosec.pub 1 points 11 months ago

Lol, yeah, missed that 😂.

[-] 0x4E4F@infosec.pub 3 points 11 months ago* (last edited 11 months ago)

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 11 months ago

I'll try this when I get home. Thanks

[-] Quereller@lemmy.one 1 points 11 months ago

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

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

Linux

48152 readers
742 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