Best way to dual boot Android-x86 and Ubuntu?

1,416 views
Skip to first unread message

Ollie

unread,
Aug 13, 2011, 6:55:38 PM8/13/11
to Android-x86
Hi there, I'm wanting to install Android-x86 on a 4GB partition on my
Viewpad 10 with Ubuntu. What's the best method to do this? I have set
up the partitions using Gparted Live USB and want to know if I should
install Android-x86 first or Ubuntu?

Thanks!

amoghha...@gmail.com

unread,
Aug 14, 2011, 5:26:37 AM8/14/11
to andro...@googlegroups.com

I would recommend you to install Ubuntu first. There always seems to be some problem when I install Android x-86. It has a GRUB boot manager that seems to take up the role of default boot manager.

When you install Android, make sure you don't choose to setup GRUB.

Best of luck.

Sent from my Nokia phone

Thanks!

--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To post to this group, send email to andro...@googlegroups.com.
To unsubscribe from this group, send email to android-x86...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-x86?hl=en.


TorstenS

unread,
Aug 14, 2011, 6:01:18 AM8/14/11
to Android-x86
Wouldn't it be much nicer if you don't have to dual-boot but if you
could just switch between Ubuntu and Android while your system is
running?

On 14 Aug., 11:26, "amoghharish...@gmail.com"

fuzzy7k

unread,
Aug 14, 2011, 6:59:00 AM8/14/11
to Android-x86
> Wouldn't it be much nicer if you don't have to dual-boot but if you
> could just switch between Ubuntu and Android while your system is
> running?

That's called a VM

> I would recommend you to install Ubuntu first. There always seems to be some problem when I install Android x-86. It has a GRUB boot manager that seems to take up the role of default boot manager.

The android installer should allow for grub installation to the mbr or
partition. I'm not saying it does, I'm saying it should.

I've got 5 OS's on my tabletPC. Each one manages its own boot loader
at the partition level, and I manage the mbr to point to each one. In
the case of anrdoid, I just call it from the mbr.

TorstenS

unread,
Aug 15, 2011, 4:42:47 AM8/15/11
to Android-x86


On 14 Aug., 12:59, fuzzy7k <kvan...@gmail.com> wrote:
> > Wouldn't it be much nicer if you don't have to dual-boot but if you
> > could just switch between Ubuntu and Android while your system is
> > running?
>
> That's called a VM
>

Not necessarily:

* http://code.google.com/p/android-cruft/wiki/LucidWithAndroid
* https://blueprints.launchpad.net/ubuntu/+spec/mobile-karmic-android-execution-environment

I think none of this is really ready for prime time yet, i.e.
available as a downloadable image which you would want to use for your
daily work. But as one way of viewing Android is just another
userland / UI on top of the Linux kernel, why not run Android and
Ubuntu or any other Linux at the same time inside the same kernel.
Especially given the recent advances in Linux kernel virtualization,
this shouldn't be rocket science after all IMO. Imagine you'd swipe
your home screens on our tablet and one of them just is Gnome / KDE /
Unity / <your preferred desktop here>.

This is an entirely different approach than a VM as the fun would for
sure be integration of your data, for example.

I mean, right now, it's just a concept, but I would like to find out
why it shouldn't be possible.

Regards,
Torsten

Ollie

unread,
Aug 15, 2011, 6:44:23 PM8/15/11
to Android-x86
Right, I've installed Android-x86 after installing Ubuntu but when I
go to update grub using "sudo update-grub" command, it still doesn't
find it. I've given it a custom menu entry similar to the one in this
guide:

http://pundiramit.blogspot.com/2011/08/dual-booting-android-x86-and-ubuntu.html

The menu entry itself is there, but when I select it from the grub
menu it gives me this error:
error: file not found.
error: you need to load the kernel first.

Any help anyone?

On Aug 14, 10:26 am, "amoghharish...@gmail.com"

Amit Pundir

unread,
Aug 16, 2011, 2:38:38 AM8/16/11
to andro...@googlegroups.com
On Tue, Aug 16, 2011 at 4:14 AM, Ollie <ojre...@gmail.com> wrote:
Right, I've installed Android-x86 after installing Ubuntu but when I
go to update grub using "sudo update-grub" command, it still doesn't
find it. I've given it a custom menu entry similar to the one in this
guide:

http://pundiramit.blogspot.com/2011/08/dual-booting-android-x86-and-ubuntu.html


wow this is quick. I wrote that blog yesterday only.
 
The menu entry itself is there, but when I select it from the grub
menu it gives me this error:
error: file not found.
error: you need to load the kernel first.

Any help anyone?


I too got the same error. It could be because of any one or both of the following reasons.

1) Mount the Android-X86 partition on Ubuntu machine and check the directory structure. In my case there were three directories in that partition:

--> "grub" which will contain your pre-installed Grub if you chose to install it.
--> "lost+found" for regular recovery stuff.
--> "android-2011-08-15" which corresponds to android-yyyy-mm-dd format. This directory will contain Android-X86 kernel, initrd.img and basic Rootfs. If you do not set this path correctly in your customized menu entry then you will get the "file not found" error. Make sure you are setting the correct Path of images.

2) You are not setting the correct root device. Lets suppose you installed Android-X86 on 2nd partition (e.g. /dev/sdX2) of your hard-disk. Then you need to set root='(hdY,1)' if using Ubuntu <=10.04 or root='(hdY,msdos2)' if using Ubuntu-10.10 in your customized menu entry.

Hope this will help.

Regards,
Amit Pundir
http://arowboat.org
 
Reply all
Reply to author
Forward
0 new messages