LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 03-23-2015, 10:55 AM   #16
vinay45
Member
 
Registered: Mar 2015
Location: india
Distribution: ubuntu
Posts: 48

Original Poster
Rep: Reputation: Disabled

ntfs-3g is installed now the grub2-mkconfig command is working.should i add the menuentry to:
Code:
/etc/grub.d/40_custom
i removed the entry i made in 40_custom after installing
Code:
yum install epel-release
yum install ntfs-3g
should i add the menu entry to '40_custom' or run grub2-mkconfig command.
 
Old 03-23-2015, 10:58 AM   #17
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
run grub2-mkconfig and see if it picks up windows, if not then make the 40-custom entry then rerun grub2-mkconfig
 
Old 03-23-2015, 11:28 AM   #18
vinay45
Member
 
Registered: Mar 2015
Location: india
Distribution: ubuntu
Posts: 48

Original Poster
Rep: Reputation: Disabled
i ran
Code:
grub2-mkconfig
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.
 
Old 03-23-2015, 11:37 AM   #19
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
Quote:
Originally Posted by vinay45 View Post
i ran
Code:
grub2-mkconfig
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.

Last edited by johnsfine; 03-23-2015 at 11:41 AM.
 
1 members found this post helpful.
Old 03-24-2015, 02:29 AM   #20
vinay45
Member
 
Registered: Mar 2015
Location: india
Distribution: ubuntu
Posts: 48

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by johnsfine View Post

What do you mean by "boot screen wouldn't show windows"? (How experienced are you with grub?)

.
I meant the after running the 'grub2-mkconfig" command the grub menu list was supposed to be updated right?(i am only sparingly experienced with grub)

Last edited by vinay45; 03-24-2015 at 03:04 AM.
 
Old 03-24-2015, 03:07 AM   #21
vinay45
Member
 
Registered: Mar 2015
Location: india
Distribution: ubuntu
Posts: 48

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by johnsfine View Post
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':
Code:
grub2-mkconfig -o /etc/grub2.cfg
 
Old 03-24-2015, 05:22 AM   #22
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
should be
Code:
grub2-mkconfig -o /boot/grub2/grub.cfg
If I'm not mistaken.
 
1 members found this post helpful.
Old 03-24-2015, 07:57 AM   #23
vinay45
Member
 
Registered: Mar 2015
Location: india
Distribution: ubuntu
Posts: 48

Original Poster
Rep: Reputation: Disabled
no your not mistaken it worked.thanks everyone.
 
Old 03-24-2015, 08:34 AM   #24
vinay45
Member
 
Registered: Mar 2015
Location: india
Distribution: ubuntu
Posts: 48

Original Poster
Rep: Reputation: Disabled
how do i make the windows8 entry in the grub list first so that it boot up after the countdown.
 
Old 03-24-2015, 09:22 AM   #25
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
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.
 
Old 03-24-2015, 10:43 AM   #26
vinay45
Member
 
Registered: Mar 2015
Location: india
Distribution: ubuntu
Posts: 48

Original Poster
Rep: Reputation: Disabled
i opened the file and here whats set GRUB_DEFAULT=saved.should i replace the saved with the windows8 menu entry name?
 
Old 03-24-2015, 12:10 PM   #27
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
Yes, will be something like this
Code:
GRUB_DEFAULT=Windows 8 (loader) on /dev/sda1
What the menuentry for windows is label in your grub.cfg
then rerun
Code:
grub2-mkconfig -o /boot/grub2/grub.cfg

Last edited by colorpurple21859; 03-24-2015 at 12:11 PM.
 
Old 03-24-2015, 11:56 PM   #28
vinay45
Member
 
Registered: Mar 2015
Location: india
Distribution: ubuntu
Posts: 48

Original Poster
Rep: Reputation: Disabled
i changed it to,
Code:
GRUB_DEFAULT="Windows 8 (loader) (on dev/sda1)"
as
Code:
GRUB_DEFAULT=Windows 8 (loader) (on dev/sda1)
gave me a syntax error.
should i specify the number of the entry?

Last edited by vinay45; 03-25-2015 at 12:01 AM.
 
Old 03-25-2015, 05:08 AM   #29
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
Quote:
should i specify the number of the entry?
If the
Quote:
i changed it to,
Code:

GRUB_DEFAULT="Windows 8 (loader) (on dev/sda1)"
doesn't work
 
Old 03-26-2015, 04:28 AM   #30
vinay45
Member
 
Registered: Mar 2015
Location: india
Distribution: ubuntu
Posts: 48

Original Poster
Rep: Reputation: Disabled
It worked when
Quote:
GRUB_DEFAULT="2"
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How to add an entry for a Linux distribution in Windows’ boot menu LXer Syndicated Linux News 0 07-21-2012 08:32 PM
[SOLVED] Dual Boot 2 seperate Drives - Add option to Boot Menu? janap-146 Ubuntu 11 12-13-2009 08:28 AM
How can I see Linux on Windows boot menu? Mediterranean1024 Linux - General 3 05-08-2006 02:08 PM
GRUB - How to add Windows to boot menu? geekgyrrrl Linux - Newbie 4 06-04-2005 10:02 PM
try to boot windows, and the linux menu comes up Jon512 Linux - General 6 09-03-2003 08:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS

All times are GMT -5. The time now is 07:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration