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,632 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 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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

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…
Here, we have shared an easy step by step tutorial on how to download instagram images and videos on PC, Android Mobile and iOS mobile.
This Micro Tutorial will teach you how to the overview of Microsoft Security Essentials. This is a free anti-virus software that guards your PC against viruses, spyware, worms, and other malicious software. This will be demonstrated using Windows…
This Micro Tutorial will teach you how to change your appearance and customize your Windows 7 interface to your unique preference. This will be demonstrated using Windows 7 operating system.

832 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