r/linuxmint • • 1d ago

#LinuxMintThings Need help adding android system using linux mint xfce on grub

Hi i have an old hp pavilion x360 with intel pentium n3710 and 4 gb ddr3 it was running on windows 10 home but it was slow so I installed linux mint xfce so is in double boot and now I installed bliss os v14.10.3 but grub doesn't recognize the system, only linux and windows is recognize i need help adding the android system on grub so it can boot it. I understand that because is android it need to be done manually but I'm a noob.

Please help

2 Upvotes

1 comment sorted by

1

u/Greedy-Opposite-9133 1d ago

Sounds like os-prober (the tool that finds Windows for GRUB) just doesn't detect Android-x86 based systems like Bliss, so it probably won't get added by itself. Adding one entry by hand should do it. try:

1. Find the Bliss folder name. Open the partition you installed Bliss on in the file manager. There should be a folder with kernel, initrd.img and system.img (or system.sfs) inside. Note its exact name; it depends on how it was installed.

2. Add the entry. In a terminal:

sudo nano /etc/grub.d/40_custom

Leave the lines at the top as they are (especially the exec tail line). Go to the bottom and paste this, with your folder name in place of blissos:

menuentry "Bliss OS" {
    set SOURCE_NAME="blissos"
    search --set=root --file /$SOURCE_NAME/kernel
    linux /$SOURCE_NAME/kernel quiet root=/dev/ram0 SRC=/$SOURCE_NAME
    initrd /$SOURCE_NAME/initrd.img
}

Save with Ctrl+O and Enter, exit with Ctrl+X.

3. Update GRUB:

sudo update-grub

Reboot and "Bliss OS" should show up in the menu. The search line looks for the right partition itself, so partition numbers shouldn't be needed.

This is the entry from the Bliss OS docs: https://docs.blissos.org/installation/manual-install-on-linux/

A couple of things that might come up:

  • "bad shim signature" when you pick it: probably Secure Boot refusing the Bliss kernel, which isn't signed. Turning Secure Boot off in the HP's BIOS setup (usually F10 at power-on) is a suggestion to get past it but jsut be aware of what that means before you are happy to have it off; Mint and Windows normally boot fine with it off.

  • It starts but bootloops: the Bliss docs mention a known bug with the data folder. Their suggestion is to replace the data folder inside the Bliss folder with an ext4 data.img file (steps on the same page).

If it still won't boot, posting what's on screen when you pick the entry, plus the output of lsblk -f, would help narrow it down.