?
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,995 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
  • 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Often, people trade privacy and security for convenience. However in today's concrete jungle, this is an extremely foolish decision considering the vast amount of technologies being used against consumer interest. First off, I won't waste any time e…
Unable to change the program that handles the scan event from a network attached Canon/Brother printer/scanner. This means you'll always have to choose which program handles this action, e.g. ControlCenter4 (in the case of a Brother).
This Micro Tutorial will give you basic overview of the control panel section on Windows 7. It will depth in Network and Internet, Hardware and Sound, etc. This will be demonstrated using Windows 7 operating system.
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Suggested Courses

809 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