Booting android-x86 using systemd-boot/gummy-boot?

626 views
Skip to first unread message

Arun G

unread,
Sep 16, 2019, 9:04:42 AM9/16/19
to Android-x86
I use systemd-boot to boot my Linux installation. I have installed android on another partition. I don't like having two loaders on my efi partition. Is there any way to boot android-x86 without loading grub?

Chih-Wei Huang

unread,
Sep 16, 2019, 10:59:37 AM9/16/19
to Android-x86
Arun G <lunar...@gmail.com> 於 2019年9月16日 週一 下午9:04寫道:
>
> I use systemd-boot to boot my Linux installation. I have installed android on another partition. I don't like having two loaders on my efi partition. Is there any way to boot android-x86 without loading grub?

Of course you can boot android-x86 with any bootloader
which can load Linux kernel and ramdisk(initrd.img).


--
Chih-Wei
Android-x86 project
http://www.android-x86.org

Arun G

unread,
Sep 20, 2019, 11:08:22 AM9/20/19
to Android-x86


On Monday, 16 September 2019 18:34:42 UTC+5:30, Arun G wrote:
I use systemd-boot to boot my Linux installation. I have installed android on another partition. I don't like having two loaders on my efi partition. Is there any way to boot android-x86 without loading grub?

I found the way to boot it with systemd-boot.

Copy kernel and initrd.img to EFI partition and create new entry for android-x86.

 /loader/entries/android.conf                                                          

title   Android-x86
linux  
/kernel
initrd  
/initrd.img
options root
=PARTUUID=xxxxxxxxxxxxxxx root=/dev/ram0 rw SRC=/android-xxxx rootfstype=xxxx  androidboot.hardware=android_x86_64 androidboot.selinux=permissive quiet



change partuuid=, rootfstype= and SRC=.
Reply all
Reply to author
Forward
0 new messages