Ask Your Question

Fedora 18 grub setting

asked 2013-02-10 10:41:20 -0500

chlebta gravatar image

updated 2014-09-30 06:39:24 -0500

mether gravatar image

I got Fedora 18 and Windows 7 installed on the same machine, and I want to change Default boot time from 3sec to 7sec also and the default start-up systems windows 7. I have used this commande :

gedit /etc/default/grub

And I have edited the file like this :

GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=”Windows 7 (loader) on /dev/sda1″
GRUB_CMDLINE_LINUX=" nomodeset $([ -x /usr/sbin/rhcrashkernel-param ] && /usr/sbin/rhcrashkernel-param || :) vconsole.keymap=fr rd.luks=0 rhgb quiet"

But it hasn't worked. Any one tell me what's the problem?

edit retag flag offensive close merge delete



Did you run "grub2-mkconfig -o /boot/grub2/grub.cfg" after changing those settings?

skytux gravatar imageskytux ( 2013-02-10 13:12:26 -0500 )edit

4 Answers

Sort by » oldest newest most voted

answered 2013-02-20 08:49:53 -0500

Akshay gravatar image

after making changes in the /etc/defaults/grub

update the grub with :

sudo grub2-mkconfig -o /boot/grub2/grub.cfg
edit flag offensive delete link more


ahaha... what is the purpose of giving the same answer twice? :)

skytux gravatar imageskytux ( 2013-02-20 08:55:07 -0500 )edit

@skytux oh it was in comment....missed that :)

Akshay gravatar imageAkshay ( 2013-02-20 09:53:32 -0500 )edit

answered 2013-02-20 08:42:09 -0500

ztank1013 gravatar image
edit flag offensive delete link more

answered 2013-02-19 12:42:01 -0500

PaulCarroty gravatar image

man vi, man nano

edit flag offensive delete link more

answered 2013-02-19 12:03:19 -0500

i couldn even run "gedit /etc/default/grub" command i wrote su and my password

then in etc\default folder i wrote "gedit /grub"

[root@new-host default]# gedit /grub

(gedit:3682): EggSMClient-WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported

* (gedit:3682): WARNING *: Could not connect to session bus

what should i do. i want to chance default to windows 7

edit flag offensive delete link more


use vim to edit files as root

skytux gravatar imageskytux ( 2013-02-19 12:42:53 -0500 )edit

Question Tools


Asked: 2013-02-10 10:41:20 -0500

Seen: 15,422 times

Last updated: Feb 20 '13