Thursday, June 9, 2016

How to dual-boot "Ubuntu and Android-x86" on ASUS EeePC 901

Anyway, I succeeded.

Once, both of the SSD 4GB and the 8GB were cleared.

Android was installed to the 4GB.

I made another partition that it's about 200MB from the head.
Android is installed in a remaining partiton.

The format isn't made of an installer of Android for some reason.

http://knoppix.technic3d.com/knoppix/KNOPPIX_V7.0.5CD-2012-12-21-EN.iso

Knoppix is uesd.

To create and format a partition with "GParted"

※ The format of sda1.
A picture, Fat32. The case only of Linux is OK in ext2, ext3 or ext4.

Android is installed in sda5.









https://yoshinobu968.blogspot.jp/2016/06/how-install-android-x86-to-asus-eeepc.html
※ The installation which is GRUB2 by the past article, Skip, this time is Yes.

After installation completion, once, shut down.

Ubuntu install by a USB memory.

https://yoshinobu968.blogspot.jp/2016/06/how-install-xubuntu-1404-lts-trusty.html














The point in which you install Ubuntu is to assign "/boot" to the first partition (200MB) and assign "/" (route) to 8GB SSD.

Both of them are formats of ext4.
The 8GB also sets up the swap partition of the 1GB, and, "/" is 7GB.

At the first, I tried to move another partition with "boot-repair".
But it didn't work after all.

The setting change which is GRUB after a Ubuntu start from a terminal.

$ vi /etc/default/grub

Following setting, comment out.

#GRUB_HIDDEN_TIMEOUT=0
#GRUB_HIDDEN_TIMEOUT_QUIET=true

After it's saved,

$ sudo update-grub

When it restarts, the menu comes out.














But only Ubuntu can be chosen in this case.

"grub-customizer" is used to establish it easily.

On a terminal on Ubuntu,

$ sudo add-apt-repository ppa:danielrichter2007/grub-customizer
(You need input Enter later.) 
$ sudo apt-get update
$ sudo apt-get install grub-customizer
$ sudo grub-cutomizer


like this.

It's chosen "Edit", "newly",

 Name:Android-x86

 The type: and other things


Boot Seauence is 

there is a volume with Android in a desktop first, so it opens that.

menu.lst is in the grub folder, so that will be opened.
That is the grub menu when you installed Android.

Necessary is the line of "kernel" and "initrd".
The contents of the "Boot Seauence" of grub-customizer new setting consult menu.lst.

set root=(hd0,5)
linux /android-4.4-r5/kernel quiet root=/dev/ram0 androidboot.hardware=android_x86 SRC=/android-4.4-r5
initrd /android-4.4-r5/initrd.img

Save and reboot.















Android could be started with no problem.

No comments:

Post a Comment