Installing PrimeOS on Fedora 36 Workstation

I know but how to but don’t want to install Prime OS (an android OS) on my system using the bootable USB installer method. Instead, i want to install it using the folder method, wherein one can extract ISO components in / directory and add a grub boot-menu entry pointing to the objects in the directory, and I need help with adding Boot menu entry pointing to Prime OS (because i literally have no idea how to do that!).

Tried these steps on Ubuntu and it worked, but now I have switched to Fedora 36, and they don’t work.

Hello @kushagrasrivastava ,
Welcome to :fedora: !
Check out this link https://docs.fedoraproject.org/en-US/quick-docs/bootloading-with-grub2/

1 Like

Sorry, but that doesn’t help.

I’ve put the files- initrd.img install.img kernel system.sfs into a folder primeos in the root directory. So i need a boot entry pointing toward the things like kernel and initrd.img but i don’t know how to write a grub menu entry. Can you help me with that?

From the link I posted …

More information

  • The grub2-mkconfig command creates a new configuration based on the currently running system. It collects information from the /boot partition (or directory), from the /etc/default/grub file, and the customizable scripts in /etc/grub.d/.
  • The configuration format is changing with time, and a new configuration file can become slightly incompatible with the older versions of the bootloader. Always run grub2-install before you create the configuration file with grub2-mkconfig.
  • In Fedora, it is generally safe to edit /boot/grub2/grub.cfg manually. Grubby in Fedora patches the configuration when a kernel update is performed and will try to not make any other changes than what is necessary. Manual changes can be overwritten with grub2-mkconfig when the system gets upgraded with Anaconda. Customizations placed in /etc/grub.d/40_custom or /boot/grub2/custom.cfg files will survive running the grub2-mkconfig command.
1 Like

Many thanks for your post. I am also working on this topic and I posted a gurb2 menuentry. Could you check it ? I hope I can send you a link of my post.

This is the link.

Do you develop AI against pollution ? Very interesting!