2015-12-03 15:02 GMT+08:00 Drake x <
dr4...@gmail.com>:
> Having the same issue but using Virtual Box.
>
> Host Machine:
> OS: Win 7 x64
> RAM: 8GB
>
> Using Virtual Box 5.0.10 (w/ extension pack installed)
> VM OS: Linux 2.6/3.x/4.x (tried both x86 and x64)
> VM RAM: 1GB
> Enabled PAE/NX (Which host CPU supports)
> Enabled VT-x (Which host CPU supports)
> Enabled 3D Video Accel (Doesn't matter for problem)
>
> What I've tried:
>
> Situation #1
> Set VM OS as Linux 2.6/3.x/4.x (x64) in Virtual Box
> Run Android x86 5.1RC1, format virtual disk as ext4
> Let LiveCD automatically do the formatting and partitioning (That is, not
> using cgdisk to manually set the partition tables)
I'm not sure what you meant "automatically".
The install doesn't automatically do that for you.
Actually you NEED to partition (using cfdisk/cgdisk or any similar tool)
a new created virtual disk. At least one partition is necessary.
If you format the whole disk as ext4, it won't work.
> Try to install GRUB
> Result: Installer hangs at trying to install GRUB
>
> Situation #2
> Same as #1 except don't install GRUB or GRUB2 (don't think it's needed as
> this is a single OS VM)
> Result: "Installs" and boots into Android x86. Upon trying to reboot the VM
> (without the Android x86 iso mounted) Virtual Box immediately throws the
> error: "FATAL: No bootable medium found! System halted."
You need a bootloader - GRUB(2) or any similar stuff.
Otherwise it surely won't boot.
If you skip GRUB installation, you need to
install other bootloader yourself.
> Situation #3
> Same as #1 except, follow Beau's suggestion below and use cgdisk to create
> two different partitions and write the partition table. Use LiveCD to format
> the large partition as ext4.
> Try to install GRUB
> Result: Same as #1
Not sure if you have a typo.
cgdisk is for GPT partition table,
while GRUB only supports legacy partition.
You can't mixed them.
Use cfdisk instead.
(that is, say No to "Do you want to use GPT?")
> Situation #4
> Same as #1 except skip GRUB and try to install GRUB2.
> Result: Installer hangs at trying to install GRUB2
I believe the Virtual Box uses legacy BIOS by default.
So you should choose GRUB.
> Situation #5
> Set VM OS as Linux 2.6/3.x/4.x in Virtual Box
> Run Android x86 5.1RC1, format virtual disk as ext4
> Let LiveCD automatically do the formatting and partitioning (That is, not
> using cgdisk to manually set the partition tables)
> Install GRUB but not GRUB2
> Result: Same as #2
>
> Situation #6
> Same as #5 except install both GRUB and GRUB2.
> Result: "Installs" but immediately fails to load into Android with error at
> command line (See attached screenshot)
About GRUB or GRUB2, it depends on your BIOS.
For legacy BIOS, use GRUB. For UEFI BIOS, choose GRUB2.
(note the GRUB2 used in android-x86 supports EFI only.
The normal GRUB2 from a linux distro should support both)
Installing both doesn't make sense.
> I've had no problem before, I've set up many Android x86 4.4r2 VMs with no
> problems whatsoever.
Sounds very mysterious to me.
The installer doesn't have significant change
since 4.4-r2 to 5.1.
If you know how to do it before,
surely it should just work now.
> Thanks very much for any suggestions. If I can provide any more information
> to assist or try other recommendations I'd be happy to do so.
--
Chih-Wei
Android-x86 project
http://www.android-x86.org