I added more hard drives to my windows PC to dual boot as a test, then added another drive to actually play since I was enjoying Linux. My third OS isn’t bootable any more. What have I done wrong?

Started off with Windows 10 on a SATA drive with an M.2 drive for more data.

Added a 2Gb NVME with Debian - this has become my daily driver. I haven’t been to windows more than a few minutes a week.

Added another 250Gb SATA drive to test and play with another Debian install so I don’t break my daily driver.

Tried today to boot into the test OS and It’s just missing from GRUB? It doesn’t show up as a bootable drive in my UEFI BIOS either, though the drive itself is seen.

From KDE Partition Manager in my daily driver Debian, the drives are:

/dev/nvme01 - the daily driver Debian

/dev/sda - the Windows OS drive

/dev/sdb - the windows M.2 drive

/dev/sdc - the test Debian drive (not booting)

I would appreciate help. While there’s not much on that drive, I would like to continue my playing around.

Thanks in advance.

2 points

I’m thinking you may have updated grub at some stage from Deb, and didn’t have the test OS mounted at the time, or os-prober not enabled :- therefore not detected when grub.cfg was regenerated.

https://wiki.archlinux.org/title/GRUB#Detecting_other_operating_systems
https://wiki.debian.org/Grub#Dual_Boot

I ended up using rEFInd myself, as it does automatic OS detection/scans for bootable partitions.

permalink
report
reply
1 point

I didn’t update GRUB intentionally, but who knows. Installing and reading docs, thanks for the tip.

permalink
report
parent
reply
1 point

I can get into initramfs on that drive now, but the first thing it says is “no root device specified. Boot arguments must include a root= parameter”. I assume I’d add that to GRUB, if I could see the OS in GRUB!

<Furious searching>

Then from the BusyBox initramfs prompt, i try vgchange -ay to try and activate the LVM partitions…? , and it activates three logical volumes from each of the two Debians. I figured out that I can pass it my correct LVM group, and it only activated those three. I exit from the initramfs Prompt and it says it can’t find some files in /root/proc, then it hangs forever.

Man, all the stack overflow stuff I see says things like “mount the root to a new folder, then fix the problem, then reboot.” But doesn’t ever explain how to actually do some of it. I’m just too new to follow the “yada yada”!

permalink
report
parent
reply

linux4noobs

!linux4noobs@programming.dev

Create post

linux4noobs


Noob Friendly, Expert Enabling

Whether you’re a seasoned pro or the noobiest of noobs, you’ve found the right place for Linux support and information. With a dedication to supporting free and open source software, this community aims to ensure Linux fits your needs and works for you. From troubleshooting to tutorials, practical tips, news and more, all aspects of Linux are warmly welcomed. Join a community of like-minded enthusiasts and professionals driving Linux’s ongoing evolution.


Seeking Support?
  • Mention your Linux distro and relevant system details.
  • Describe what you’ve tried so far.
  • Share your solution even if you found it yourself.
  • Do not delete your post. This allows other people to see possible solutions if they have a similar problem.
  • Properly format any scripts, code, logs, or error messages.
  • Be mindful to omit any sensitive information such as usernames, passwords, IP addresses, etc.

Community Rules

  • Keep discussions respectful and amiable. This community is a space where individuals may freely inquire, exchange thoughts, express viewpoints, and extend help without encountering belittlement. We were all a noob at one point. Differing opinions and ideas is a normal part of discourse, but it must remain civil. Offenders will be warned and/or removed.
  • Posts must be Linux oriented
  • Spam or affiliate links will not be tolerated.

Community stats

  • 258

    Monthly active users

  • 123

    Posts

  • 1K

    Comments

Community moderators