[SOLVED] How to add windows 8.1 to linux boot menu.
CentOSThis forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
and it pick up windows 8 but it doesn't show up in the boot menu.
then i ran the command
Code:
grub2-mkconfig -o /boot/grub/grub.cfg
,then too the boot sreen wouldn't show windows eight.
should i copy the menu entry for windows8 as it appears after the grub2-mkconfig command is run.
I don't understand what went wrong with the second attempt you just described. (I assume you already understand what went wrong when you didn't have grub2-mkconfig store its output in the right place).
Whatever went wrong, won't be fixed by copying that menu entry. If I understand your intent, you would be copying it from the output of grub2-mkconfig back to the input of grub2-mkconfig (which would not be at all helpful).
What do you mean by "boot screen wouldn't show windows"? (How experienced are you with grub?)
The default for grub may not be showing any menu at all. You might need to press a key at the appropriate moment during startup to even see the menu (or you could change some other setting to make displaying the menu be automatic).
Mainly I'm saying that before someone helps you understand why you don't see the Windows line of the grub menu, it would help to be sure you are seeing a grub menu at all.
I don't understand what went wrong with the second attempt you just described. (I assume you already understand what went wrong when you didn't have grub2-mkconfig store its output in the right place).
would this command store the output in the right place that is in '/etc/grub2.cfg':
edit the GRUB_DEFAULT line /etc/default/grub I don't remember if it counts from zero or one to the menu entry you want for the default. I think you can set it to menuentry name also.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.