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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
A quick guide on how to use Group Policy to create a custom power plan and set it active on Windows 7.
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…

914 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now