0

I have debian dual boot with windows and try to install prime os also, while install it i didn't install it's grub because i have debian grub, but after installation i can't found it in grub .

result in fdisk -l /dev/sda2 112687104 133169151 20482048 9.8G 83 Linux i try to install grub-customizer and add it by code

set root='(hd0,2)'
search --no-floppy --fs-uuid --set=root e5d445e4-f59f-5158-b9c7-465f7009bc23
linux android/kernel root=UUID=e5d445e4-f59f-5158-b9c7-465f7009bc23 quiet      androidboot.hardware=generic_x86 SRC=/android acpi_sleep=s3_bios,s3_mode
initrd android/initrd.img

then it was added successfully but when i open it it's show

android/kernel not found
file located at partition `PrimeOS/android/kernel

screenshot for partition details
partition details

0

from debian add the android entry to /etc/grub.d/40_custom

menuentry 'Android' --class android --class android-x86_64 --class gnu-linux --class os { set root='(hd0,2)' linux /android/kernel root=/dev/ram0 SERIAL=random logo.showlogo=1 androidboot.selinux=permissive quiet DATA= USB_DATA_PARTITION=1 initrd /android/initrd.img }

update the grub

sudo update-grub

according to this configuration your android root dir should be "android" inside the hard drive

in other words you still on debian mount /dev/sda2 to /mnt and check what's inside you should see "android" folder containing ( data initrd.img kernel ramdisk.img system ) ,

else you'll know what to do either rename your android root dir or deplace it depends on your case.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.