?
Solved

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

Posted on 2011-03-01
3
Medium Priority
?
2,811 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 2000 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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone 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

When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
There is a lot to be said for protecting yourself and your accounts with 2 factor authentication.  I found to my own chagrin, that there is a big downside as well.
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
Suggested Courses
Course of the Month12 days, 18 hours left to enroll

777 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