LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-31-2013, 12:30 PM   #1
totom
LQ Newbie
 
Registered: Oct 2013
Posts: 6

Rep: Reputation: Disabled
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)
 
Old 10-31-2013, 04:17 PM   #2
akolff
Member
 
Registered: Jan 2002
Location: Milwaukee
Distribution: Ubuntu Server 12.04.1 LTS & Mint 17
Posts: 33

Rep: Reputation: 4
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 (Cthat contains the OS and all your files , but the 100mb partition where BCD and boot information is stored needs to be the active partition
 
1 members found this post helpful.
Old 10-31-2013, 07:45 PM   #3
purevw
Member
 
Registered: Jan 2007
Location: Texas
Distribution: OpenSuSE 13, Kernel 3.13.3
Posts: 119

Rep: Reputation: 47
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.

Last edited by purevw; 10-31-2013 at 07:46 PM. Reason: hyperlink mixup
 
1 members found this post helpful.
Old 10-31-2013, 11:38 PM   #4
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 7,246
Blog Entries: 9

Rep: Reputation: Disabled
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
 
1 members found this post helpful.
Old 10-31-2013, 11:40 PM   #5
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 7,246
Blog Entries: 9

Rep: Reputation: Disabled
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)
 
1 members found this post helpful.
Old 11-01-2013, 01:30 AM   #6
ly_c
LQ Newbie
 
Registered: Sep 2009
Location: Netherlands
Distribution: Linux Mint
Posts: 3

Rep: Reputation: 1
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.

Last edited by ly_c; 11-01-2013 at 01:37 AM.
 
1 members found this post helpful.
Old 11-01-2013, 04:28 AM   #7
totom
LQ Newbie
 
Registered: Oct 2013
Posts: 6

Original Poster
Rep: Reputation: Disabled
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.
 
Old 11-01-2013, 05:47 AM   #8
NM04
Member
 
Registered: Jan 2011
Distribution: Back Track,Fedora,centos
Posts: 240

Rep: Reputation: 14
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
 
1 members found this post helpful.
Old 11-01-2013, 05:52 AM   #9
totom
LQ Newbie
 
Registered: Oct 2013
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by NM04 View Post
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.
 
Old 11-01-2013, 06:09 AM   #10
NM04
Member
 
Registered: Jan 2011
Distribution: Back Track,Fedora,centos
Posts: 240

Rep: Reputation: 14
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
 
1 members found this post helpful.
Old 11-01-2013, 06:14 AM   #11
totom
LQ Newbie
 
Registered: Oct 2013
Posts: 6

Original Poster
Rep: Reputation: Disabled
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...
 
Old 11-01-2013, 07:10 AM   #12
colinetsegers
Member
 
Registered: Jul 2011
Location: Brussels, Belgium, Europe
Distribution: Debian 6 and 7, PCLinuxOS
Posts: 65

Rep: Reputation: Disabled
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.
 
1 members found this post helpful.
Old 11-01-2013, 07:16 AM   #13
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
There should be a hotkey for efi boot manager possibly F9 to edit boot menu. What is make & model of computer?
 
1 members found this post helpful.
Old 11-01-2013, 07:33 AM   #14
totom
LQ Newbie
 
Registered: Oct 2013
Posts: 6

Original Poster
Rep: Reputation: Disabled
@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.
 
Old 11-01-2013, 09:28 AM   #15
totom
LQ Newbie
 
Registered: Oct 2013
Posts: 6

Original Poster
Rep: Reputation: Disabled
I found the solution!
Thanks to all who helped!
Here is the link to the solution: http://superuser.com/questions/46076...efi-bootloader
 
1 members found this post helpful.
  


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
GRUB error: unknown filesystem, grub rescue magnecticfield Linux - Newbie 28 07-30-2013 03:35 AM
Grub File Not found Grub Rescue Error on External Sata to USB Drive imayneed Linux - Newbie 11 08-22-2012 02:56 AM
GRUB error: unknown filesystem, grub rescue nnjond Linux - Newbie 4 12-26-2011 07:46 PM
Problem with GRUB: partition not found. Grub Rescue?? genoboss Ubuntu 117 01-04-2011 07:56 PM
Need to (re)install GRUB: fedora c4 rescue cd (and GRUB) unable to see the harddisk whencat Fedora 4 03-05-2006 02:01 PM


All times are GMT -5. The time now is 04:21 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