Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 23rd May 2012, 05:38 PM
boarder428's Avatar
boarder428 Offline
Registered User
 
Join Date: Apr 2009
Posts: 51
linuxfirefox
Question Change boot order F16

Hello, been a while since I used Fedora, having trouble changing the boot order between windows and Fedora. from root gedit/boot/grub2/grub.cfg is not working for me as well as manually thru gedit. I don't seem to have the right priveleges. Can someone point me in the right direction to get the grub menu edited in Fedora?
Reply With Quote
  #2  
Old 23rd May 2012, 06:50 PM
nonamedotc's Avatar
nonamedotc Offline
Formerly known as"professorrmd"
 
Join Date: Mar 2011
Posts: 2,615
linuxfirefox
Re: Change boot order F16

Here is an excellent guide for GRUB 2. In this you can find how to change the boot order. Hope this helps.
Reply With Quote
  #3  
Old 23rd May 2012, 07:20 PM
boarder428's Avatar
boarder428 Offline
Registered User
 
Join Date: Apr 2009
Posts: 51
linuxfirefox
Question Re: Change boot order F16

Quote:
Originally Posted by nonamedotc View Post
Here is an excellent guide for GRUB 2. In this you can find how to change the boot order. Hope this helps.
That's a great tutorial if using ubuntu but thats not the problem i'm having. I can't seem to open anything in Fedora, I'm guessing it has something to do with permissions. Fedora used to have a way to change boot order without editing the grub menu, is this still an option?

Here's an example of the problem i'm having
Code:
[root@Acer5515 corey]# gedit /etc/default/grub

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


** (gedit:2614): WARNING **: Could not connect to session bus
[root@Acer5515 corey]#
Reply With Quote
  #4  
Old 23rd May 2012, 07:25 PM
dsmithhfx Offline
Registered User
 
Join Date: Apr 2008
Posts: 87
macosfirefox
Re: Change boot order F16

You might be able to bypass the permissions problem by booting from a livecd.
Reply With Quote
  #5  
Old 23rd May 2012, 08:44 PM
nonamedotc's Avatar
nonamedotc Offline
Formerly known as"professorrmd"
 
Join Date: Mar 2011
Posts: 2,615
linuxfirefox
Re: Change boot order F16

Well, why don't you look at this thread? This deals with getting graphical user programs to show up when opening as root. It does not seem to be a permissions issue to me.

That might answer some of your concerns.
Reply With Quote
  #6  
Old 23rd May 2012, 08:46 PM
boarder428's Avatar
boarder428 Offline
Registered User
 
Join Date: Apr 2009
Posts: 51
linuxfirefox
Wink Re: Change boot order F16

Quote:
Originally Posted by dsmithhfx View Post
You might be able to bypass the permissions problem by booting from a livecd.
Thanks, I'll try that if all else fails. I've been using ubuntu for so long and I've never had a problem changing the boot order so I know it's something stupid. I just don't care much for the look of Unity and I really like the new look of Fedora so I want to give it a run!
Reply With Quote
  #7  
Old 24th May 2012, 09:08 AM
george_toolan Offline
Registered User
 
Join Date: Dec 2006
Posts: 1,717
linuxfirefox
Re: Change boot order F16

Try

Code:
vi /etc/default/grub
Reply With Quote
  #8  
Old 24th May 2012, 08:34 PM
boarder428's Avatar
boarder428 Offline
Registered User
 
Join Date: Apr 2009
Posts: 51
linuxfirefox
Question Re: Change boot order F16

Quote:
Originally Posted by george_toolan View Post
Try

Code:
vi /etc/default/grub
Ok, vi got the file editied but I cannot get the update grub command to work and it still boots into the first grub entry. This should'nt be this hard, I have never had any problems changing this in ubuntu, nor have I ever had to use vi to edit grub entries. What the heck is the deal here?
Code:
[root@Acer5515 corey]# vi /etc/default/grub
[root@Acer5515 corey]# update-grub
bash: update-grub: command not found...
[root@Acer5515 corey]# su update-grub
su: user update-grub does not exist
[root@Acer5515 corey]# sudo update-grub
sudo: update-grub: command not found
[root@Acer5515 corey]# su - update-grub
su: user update-grub does not exist
[root@Acer5515 corey]# update-grub2
bash: update-grub2: command not found...
[root@Acer5515 corey]#
Reply With Quote
  #9  
Old 25th May 2012, 01:40 AM
sea's Avatar
sea Offline
"Shells" (of a sub world)
 
Join Date: May 2011
Location: Helvetic Federation (Swissh)
Age: 33
Posts: 2,602
linuxchrome
Re: Change boot order F16

The dbus problem, probably no xorg-x11-xinit-session?
Or even simpler, even as root, call it with: sudo gedit /etc/default/grub, might solve the issue.

Run as root:
Code:
grub2-mkconfig -o /boot/grub2/grub.cfg
__________________
Fedora Manual: http://docs.fedoraproject.org
Script-Tools: https://sourceforge.net/projects/script-tools/
sudo st tweak repo toggle fedora-rawhide ; st iso dl-fed -respin && st iso usb
Reply With Quote
  #10  
Old 25th May 2012, 01:44 AM
glennzo's Avatar
glennzo Online
Un-Retired Administrator
 
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,929
windows_7firefox
Re: Change boot order F16

update-grub? That is Ubuntu.

This is Fedora ...

PHP Code:
sudo grub2-mkconfig -/boot/grub2/grub.cfg 
or
PHP Code:
su -'grub2-mkconfig -o /boot/grub2/grub.cfg' 
or
PHP Code:
su
<password>
grub2-mkconfig -/boot/grub2/grub.cfg 
__________________
Glenn
The Bassinator © ®


Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
Reply With Quote
  #11  
Old 25th May 2012, 05:28 AM
boarder428's Avatar
boarder428 Offline
Registered User
 
Join Date: Apr 2009
Posts: 51
linuxfirefox
Re: Change boot order F16

Thanks Sea and Glennzo, those answers were exactly what I was looking for!
Reply With Quote
  #12  
Old 25th May 2012, 02:46 PM
AceRoom's Avatar
AceRoom Offline
Registered User
 
Join Date: May 2010
Location: Bangalore, India
Posts: 209
linuxchrome
Re: Change boot order F16

Though the earlier method was to edit the grub file, if you go through this page, there is a much nicer way of doing it.
http://fedoraproject.org/wiki/GRUB_2..._default_entry

So as root:
Code:
grub2-mkconfig -o /boot/grub2/grub.cfg
grep menuentry /boot/grub2/grub.cfg
This output gives me:
Code:
menuentry 'Fedora Linux, with Linux 3.3.2-1.fc16.i686' --class fedora --class gnu-linux --class gnu --class os {
menuentry 'Fedora Linux, with Linux 3.3.2-1.fc16.i686 (recovery mode)' --class fedora --class gnu-linux --class gnu --class os {
menuentry "Windows Recovery Environment (loader) (on /dev/sda1)" --class windows --class os {
menuentry "Ubuntu, with Linux 3.2.0-23-generic (on /dev/sda9)" --class gnu-linux --class gnu --class os {
menuentry "Ubuntu, with Linux 3.2.0-23-generic (recovery mode) (on /dev/sda9)" --class gnu-linux --class gnu --class os {
Copy the desired title including the quotes. For this example, let's take the Windows entry. In my case it's:
"Windows Recovery Environment (loader) (on /dev/sda1)"

Then execute:
Code:
grub2-set-default "Windows Recovery Environment (loader) (on /dev/sda1)"
This method avoids a lot of hassle (of counting the entries ).
__________________
Fedora 17 (Beefy Miracle) | Windows 7 Professional | Linux Mint 13 Cinnamon (Maya)
Reply With Quote
  #13  
Old 25th May 2012, 03:07 PM
boarder428's Avatar
boarder428 Offline
Registered User
 
Join Date: Apr 2009
Posts: 51
linuxsafari
Thumbs up Re: Change boot order F16

Quote:
Originally Posted by AceRoom View Post
Though the earlier method was to edit the grub file, if you go through this page, there is a much nicer way of doing it.
http://fedoraproject.org/wiki/GRUB_2..._default_entry

So as root:
Code:
grub2-mkconfig -o /boot/grub2/grub.cfg
grep menuentry /boot/grub2/grub.cfg
This output gives me:
Code:
menuentry 'Fedora Linux, with Linux 3.3.2-1.fc16.i686' --class fedora --class gnu-linux --class gnu --class os {
menuentry 'Fedora Linux, with Linux 3.3.2-1.fc16.i686 (recovery mode)' --class fedora --class gnu-linux --class gnu --class os {
menuentry "Windows Recovery Environment (loader) (on /dev/sda1)" --class windows --class os {
menuentry "Ubuntu, with Linux 3.2.0-23-generic (on /dev/sda9)" --class gnu-linux --class gnu --class os {
menuentry "Ubuntu, with Linux 3.2.0-23-generic (recovery mode) (on /dev/sda9)" --class gnu-linux --class gnu --class os {
Copy the desired title including the quotes. For this example, let's take the Windows entry. In my case it's:
"Windows Recovery Environment (loader) (on /dev/sda1)"

Then execute:
Code:
grub2-set-default "Windows Recovery Environment (loader) (on /dev/sda1)"
This method avoids a lot of hassle (of counting the entries ).
Very usefull, thanks alot!
Reply With Quote
  #14  
Old 25th May 2012, 05:38 PM
sea's Avatar
sea Offline
"Shells" (of a sub world)
 
Join Date: May 2011
Location: Helvetic Federation (Swissh)
Age: 33
Posts: 2,602
linuxchrome
Re: Change boot order F16

Just comes in mind, to change your default menu entry to boot, have a look at this:

/etc/default/grub
GRUB_DEFAULT=N

Where N is any number from 0 (the first entry) to NN (the maximum menu entries, fallback counts as well).
__________________
Fedora Manual: http://docs.fedoraproject.org
Script-Tools: https://sourceforge.net/projects/script-tools/
sudo st tweak repo toggle fedora-rawhide ; st iso dl-fed -respin && st iso usb
Reply With Quote
  #15  
Old 25th May 2012, 06:03 PM
boarder428's Avatar
boarder428 Offline
Registered User
 
Join Date: Apr 2009
Posts: 51
linuxsafari
Re: Change boot order F16

Quote:
Originally Posted by sea View Post
Just comes in mind, to change your default menu entry to boot, have a look at this:

/etc/default/grub
GRUB_DEFAULT=N

Where N is any number from 0 (the first entry) to NN (the maximum menu entries, fallback counts as well).

Yes, that's what I was doing after I figured out how to edit the file in Fedora, I just did'nt know the correct command to get the grub.cfg file to update in Fedora. I'm used to Ubuntu!
Reply With Quote
Reply

Tags
boot, change, f16, order

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to change boot order? MattQ Using Fedora 5 16th June 2011 06:38 PM
change order OSs boot please help me! Using Fedora 6 24th March 2007 04:09 PM
how to change the boot order ..pls help! ganeshnayakm Using Fedora 2 17th October 2006 06:02 PM
Change boot order? spirou Using Fedora 3 5th December 2005 07:19 AM


Current GMT-time: 20:38 (Tuesday, 21-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat