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

23rd May 2012, 05:38 PM
|
 |
Registered User
|
|
Join Date: Apr 2009
Posts: 51

|
|
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?
|

23rd May 2012, 06:50 PM
|
 |
Formerly known as"professorrmd"
|
|
Join Date: Mar 2011
Posts: 2,615

|
|
|
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.
|

23rd May 2012, 07:20 PM
|
 |
Registered User
|
|
Join Date: Apr 2009
Posts: 51

|
|
Re: Change boot order F16
Quote:
Originally Posted by nonamedotc
|
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]#
|

23rd May 2012, 07:25 PM
|
|
Registered User
|
|
Join Date: Apr 2008
Posts: 87

|
|
|
Re: Change boot order F16
You might be able to bypass the permissions problem by booting from a livecd.
|

23rd May 2012, 08:44 PM
|
 |
Formerly known as"professorrmd"
|
|
Join Date: Mar 2011
Posts: 2,615

|
|
|
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.
|

23rd May 2012, 08:46 PM
|
 |
Registered User
|
|
Join Date: Apr 2009
Posts: 51

|
|
Re: Change boot order F16
Quote:
Originally Posted by dsmithhfx
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!
|

24th May 2012, 09:08 AM
|
|
Registered User
|
|
Join Date: Dec 2006
Posts: 1,717

|
|
|
Re: Change boot order F16
Try
Code:
vi /etc/default/grub
|

24th May 2012, 08:34 PM
|
 |
Registered User
|
|
Join Date: Apr 2009
Posts: 51

|
|
Re: Change boot order F16
Quote:
Originally Posted by george_toolan
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]#
|

25th May 2012, 01:40 AM
|
 |
"Shells" (of a sub world)
|
|
Join Date: May 2011
Location: Helvetic Federation (Swissh)
Age: 33
Posts: 2,602

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

25th May 2012, 01:44 AM
|
 |
Un-Retired Administrator
|
|
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,929

|
|
|
Re: Change boot order F16
update-grub? That is Ubuntu.
This is Fedora ...
PHP Code:
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
or
PHP Code:
su -c 'grub2-mkconfig -o /boot/grub2/grub.cfg'
or
PHP Code:
su <password> grub2-mkconfig -o /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
|

25th May 2012, 05:28 AM
|
 |
Registered User
|
|
Join Date: Apr 2009
Posts: 51

|
|
|
Re: Change boot order F16
Thanks Sea and Glennzo, those answers were exactly what I was looking for!
|

25th May 2012, 02:46 PM
|
 |
Registered User
|
|
Join Date: May 2010
Location: Bangalore, India
Posts: 209

|
|
|
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)
|

25th May 2012, 03:07 PM
|
 |
Registered User
|
|
Join Date: Apr 2009
Posts: 51

|
|
Re: Change boot order F16
Quote:
Originally Posted by AceRoom
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!
|

25th May 2012, 05:38 PM
|
 |
"Shells" (of a sub world)
|
|
Join Date: May 2011
Location: Helvetic Federation (Swissh)
Age: 33
Posts: 2,602

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

25th May 2012, 06:03 PM
|
 |
Registered User
|
|
Join Date: Apr 2009
Posts: 51

|
|
|
Re: Change boot order F16
Quote:
Originally Posted by sea
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!
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 20:38 (Tuesday, 21-05-2013)
|
|
 |
 |
 |
 |
|
|