LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Accidentally deleted Linux partition (https://www.linuxquestions.org/questions/linux-newbie-8/accidentally-deleted-linux-partition-4175472057/)

karya174 08-04-2013 09:28 AM

Accidentally deleted Linux partition
 
Accidently i deleted linux volume through disk management in Windows 7. Now when i power on my laptop i got error like this " GRUB Loading... Error : no such partition. Entering rescue mode... grub rescue> " And i dont have Windows boot cd and also Cd drive in my laptop. Please help me. Any solution is appreciated. Please help

unSpawn 08-04-2013 10:44 AM

Boot a Live CD that has testdisk. See if it can restore the partition table. For next time: do make backups and if you don't know what you're doing then simply don't do it.

btmiller 08-04-2013 10:50 AM

Please use a better thread title than "urgent". This may be urgent for you, but it is not urgent to the people who volunteer their time to help others on these forums.

That being said, do you need to get your Linux partition(s) back, or are you OK with wiping them? Can you get access to a copy of the Windows 7 CD which contains the MBR recovery tools? Does your laptop have some sort of recovery partition or anything of the sort? Unfortunately the information that I've found seems to assume you have a Windows CD or DVD.

What happened here is that you deleted your Linux /boot partition, which contains the files that tell GRUB (the boot loader) how to boot the various OSes installed on your computer. If Windows is the first partition on the hard drive, you might be able to get away with running the following commands and the grub> prompt:

Code:

rootnoverify (hd0,0)
chainloader +1

However, this will not work on newer version of GRUB, IIRC. Can you see anything that tells you what version of GRUB you have?

The easiest thing for you might be to boot your distro's LiveCD via USB (either a USB key or using a USB CD/DVD drive and post the results of "fdisk -l". Like I said, you'llneed to tell us whether you want to try to get your Linux partitions back for us to be able to help further.

Philip Lacroix 08-04-2013 11:17 AM

As unSpawn already suggested, testdisk is probably the right tool for you in this situation. I have used it myself a couple of times with good results. Given that you don't have a CD drive on your laptop I would download SystemRescueCD, a live Linux system which includes testdisk and is available as an image for USB sticks as well. Prepare the stick following the provided instructions, then configure your laptop's BIOS to boot from it. When SystemRescueCd is up and running you can run testdisk and you should be able to recover your partition. However, be careful: I suggest that before using testdisk you read the available documentation.

Best wishes,
Philip

EDDY1 08-04-2013 12:41 PM

If you have problems getting your system back there are free wins downloads you have to have an active license to do a repair install or just select repair my computer.


All times are GMT -5. The time now is 08:43 AM.