LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 03-15-2007, 10:01 PM   #1
mitchell7man
Member
 
Registered: Jan 2007
Location: Provo, UT
Distribution: OSX - Fedora
Posts: 458

Rep: Reputation: 31
Change grub to make XP primary?


Hello, I dual boot Windows Xp and Ubuntu Edgy, my question is can you change grub so that when I turn on my PC, it automatically boots into windows XP, so that i don't have to hastle with that seeing that I use it more than UBUNTU, and that way, i only have to pick an os when i wan't to use Ubuntu?, Any ideas?, MJ
 
Old 03-15-2007, 10:10 PM   #2
jay73
Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
You need to edit GRUB. At the top of the file /boot/grub/menu.lst there are two values:
timeout
default

If you set timeout (I think that that's what it's called) to a negative value, eg -1, GRUB won't boot anything and it will nicely wait until you pick an OS yourself.

If you do want GRUB to boot an OS for you, you need to adjust the value of default. If it is set to 0, it will automatically boot the 1st OS that appears in the menu.lst; if you change it to 1, it will boot the second one on the list.
 
Old 03-15-2007, 11:34 PM   #3
mitchell7man
Member
 
Registered: Jan 2007
Location: Provo, UT
Distribution: OSX - Fedora
Posts: 458

Original Poster
Rep: Reputation: 31
HEllo, today I have seen this in changes I have tried to make, when i try to save files it says i do not have permissions and that I am not owner, I am the only user on this system what do I do? I have tryed "su -", but i get an error saying authentication failure, don't know what to do, cuz i use my user password(I am the only user), is there some default password or something i don;'t know about?
 
Old 03-16-2007, 12:58 AM   #4
jay73
Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
So you've been running Ubuntu without knowing the root password? Gee, no wonder you like windows better because you can't really do much without it. Unless you use sudo. If you try to execute a command and you get told you haven't got the right permissions, just repeat the command preceded by sudo, like this:

sudo [command]

If that doesn't help, you can always have a look at this:

http://fab.cba.mit.edu/central/?q=fo...ations_help/87
 
Old 03-16-2007, 06:58 PM   #5
mitchell7man
Member
 
Registered: Jan 2007
Location: Provo, UT
Distribution: OSX - Fedora
Posts: 458

Original Poster
Rep: Reputation: 31
I followed the link you gave me, and it worked perfectly, now i have access to the root account, thanks
MJ
 
  


Reply

Tags
dual boot, grub, rootpasswordetc, ubuntu, xp


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 do I change a user's primary group? Akhran Linux - Newbie 4 03-19-2010 08:54 PM
ATI 9600xt: how to change primary display? J_Szucs Linux - Hardware 0 03-30-2006 12:45 AM
Change my primary soundcard Zero007 Linux - Hardware 2 09-13-2004 10:52 PM
How to change primary boot option BW~Merlin Linux - Newbie 6 07-23-2004 06:46 AM
How to change primary monitor on thinkpad - SuSE 9.1 phands Linux - Laptop and Netbook 0 07-14-2004 08:45 AM


All times are GMT -5. The time now is 05:14 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration