LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 06-14-2014, 03:00 PM   #1
singh016
LQ Newbie
 
Registered: Jun 2014
Posts: 6

Rep: Reputation: Disabled
Grub Rescue


I accidentally deleted the linux partition from windows. When I restarted the system, a black screen comes with "grub rescue" written on it.
How should i get out from this problem ?
I am very new to linux, so please be as descriptive as possible...
Please help...
Thanks in advance..
 
Old 06-14-2014, 03:13 PM   #2
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
What version of windows are you running?
You'll need to download either Rescue console for wins xp or for wins 7 you'll have to go to digital river downloads to download the dvd.iso for your system to fix mbr.
Here there are disks for all 3 winsxp 7 & 8.
https://neosmart.net/wiki/
 
Old 06-14-2014, 05:36 PM   #3
fbt
Member
 
Registered: May 2010
Distribution: Chakra
Posts: 89

Rep: Reputation: 26
Generally Microsoft Windows does not recognize Linux partitions, unless you formatted it to NTSF.

Last edited by fbt; 06-14-2014 at 05:38 PM.
 
Old 06-14-2014, 06:08 PM   #4
DJ Shaji
Member
 
Registered: Dec 2004
Location: Yo Momma's house
Distribution: Fedora Rawhide, ArchLinux
Posts: 518
Blog Entries: 15

Rep: Reputation: 106Reputation: 106
Quote:
Originally Posted by fbt View Post
Generally Microsoft Windows does not recognize Linux partitions, unless you formatted it to NTSF.
NTFS is not a Linux partition, although it is read/write-able in Linux. So's FAT and it's variants. Linux partitions (actually partition types are something different - what you are implying here are file systems) are generally those that support hard/soft links, device nodes and the like. There are plenty of those, and widespread are ext2/3/4, reiserfs, xfs...

OP You can just simply install grub on the MBR, and put an entry in grub.cfg that points to the windows bootloader on the boot partition like so:
Code:
root (hd0,0)
chainloader +1
boot
You can even type the above commands directly at the grub prompt and make your system boot.

Last edited by DJ Shaji; 06-14-2014 at 06:08 PM. Reason: Sapling
 
Old 06-14-2014, 06:28 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Quote:

I accidentally deleted the linux partition from windows
well a linux OS is no longer installed then
you need to reinstall the Microsoft bootloader

however the MS windows 7 install dvd dose not recognize a NON microsoft formatted partition

you will need the live cd "Gparted livd cd"
http://gparted.sourceforge.net/
reformat the boot MBR to ntfs

then use the win7 install dvd ( you DO have one ? right ? ) to fix the MBR
 
Old 06-14-2014, 10:16 PM   #6
AlexBB
Member
 
Registered: Mar 2014
Posts: 464

Rep: Reputation: Disabled
Start your windows OS; invoke cmd prompt; go to windows\system32; run bcdedit.exe. Delete every mentioning of the other OS.
 
Old 06-15-2014, 01:53 AM   #7
singh016
LQ Newbie
 
Registered: Jun 2014
Posts: 6

Original Poster
Rep: Reputation: Disabled
What if I want to delete windows too and install some other linux OS?
What should i do in that case?
 
Old 06-15-2014, 02:04 AM   #8
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Quote:
Originally Posted by singh016 View Post
What if I want to delete windows too and install some other linux OS?
What should i do in that case?
Any distro that you install can remove windows or linux during installation. Just select Use whole drive option.
 
  


Reply



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 File Not found Grub Rescue Error on External Sata to USB Drive imayneed Linux - Newbie 11 08-22-2012 02:56 AM
[SOLVED] Recurring Grub rescue mode after update-grub harris4got Linux - Software 6 04-23-2012 09:30 AM
GRUB error: unknown filesystem, grub rescue nnjond Linux - Newbie 4 12-26-2011 07:46 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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:04 AM.

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
Open Source Consulting | Domain Registration