Grub Screwover

wolfeking

banned
Issue: Multiboot Linux and grubb refuses to see Ubuntu and has 2 entries in the MBR that lead to a error saying no such partition. I can boot into windows and Fedora fine. Fedora isnt letting me run
Code:
sudo update-grub
Screenshot-6.png
 
Last edited:
Hmm, well you could try a sudo su. That would sign you in as root. Of coursem it'll probably say that you're not in the sudoers file. Google "how to password hack linux." Then you can sign in as root.
 
Ah, I had this issue in a clean debian install before. Let me see if i can find the workaround for it.


And the sudoers files sets the permissions for sudo. If your not in the file, then you can't issue the sudo command.


Edit:
http://knol.google.com/k/hesham-elsaghir/user-is-not-in-the-sudoers-file-how-to/3noo92ojj7hi0/8#
That's what worked for me in a Debian system, so it should? work in fedora.
Like it said, you have to use the built in editor to edit the file, since your don't have root access.
Once your in the editor, add yourself to the file, and save. Then you should have access to it.
Can you use gksu or su instead? Or maybe even run sudo -s first?


Oh, and linux doesn't work like windows. You might set the root password and all that, but your only logged in as a administrator if you log in as root.
Sudo is equivalent to asking your parents to go out with friends. You have the admins permission to do something, but your still not a admin.
It makes it a lot harder to do serious damage to your system that way. if that makes sense.
 
Last edited:
ok, im a bit confused here. That link says
http://knol.google.com/k/hesham-elsaghir/user-is-not-in-the-sudoers-file-how-to/3noo92ojj7hi0/8# said:
open a new terminal
switch to root, type "su" then enter the root password
how do I switch to root? is it via typing "su"?
 
This is why i like the debian way. If you use visudio, it wont let you save the file if there is a syntax error.
open the file and paste it here if you can. You can probably do something like
su
chmod +w /etc/sudoers

that will make it writable, which you know now. Now open it with a text editor, i dont know which one it comes with, hopefully gedit? so then after that while root still, type
gedit
then when that open, open the sudoers file in /etc/
and paste it here.


and if that doesn't work, just navigate to it, right click and open with whatever text editor it has and paste it here.




Edit: God I'm a idiot.
su
update-grub

finished. I can still fix your sudoers file if you want.
fyi, su=switch user. So you understand better.
 
Last edited:
....
I've never seen that error in my life.
Can you post the sudoers file please?
And the grub.conf if possible.

Edit: this looks like a job for super grub disk. Download and install, and boot into Ubuntu from the disk. The run update-grub in Ubuntu.
 
Last edited:
couldnt I just boot into live OS from my 10.04.2 disk I have and update?
And where do I get a super Grub disk?

as for the files you ask for, Ill post them in a minute when I get them.
 
Well, they have a new version out. I still use the old one, but this is the newest version. It can fix grub, grub2, and the mbr for windows.
http://www.supergrubdisk.org/rescatux/
Good for future use.

and yeah, you should be able to do that actually. Go ahead and boot into the live cd and run the command.
 
you have to mount all the partitions first. I'm sure there is a easy way to do that in ubuntu, but if not (i always prefered using a terminal)
cd /media
sudo mkdir makeadirectoryname
sudo mount /dev/sda directoryyourjustmade
if that doesnt work, your going to have to mount each partition indivually
ie:
sudo mkdir dir1
sudo mkdir dir2
sudo mount /dev/sda1 dir1
sudo mount /dev/sda2 dir2
etc.
 
im just going to give up, and install each, do the guide replacing them as I go, and reinstall Ubuntu when done. Seems that will stop the grub failures here.
 
Back
Top