Solved

How do I change grub dual boot default from Android to windows 7 on a Viewpad 10

Posted on 2011-03-01
3
2,754 Views
Last Modified: 2013-11-15
I have a Viewsonic Viewpad 10, which dual boots into Android-x86 1.6 or windows 7. It defaults to booting into Android and I would like it to either default to booting into Windows or to default to booting into whatever it booted last. It uses Grub for its boot menu. I have found info on changing defaults both on the web and EE but they talk about a file in a 'boot' folder in ubuntu. I dont have ubuntu, just Windows 7 and Android 1.6.
The boot menu gives the options of pressing 'e' to edit the commands or 'c' for a command line. can thedefaults be set using either or those option?
0
Comment
Question by:rgss
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 35

Expert Comment

by:torimar
ID: 35013535
No.
You can only temporarily edit in the Grub command line. Whatever you do there, it will only be valid for the present boot process.

If you wish to change the boot preference, you will have to edit a file inside Android.
To my knowledge, Android still uses the old Grub Legacy, so the editing should be easy:
-Find the file /boot/grub/menu.lst and open it in an editor.
-Look for a line like
 default 0
-The number behind default refers to the entry in the boot menu, beginning with '0' for the first entry.
-Set this to reflect your preferred entry
-Save the file

Note: Be very careful when editing; a misconfigured menu.lst will make your system temporarily unbootable. Best would be to first make a backup copy of the existing file before editing; you can do this with this command on the terminal:
cp /boot/grub/menu.lst /boot/grub/menu.backup
0
 
LVL 35

Accepted Solution

by:
torimar earned 500 total points
ID: 35013602
Since I don't run Android myself, I had to do some more research.
It seems to differ somehow from other Linux flavours.

You may not find the menu.lst file in /boot/grub, but in /grub.
If you still can't find or edit the file, check whether this thread (see post 3 and 4) might help:
http://groups.google.com/group/android-x86/browse_thread/thread/f2037c1232cdbc8f/a8a4ac901034c8b2?#a8a4ac901034c8b2
0
 
LVL 1

Author Comment

by:rgss
ID: 35024160
Yeah, the instructions in that post worked. Thanks very much.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this post we will learn different types of Android Layout and some basics of an Android App.
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
This Micro Tutorial will give you a basic overview of Windows Live Photo Gallery and show you various editing filters and touches to photos you can apply. This will be demonstrated using Windows Live Photo Gallery on Windows 7 operating system.
This video is in connection to the article "The case of a missing mobile phone (https://www.experts-exchange.com/articles/28474/The-Case-of-a-Missing-Mobile-Phone.html)". It will help one to understand clearly the steps to track a lost android phone.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question