LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 03-22-2012, 01:42 AM   #1
anilbh
Member
 
Registered: Oct 2005
Location: India
Distribution: Proud User Fedora FC5/ Fedora 7 /Ubunt 7.10
Posts: 188

Rep: Reputation: 30
Ubuntu 11.10 - Want to change grub boot order


I upgraded from Ubuntu 9.1 ...
this much I know .
I need to have root permissions to modify grub.cfg.
However I just cannot login as root . When asked for the password I get 'not authencated'. There was only one account created and I set a password for that . The same password does not work.

I even tried recovery mode. Still I cannot get the necessary permissions.
 
Old 03-22-2012, 02:25 AM   #2
ukiuki
Senior Member
 
Registered: May 2010
Location: Planet Earth
Distribution: Debian
Posts: 1,030

Rep: Reputation: 385Reputation: 385Reputation: 385Reputation: 385
You can't log in the GUI as root in Ubuntu(unless you changed it while installing the system), so you log as normal user open the terminal and use the command sudo before the command that you need to run as root and then enter your user password. I hope this helps.

Regards
 
1 members found this post helpful.
Old 03-22-2012, 02:31 AM   #3
ochienged
Member
 
Registered: Oct 2007
Location: Plano, TX
Distribution: Fedora, CentOS, RHEL, Debian
Posts: 70

Rep: Reputation: 26
I don't run Ubuntu however, I will still try and be of help. I believe from Ubuntu 10.10 root access to the box was disabled by default however, it is still enable it. The first user account however, normally has sudo access. So you can run administrative commands by pre-pending sudo e.g.
Quote:
sudo vi /etc/grub.cfg
Alternatively, you can choose to log in as root as shown below
Quote:
sudo su -
Working as root however, will be a challenge as the environment variables for this user are not set. Running the commands via sudo would be a preferred approach.

Assuming grub2 is installed - formerly grub config was /etc/grub.conf, you are advised not to edit /etc/grub.cfg as this will be re-generated on kernel updates and I guess on reboot as well. Not certain of the latter. To make your desired changes persistent, do so from /etc/default/ filesystem. You will likely find some grub configuration file there.

Last edited by ochienged; 03-22-2012 at 02:33 AM.
 
1 members found this post helpful.
Old 03-22-2012, 03:20 AM   #4
anilbh
Member
 
Registered: Oct 2005
Location: India
Distribution: Proud User Fedora FC5/ Fedora 7 /Ubunt 7.10
Posts: 188

Original Poster
Rep: Reputation: 30
Thank you!! Thank you!!
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Change Grub Boot Order Johnny Faster Ubuntu 15 02-05-2010 12:14 PM
How to easily change the GRUB OS boot order. corax57 Linux - General 1 02-03-2010 11:10 PM
How to change the order of OSs in the grub boot menu? lifeisgood Linux - Newbie 3 10-17-2008 11:15 AM
Change boot order in grub.conf file lmcilwain Fedora 3 07-12-2006 12:33 AM
Change the boot order in grub buster_balz Linux - Newbie 2 12-23-2004 11:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 08:04 AM.

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