LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-19-2004, 07:16 PM   #1
Alias5785
LQ Newbie
 
Registered: Sep 2004
Location: Dayton - Ohio
Distribution: Mandrake 10.0
Posts: 10

Rep: Reputation: 0
Problem With Grub, wrong partition.


Grub thinks that my windows install is on Partition 1, its on Partition 0. It will not allow me to change it. Is there anyway I can log in as root, and edit the menu.lst file manually? This is really bugging me.
 
Old 09-19-2004, 07:20 PM   #2
poveda
LQ Newbie
 
Registered: Sep 2004
Posts: 4

Rep: Reputation: 0
look for grub.conf it should be in /boot/grub/ and make your changes there.
 
Old 09-19-2004, 07:22 PM   #3
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
I'm slightly confused by your question, as you don't need to do anything special to edit menu.lst

simply login as root, and edit /boot/grub/menu.lst with whatever text editor you want.
 
Old 09-19-2004, 07:41 PM   #4
Alias5785
LQ Newbie
 
Registered: Sep 2004
Location: Dayton - Ohio
Distribution: Mandrake 10.0
Posts: 10

Original Poster
Rep: Reputation: 0
I don't know how to login as root. I can goto the console and:

Use the SU command
chown and change the owner to me. This allows me to change the atributes, but when I try to save iit cannot save.

You think you are confused? Try being me
 
Old 09-19-2004, 07:41 PM   #5
Alias5785
LQ Newbie
 
Registered: Sep 2004
Location: Dayton - Ohio
Distribution: Mandrake 10.0
Posts: 10

Original Poster
Rep: Reputation: 0
Useing Mandrake 10 by the way.
 
Old 09-19-2004, 07:47 PM   #6
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
So your suing to root, with the root password, but can't save the file?

You can also login as root, just use root as your user name and your root password.
 
Old 09-19-2004, 08:19 PM   #7
Alias5785
LQ Newbie
 
Registered: Sep 2004
Location: Dayton - Ohio
Distribution: Mandrake 10.0
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by leonscape
So your suing to root, with the root password, but can't save the file?

You can also login as root, just use root as your user name and your root password.
It doesn't give me an option when I log in, just an image with my user name. Does it matter that I can only run in failsafe mode?
 
Old 09-19-2004, 08:21 PM   #8
alyks
LQ Newbie
 
Registered: Sep 2004
Location: castaic, california
Distribution: at the moment, debian
Posts: 25

Rep: Reputation: 15
just go into the console, type "su" then your root pass
then open the grub.conf in an editor
 
Old 09-19-2004, 08:22 PM   #9
alyks
LQ Newbie
 
Registered: Sep 2004
Location: castaic, california
Distribution: at the moment, debian
Posts: 25

Rep: Reputation: 15
wait, what error do you get?
 
Old 09-20-2004, 02:23 AM   #10
Alias5785
LQ Newbie
 
Registered: Sep 2004
Location: Dayton - Ohio
Distribution: Mandrake 10.0
Posts: 10

Original Poster
Rep: Reputation: 0
Reinstalled XP and Mandrake. Works fine now. I had a few problems with it hanging at 28% when loading KDE though.
 
  


Reply


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
Added second harddrive as a partition, but now the partition size is wrong.. mlsbraves Linux - General 5 08-17-2005 09:10 PM
Grub Error 17: Cannot mount selected partition and other Grub problems Sebastian Naitsabes Linux - General 1 07-05-2005 09:33 AM
Something wrong with GRUB Cybes51 Linux - Software 13 03-16-2005 07:22 PM
problem w/ Grub booting a Win XP Partition RacerD Linux - Newbie 15 04-16-2004 02:02 AM
Grub wrong can't boot *anything* Bruce Hill Linux - Newbie 3 07-23-2003 10:29 PM


All times are GMT -5. The time now is 12:52 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration