LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   grub rescue-HELP (https://www.linuxquestions.org/questions/linux-newbie-8/grub-rescue-help-4175482938/)

totom 10-31-2013 12:30 PM

grub rescue-HELP
 
Hi, yesterday I deleted my Ubuntu 13.04 partition because I made some huge mistakes. When I wanted to boot Windows 8, a error message popped up saying:
"error: no such device (some different letters)
grub rescue"
There was some kind of comand-prompt.
I googled after this error and found different methods to solve this.
I tried to repait it with Boot-Repair -> didn't worked.
I tried to reinstall Ubuntu -> didn't worked.
I booted a Win8 Iso and typed /FixMbr(worked), /FixBoot(worked) and /RebuildBcd. But it answerd me the systemdevice wasn't fount. -> didn't worked.
And I tried also this tutorial -> http://ubuntuforums.org/showthread.php?t=1581099 -> It gave me different errors.
Anyone knows how I can boot into Windows?
Please help me,
thanks, Tom.
(Sorry for my bad English)

akolff 10-31-2013 04:17 PM

Hi,

If you have any kind of rescue disk Linux or windows, do not do anything else until you backup all of your document files. That is if you can. Once backed up make sure that the files are not encrypted before proceeding.

If you have a restore partition the easiest thing to do is just restore and start over. If you do not have a restore partition or restore media.

Then you need to use diskpart to set your active partition. Not the Drive (C:)that contains the OS and all your files , but the 100mb partition where BCD and boot information is stored needs to be the active partition

purevw 10-31-2013 07:45 PM

You never stated what you hardware is. That could make a big difference. If you have your Windows install disc, it might be easiest to boot into a Linux live CD, copy all of your Windows documents to an external drive, then re-install Windows with the disc. If you have a newer computer or laptop, your "install / restore" media may be on the first partition of the hard drive.

If you ran fixmbr or fixboot from a Windows disc, then you should no longer get the grub prompt at boot. Is that correct? fixmbr and /or fixboot should have over-written grub. That is assuming that fixmbr ran on the correct drive. If grub is still there, it's just a matter of using the correct commands to get into Windows or the rescue / restore partition if there is one. My Win 8 installation has a single 181GB partition and nothing else. Many installations have more than a single Windows partition, but not all installations do.

If you want to use Windows tools, check:BCDEdit command line options or:BCDEdit / set

With a Linux live CD (Ubuntu, openSUSE, etc.), you should be able to use a partitioner to look at exactly how your partitions are set up. Be very careful not to change anything, and click "cancel" when you are done. Just look and note what the partitions are called and what file system is on each partiton. In openSUSE, my single Win 8 partition shows up as: FS ID: 0x07 HPFS/NTFS and it mounted as /dev/sdc1

Depending on your setup, you likely have more than one Windows partition, so it's best to write down all partition information. You might gather your hardware and partition information and post back here.

Ztcoracat 10-31-2013 11:38 PM

Hi:

:~$ grub rescue
Generally means that your /boot folder is broken or settings data in it is incorrect. Probably easiest way to fix is boot from Linux LiveCD (like akolff mentioned) and enter command: grub-install This will reinstall grub with autodetected settings. - See more at: http://www.linux.com/learn/answers/v....VKChBVHB.dpuf

This might help too-
http://askubuntu.com/questions/19262...pt-repair-grub

Ztcoracat 10-31-2013 11:40 PM

If you'd like to post all of your partitions you can run this command with a Live Linux CD but run this
command as "root"

Code:

fdisk -l  (small letter L)

ly_c 11-01-2013 01:30 AM

Windows 8 uses secure boot and UEFI.
If you disabled secure boot in the bios in order to install Ubuntu then go into the bios and re-enable secure boot, that might do the trick, it works on my machine.

totom 11-01-2013 04:28 AM

Hi, thanks for all your answers!
@akolff: Actually I have a restore partition on my disk and also a backup on a external HDD. I can't boot anymore to Linux, not even with a live CD, because it tells me: BOOTMGR missing. I tried to install my old backup from my HDD, but Windows says that it's not posible because the bachup was made in EFI-Mode an my Notebook is now on Bios-Mode. How could I do this with my Restore partition?
@purevw: I have Asus N56VZ Notebook with a Intel 3630QM, a nVidia gt650m and 750GB SATA HDD. I made a flashable USB Stick with Windows 8. Actually I have about 10 partitions and after running the commands it is still there and I can't boot anymore on a Linux live disk.
@Ztcoracat: Can't boot to Linux anymore :/
@ly_cI already tried it. It didn't helped.

NM04 11-01-2013 05:47 AM

totom,
i think you didn't get what ztcoracat told you. His advice points to use of "LIVE CD" boot linux from the CD and try to repair grub or re-install it.

Regards,
nm

totom 11-01-2013 05:52 AM

Quote:

Originally Posted by NM04 (Post 5056462)
totom,
i think you didn't get what ztcoracat told you. His advice points to use of "LIVE CD" boot linux from the CD and try to repair grub or re-install it.

Regards,
nm

Thanks, I understood him. When I try to boot from a Ubuntu Live CD (or flash drive), my PC tells me: BOOTMGR missing.
I don't know how to solve this issue.

NM04 11-01-2013 06:09 AM

hi,
i missed out with details you provided. The grub OR boot loader is still there, but what is not is boot manager. I think you have ubuntu as second OS, when you deleted the ubuntu you also deleted the boot manager and as of now Ubuntu has the best boot manager. When you had ubuntu it was giving you the option to boot which OS ? correct ?? that thing is missing !! can you enter grub command prompt ??

Regards,
nm

totom 11-01-2013 06:14 AM

Hi, it gave me the option to boot both OS'es, but Ubuntu was shown first. I don't know if I can enter grub command prompt, I just get the grub rescue command prompt... And with a flash drive I I don't even get to the Unetbootin menu...

colinetsegers 11-01-2013 07:10 AM

Assuming you still want the two systems, Windows and a Linux, but Linux being erased, I guess your original Windows 8 DVD features a tool box? So, as someone already wrote, if possible first make a backup of your important files and boot from the original Windows DVD. Then, instead of installing there must be an option allowing to repair the system, something like "redo" or "repair" this or that. If this works there should be no problem to boot from the Windows installation. Nothing should prevent afterwards to install a fresh Linux system.

Otherwise, I discovered for myself, after having made a lot of mistakes, that the most easy way to fix this kind of problem in case of doubt, is to reinstall everything from scrap, in your case first Windows, then Linux. With best wishes.

EDDY1 11-01-2013 07:16 AM

There should be a hotkey for efi boot manager possibly F9 to edit boot menu. What is make & model of computer?

totom 11-01-2013 07:33 AM

@colinetsegers: I already tried this. But the automated repair tells me that he can't fix the error. I would reinstall everything, but i don't know my Windows key and don't want to buy a new one :/
@EDDY1: If I press ESC during boot, it's written select boot device and I can also choose "Enter Setup". I have an Asus N56VZ with Windows 8 (now 8.1), a Intel 3630QM, a nVidia GT650M and 750GB SATA-HDD.

totom 11-01-2013 09:28 AM

I found the solution!
Thanks to all who helped!
Here is the link to the solution: http://superuser.com/questions/46076...efi-bootloader


All times are GMT -5. The time now is 07:01 PM.