Article 4Z6EE LineageOS-x86 broke android-x86 GRUB2 on external hdd dual boot

LineageOS-x86 broke android-x86 GRUB2 on external hdd dual boot

by
mahaju
from LinuxQuestions.org on (#4Z6EE)
My notebook has an internal HDD with Windows 10 Pro, which I want to leave untouched as far as possible

This is question is about installing android-86 on an external HDD

I also have a 500 GB laptop internal HDD that I use as an external HDD using a USB connector

The hard disk is partitioned as follows: 50 GB (1), 50 GB (2), 50 GB(3), unallocated

I installed android-x86_64-9.0-rc2.iso in partition (1) and at the end I was told to install GRUB2 which I did, and I was easily able to dual boot the built in windows 10 and android-x86 (by default the computer just boots into Windows 10, I had to go to the BIOS boot menu by pressing F9, which now had two extra options, either boot from the HDD or UEFI boot android-x86, both allowed me to boot up the android-x86)

I then installed LineageOS-x86, cm-x86_64-14.1-r2.iso in partition (2), and at the end it asked me to installed GRUB2 which I selected Yes to.

Now it turns out it overwrote the GRUB2 installation from android-x86 in partition (1). All the android-x86 files are still there, I just can't boot into it. The new GRUB2 menu now has boot option for LineageOS only.

How do I add the boot options for android-x86 to the current GRUB menu? Or is it possible to get back the GRUB for android-x86 (since I preferred the looks of that menu) and add LineageOS boot options to that menu instead?

Also, no matter what I do to fix this, I want to keep the Windows installation in my internal HDD untouched. Please give some suggestions on what to do keeping this in mind.latest?d=yIl2AUoC8zA latest?i=D_zZDiUME1w:rMvDyUvYaMk:F7zBnMy latest?i=D_zZDiUME1w:rMvDyUvYaMk:V_sGLiP latest?d=qj6IDK7rITs latest?i=D_zZDiUME1w:rMvDyUvYaMk:gIN9vFwD_zZDiUME1w
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments