Intel Clear Linux tolerates drive switching, Debian gives "Missing OS GRUB"
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Intel Clear Linux tolerates drive switching, Debian gives "Missing OS GRUB"
I have a number of drives that are connected to the power supply by DPDT switches, including a pair of boot drives that can be toggled (when the system is powered down). One drive has a Windows 7 installation and on the other I installed Debian 11 from the Live image.
The Debian install went smoothly and I made a number of reboots. However, after switching to the Window 7 drive and back to Debian I get a "Missing OS GRUB" message. On the other hand if I install Intel Clear Linux from the Live image, I can toggle back and forth without losing the Linux installation. The Windows 7 installation is not disturbed by any of this.
This seems to be an issue involving UEFI and GRUB that affects Debian but not Clear Linux. What can I do to remedy the situation for the Debian boot drive? Is there another distro besides Clear Linux that would tolerate the switching process?
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,506
Rep:
Quote:
Stateless
Operate without any custom configuration, for example, a generic host with an empty /etc directory. Stateless systems strictly separate the OS configuration, the per-system configuration, and the VT user-data stored on that system.
The above could be the reason, Debian uses files in /etc.
However, I suspect the boot loader on the Debian disk may have got damaged in some way, maybe using a 'live' to repair or re install grub.
The above could be the reason, Debian uses files in /etc.
However, I suspect the boot loader on the Debian disk may have got damaged in some way, maybe using a 'live' to repair or re install grub.
I think you are right about files. I have repeated the process with the standard installer with the same result. After switching drives /boot/efi/EFI/debian is missing when I boot from Live to see what is happening. The boot entry for that path is also missing per efibootmgr.
Windows 7 is pre-uefi, my guess is your mixing legacy/csm booting with uefi booting.
That is probably part of the problem. The machine is an Asus P8C-WS, and the original BIOS did not have a CSM. Asus added the CSM but never added any documentation to the manual for it. I discovered this when I was unable to get an add-in SATA controller to work. I have been using Debian on an Intel NUC box and I would like use it on a Xeon box. I chose Debian after having limited experience with Raspbian and LinuxCNC. My goal is to ultimately run Windows 7 as a guest for a Linux host and avoid Windows 10. I have a newer Supermicro system that I can try, but it appears that dual booting can be problematic even if the OSes are on two different drives. I found this to be very informative although somewhat discouraging:
This was my first thread at LinuxQuestions.org and I appreciate the responses from you and fatmac. I will probably be back with questions about KMV, Xen, Virtualbox, etc. after I get past this awkward dual booting phase.
Last edited by iamnoex; 09-03-2021 at 03:21 PM.
Reason: accuracy
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.