Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-20-2017, 06:39 AM   #1
Registered: Sep 2013
Location: Inner Mongolia
Distribution: Linux Mint 17, Peppermint 6, others
Posts: 34

Rep: Reputation: Disabled
Set root in GRUB with mmcblkpX (boot Android)

I am trying to boot Android from GRUB on a Chinese tablet (CUBE iWork10). It is a dual boot Android/Windows. Android has stopped booting.

I've installed Ubuntu Kylin 16.10 and now have a dual OS with Windows and Ubuntu instead of Windows and Android. I'm trying to recover Android and be left with a triple boot.

I've installed Android x86 6.0 on the same mmcblk partition that originally had Android. It does not appear when I update GRUB.

I have looked at the grub.cfg file that comes with the installation iso, and I've looked at the menu.lst file that is generated during the installation. I've also looked at the grub.cfg file for Kylin and the entries for Windows and Kylin.

I have tried to Frankenstein the correct GRUB entry.

One problem may be setting the root directory. There is no hard drive, so there is no /dev/sdx,x or "(hdx,x)" There are only mmcblk partitions.

So, I think the questions I should be asking are:

How do I set the root directory when my "hard drive" is effectively an SD memory card?

Is there some secret to naming the Linux and initrd files that makes them easier for an update-grub to detect? I've learned that just putting the correct names in the GRUB menuentry isn't always enough.

Thanks in advance for any insight into any of this.
Old 04-21-2017, 03:32 AM   #2
Registered: Sep 2013
Location: Inner Mongolia
Distribution: Linux Mint 17, Peppermint 6, others
Posts: 34

Original Poster
Rep: Reputation: Disabled
Floppy McDisk inspired the solution

Floppy installed Android on an SD card and while booting that installation found the hard drive installation.

The Android installer did not find my SD card. So, I used my data flash drive. That worked. I cut and pasted the menuentry to my Ubuntu GRUB menu.

When I clicked on it, it found the mmcblk installation.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Dual-boot Manjaro & Android X86, GRUB not cooperating FloppyMcDisk Linux - Software 9 03-25-2016 07:15 AM
grub 2 - when / why I need both in grub.cfg ; set root= and search ... --set=root ... masuch Linux - Newbie 5 07-19-2012 03:41 PM
8.4. Using GRUB to Set Up the Boot Process exvor Linux From Scratch 1 06-10-2010 06:44 PM
How to set Grub not to auto boot any OS without Grub Boot menu shown ussr_1991 Linux - Software 2 09-01-2007 08:36 AM
How to set grub with dual boot openfun Ubuntu 4 05-30-2005 03:40 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:27 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration