LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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, 04: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, 04:13 PM   #2
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

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, 06:36 PM   #3
fbt
Member
 
Registered: May 2010
Distribution: Chakra
Posts: 79

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 06:38 PM.
 
Old 06-14-2014, 07:08 PM   #4
DJ Shaji
Member
 
Registered: Dec 2004
Distribution: Fedora 22 (Twenty Two!), ArchLinux
Posts: 506
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 07:08 PM. Reason: Sapling
 
Old 06-14-2014, 07:28 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,817

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
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, 11:16 PM   #6
AlexBB
Member
 
Registered: Mar 2014
Posts: 432

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, 02: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, 03:04 AM   #8
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

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


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 File Not found Grub Rescue Error on External Sata to USB Drive imayneed Linux - Newbie 11 08-22-2012 03:56 AM
[SOLVED] Recurring Grub rescue mode after update-grub harris4got Linux - Software 6 04-23-2012 10:30 AM
GRUB error: unknown filesystem, grub rescue nnjond Linux - Newbie 4 12-26-2011 08:46 PM
Need to (re)install GRUB: fedora c4 rescue cd (and GRUB) unable to see the harddisk whencat Fedora 4 03-05-2006 03:01 PM


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