Grub android x86 edit

Arch Linux

You are not logged in.

#1 2019-04-05 15:57:34

[SOLVED] Cannot make GRUB boot into Android x86

I installed Android x86 (8.1-r1) on the second primary partition of my storage drive, the first partition being an extended partition which includes my Arch Linux partition and swap partition. I followed the GRUB Arch Wiki article to learn how to add new OS entries to GRUB. I installed os-prober, ran sudo os-prober , then sudo grub-mkconfig -o /boot/grub/grub.cfg . No detection. So I decided to go for a manual method. I edited my /etc/grub.d/40_custom file to include the following:

This way I got an entry on the GRUB menu for «Android x86». When I select it, the screen goes black, then I’m presented with a terminal output. The last line says «Looking for Android x86. Found at /dev/sda2» or something very similar. Then my PC powers off and reboots into GRUB as though nothing untoward has happened.

I’ve no prior experience with using GRUB, so I’m pretty sure I’m missing something obvious, and I’d appreciate some advice. Thanks.

Last edited by C-Ren (2019-04-10 18:32:19)

#2 2019-04-05 16:09:59

Re: [SOLVED] Cannot make GRUB boot into Android x86

Looks like you may need some extra kernel parameters: https://ubuntuforums.org/showthread.php … st13412632

Did you not search before posting? I found that thread very quickly.

I’m not sure if this thread is suitable for these boards, can you not ask on the Android-x86 mailing lists?

There are two ways of constructing a software design: one way is to make it so simple that there are obviously no deficiencies and the other way is to make it so complicated that there are no obvious deficiencies.

— C.A.R. Hoare, The 1980 ACM Turing Award Lecture

#3 2019-04-05 19:03:35

Re: [SOLVED] Cannot make GRUB boot into Android x86

After consulting more resources I’ve come up with this:

Still doesn’t work. I’ve also tried all sorts of values for the androidboot.hardware parameter, but still nothing doing. It just reboots straight away. I’ve requested to join that Google Group you linked, thanks for making me aware of it. (Yes, this isn’t quite the right forum for this issue, but it’s the best one I knew of.)

Last edited by C-Ren (2019-04-05 19:03:51)

#4 2019-04-10 18:32:05

Re: [SOLVED] Cannot make GRUB boot into Android x86

This has been solved now. In case anyone finds this topic by a web search: the missing parameter, and its correct value, is:

Читайте также:  Создание логотипов для андроид

Источник

Android-x86

Run Android on your PC

Installation

Introduction

In particular, you can install Android-x86 to an NTFS filesystem to co-exist with Windows. See the Advanced Section for more details.

Step by Step

  • Download an iso image from a mirror site. Usually you should just use the latest image.
  • Burn the iso image to cdrom, or create a bootable USB disk (recommended). See the Advanced Section for details.
  • Boot from the Android-x86 installation CD/USB, choose the ‘Install Android-x86 to harddisk’ item, as shown below:

Upgrade

You may upgrade an older Android-x86 installation by the installer. Just select the partition containing the older installation. The installer will prompt if you’d like to upgrade it:

If there are multiple older versions in the same partition, the installer will ask which version to upgrade:

Auto Installation

If you want to use Android-x86 as the only OS in your device, you may choose «Auto Installation» under the «Advanced options».

The installer will prompt you to confirm:

After you select ‘Yes’, the installer will erase the whole content of the hard disk, partition and install Android-x86 to it.

If you have multiple hard drives, the installer will let you choose which one to use. Be careful to choose the correct one.

Auto Update

By choosing «Auto Update» under the «Advanced options», the installer could update an older installation automatically.

In this mode, the installer searches a partition named «Android-x86» or the first ext4 partition, and update the older installation in it automatically. If no such a partition is found, the auto update mode will be cancelled.

Other boot options

  • Live CD — Run Android-x86 without installation

The item means to boot Android-x86 directly. This is useful to check if your hardware is compatible with Android-x86 quickly. All data is stored in RAM (tmpfs) and will lose after poweroff.

Live CD — Debug mode

See the debug howto for more details.

Live CD — Vulkan support (experimental)

Enable the experimental Vulkan support. Not all GPUs support it.

Live CD — No Setup Wizard

Skip the Setup Wizard. It’s useful if you want to test some apps quickly in live mode.

Live CD VESA mode — No GPU hardware acceleration

Disable GPU hardware acceleration. If you encounter black screen after booting, you may try this mode to see if it’s bootable.

Advanced

Create a bootable USB stick for Android-x86

There are several tools which could be used to create a bootable USB stick for Android-x86. The following tools are available for Windows users:

  • Win32 Disk Imager — see demo video.
  • UNetbootin — see demo video.
  • Rufus — see demo video.
  • Linux Live USB Creator (LiLi) — Obsolete software, but used to officially support Android-x86 until v4.4.

For Linux users, just use the standard dd command like:

Multi-Boot

To boot other operating systems, you have to add items for them to /grub/menu.lst. For example, to boot Windows, add the following:

Читайте также:  Jihosoft android phone recovery android

This assumes Windows is installed to the first partition of the first hard disk. Alternatively, you need to change rootnoverify to the appropriate value. See Grub Manual for details.

Updated (2010)

Issues

VMware

You have to change your virtual disk type to be IDE because the default type in VMware is SCSI, and Android-x86 kernel is not configured to support SCSI. You can follow these steps:

  1. Create a virtual machine.
  2. Edit virtual machine settings after the virtual machine created.
  3. Choose the hard disk and remove it.
  4. Add a hard disk to create a new virtual disk, then you can choose IDE as your virtual disk type.
  5. When finished, you can install android-x86 normally.

Источник

Grub android x86 edit

Android OS на x86

В этой теме обсуждаются вопросы общие для всех Андроидов на платформе x86, конкретно проект портирования Android-х86, а также его братья, не имеющие отдельных тем обсуждения на нашем форуме.
Android в виртуальную машину | Сайт и Форум проекта Android-х86 | Android от Intel

Вопросы, касающиеся только проектов Phoenix OS , Remix OS x86 и Bliss-x86 , обсуждаются в своих темах.
За работоспособность ваших устройств ответственность несёте исключительно Вы. Задавая вопрос, постарайтесь указать следующую информацию .

    Hardware List — список совместимого оборудования
      Если Вы не нашли в шапке или в листе совместимости версию для вашего компьютера/ноутбука (модификации железа), то следует попробовать разные версии и опытным путём подобрать оптимальную.

  • Графическое ускорение нормально работает на видеоадаптерах от AMD и Intel (кроме GMA 500, GMA 600, GMA 3600, GMA 3650, т.к. они основаны на PowerVR).
    Графика nVidia поддерживается начиная с Android-x86 4.4-R3; новое поколение начинает поддерживаться после выхода следующего.
  • Ситуация с поддержкой планшетов, Критическое замечание о звуке.
  • Чипы, которые реализуют одновременно и WiFi, и Bluetooth работают хуже, чем отдельные.

    Загрузочную флешку или диск необходимо записать с помощью Rufus, UNetbootin, LiLi, или WinImage. UltraISO использовать не рекомендуется потому, что созданные им флешки мало где грузятся.

Раздел под Android рекомендуется форматировать в ext3 или ext4 (для версии 5.0 Lollipop и новее) чтобы иметь >4ГБ места под свои нужды и избежать проблем с SuperSU и другим софтом. Форматирование раздела лучше произвести до установки Android сторонним ПО (Acronis, GParted, др.): родной установщик не всегда справляется с этой задачей.

title Android-x86 5.1-rc1
kernel /android-5.1-rc1/kernel quiet root=/dev/ram0 androidboot.hardware=android_x86 SRC=/android-5.1-rc1
initrd /android-5.1-rc1/initrd.img

title Android-x86 5.1-rc1 (Debug mode)
kernel /android-5.1-rc1/kernel root=/dev/ram0 androidboot.hardware=android_x86 DEBUG=2 SRC=/android-5.1-rc1
initrd /android-5.1-rc1/initrd.img

title Android-x86 5.1-rc1 (Debug nomodeset)
kernel /android-5.1-rc1/kernel nomodeset root=/dev/ram0 androidboot.hardware=android_x86 DEBUG=2 SRC=/android-5.1-rc1
initrd /android-5.1-rc1/initrd.img

title Windows
rootnoverify (hd0,1)
chainloader +1

Тут default указывает номер пункта, котоый будет выбран автоматически после истечения timeout секунд. root и rootnoverify указывают с какого диска, и с какого его раздела загружать выбраную операционную систему. Как и в случае с default, нумерация начинается с нуля. Параметры загрузки прописываются в конец строки, которая начинается со слова kernel. Такими параметрами можно повлиять на многие аспекты работы Андроида с железом. К примеру настроить работу с внешним монитором.

GRUB 2 — следующая версия GRUB. Разработчики писали GRUB 2 «с нуля», чтобы добиться переносимости и модульности.
Используется в образах Android-x86 для компьютеров с новым UEFI-BIOS.
Может хранить свои настроки в файле grub.cfg либо menu.lst. Обычно этот файл лежит на отдельном системном разделе EFI (ESP). Типичное содержимое:

set timeout=60
set gfxmode=1024×768
terminal_output gfxterm

Источник

Grub android x86 edit

Android OS на x86

В этой теме обсуждаются вопросы общие для всех Андроидов на платформе x86, конкретно проект портирования Android-х86, а также его братья, не имеющие отдельных тем обсуждения на нашем форуме.
Android в виртуальную машину | Сайт и Форум проекта Android-х86 | Android от Intel

Вопросы, касающиеся только проектов Phoenix OS , Remix OS x86 и Bliss-x86 , обсуждаются в своих темах.
За работоспособность ваших устройств ответственность несёте исключительно Вы. Задавая вопрос, постарайтесь указать следующую информацию .

    Hardware List — список совместимого оборудования
      Если Вы не нашли в шапке или в листе совместимости версию для вашего компьютера/ноутбука (модификации железа), то следует попробовать разные версии и опытным путём подобрать оптимальную.

  • Графическое ускорение нормально работает на видеоадаптерах от AMD и Intel (кроме GMA 500, GMA 600, GMA 3600, GMA 3650, т.к. они основаны на PowerVR).
    Графика nVidia поддерживается начиная с Android-x86 4.4-R3; новое поколение начинает поддерживаться после выхода следующего.
  • Ситуация с поддержкой планшетов, Критическое замечание о звуке.
  • Чипы, которые реализуют одновременно и WiFi, и Bluetooth работают хуже, чем отдельные.

    Загрузочную флешку или диск необходимо записать с помощью Rufus, UNetbootin, LiLi, или WinImage. UltraISO использовать не рекомендуется потому, что созданные им флешки мало где грузятся.

Раздел под Android рекомендуется форматировать в ext3 или ext4 (для версии 5.0 Lollipop и новее) чтобы иметь >4ГБ места под свои нужды и избежать проблем с SuperSU и другим софтом. Форматирование раздела лучше произвести до установки Android сторонним ПО (Acronis, GParted, др.): родной установщик не всегда справляется с этой задачей.

title Android-x86 5.1-rc1
kernel /android-5.1-rc1/kernel quiet root=/dev/ram0 androidboot.hardware=android_x86 SRC=/android-5.1-rc1
initrd /android-5.1-rc1/initrd.img

title Android-x86 5.1-rc1 (Debug mode)
kernel /android-5.1-rc1/kernel root=/dev/ram0 androidboot.hardware=android_x86 DEBUG=2 SRC=/android-5.1-rc1
initrd /android-5.1-rc1/initrd.img

title Android-x86 5.1-rc1 (Debug nomodeset)
kernel /android-5.1-rc1/kernel nomodeset root=/dev/ram0 androidboot.hardware=android_x86 DEBUG=2 SRC=/android-5.1-rc1
initrd /android-5.1-rc1/initrd.img

title Windows
rootnoverify (hd0,1)
chainloader +1

Тут default указывает номер пункта, котоый будет выбран автоматически после истечения timeout секунд. root и rootnoverify указывают с какого диска, и с какого его раздела загружать выбраную операционную систему. Как и в случае с default, нумерация начинается с нуля. Параметры загрузки прописываются в конец строки, которая начинается со слова kernel. Такими параметрами можно повлиять на многие аспекты работы Андроида с железом. К примеру настроить работу с внешним монитором.

GRUB 2 — следующая версия GRUB. Разработчики писали GRUB 2 «с нуля», чтобы добиться переносимости и модульности.
Используется в образах Android-x86 для компьютеров с новым UEFI-BIOS.
Может хранить свои настроки в файле grub.cfg либо menu.lst. Обычно этот файл лежит на отдельном системном разделе EFI (ESP). Типичное содержимое:

set timeout=60
set gfxmode=1024×768
terminal_output gfxterm

Источник

Читайте также:  Что то отправляет sms с андроида
Оцените статью