Did you boot your machine with a live cd?
Then, open a terminal and write:
- Code: Select all
su -
(That was: su, space, dash)
You 'll be asked for the root password (probably it's:
root)
But if, instead of the root password prompt, you get an error: "there's no su user" or something like that (that actually happened with my test earlier, I used a PCLinuxOs live-cd), then write:
- Code: Select all
su
Now you'll be prompted for the root password, write it, hit ENTER, then you'll see that you are with root "privileges".
Then write:
- Code: Select all
su -
Hit ENTER
Then write the name of the file manager:
dolphin (if you're using KDE like me, otherwise, the one you use), hit ENTER.
Now the file manager opens.
Go to the root directory:
/. On the left side of the file manager ("places") if you're using KDE is the
red file called
Root (in Gnome, Nautilus file manager, I think it's called
File System).
Now, in the main window of your file manager, you must see the directory:
/boot (it's the second in the list of the directories), it should not be in the
lost & found. Correct?
Go into
/boot, then into the sub-folder
/grub, find the file
menu.lst, right-click on it and continue as I wrote in my previous post.
PS. I allready started writing a third solution, when noticed your reply...
I hope the current one, with the live-cd, works.
EDIT: If all went well and you found the file
menu.lst, where it should be (in
/boot/grub/), copy the contents of the file in a new text file
somewhere else (in your
/home/your-user-name, or in a usb flash memory, or email it -as an attachment- to yourself, whatever is easier).
Maybe it will be needed later, to post it here (if what you're trying fails).