LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 09-02-2021, 08:16 PM   #1
iamnoex
LQ Newbie
 
Registered: Sep 2021
Posts: 5

Rep: Reputation: Disabled
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?
 
Old 09-03-2021, 04:02 AM   #2
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,506

Rep: Reputation: Disabled
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.
 
1 members found this post helpful.
Old 09-03-2021, 04:29 AM   #3
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,371

Rep: Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593
Windows 7 is pre-uefi, my guess is your mixing legacy/csm booting with uefi booting.
 
1 members found this post helpful.
Old 09-03-2021, 02:56 PM   #4
iamnoex
LQ Newbie
 
Registered: Sep 2021
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by fatmac View Post
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.
 
Old 09-03-2021, 03:20 PM   #5
iamnoex
LQ Newbie
 
Registered: Sep 2021
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
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:

https://www.happyassassin.net/posts/...lly-work-then/

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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] cant fix: "CLEAR: command not found" when trying to execute in terminal. "CLEAR" is part of code not the command to wipe the terminal screen Kintaro Linux - Newbie 12 08-03-2020 04:27 PM
Infinite Grub Loop: GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB... beeblequix MEPIS 2 11-02-2013 10:56 PM
LXer: PC/104-Plus module uses under four watts, tolerates desert heat LXer Syndicated Linux News 0 05-05-2011 05:20 AM
Booting my new ubuntu install = "GRUB GRUB GRUB GRUB GRUB" etc. dissolved soul Ubuntu 2 01-13-2007 12:55 PM
how do i replace the clear "clear screen" with the cls command thefedexguy SUSE / openSUSE 2 12-02-2005 05:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration