LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   booting other os in case of deleting the linux partition (https://www.linuxquestions.org/questions/linux-newbie-8/booting-other-os-in-case-of-deleting-the-linux-partition-426540/)

narendra.pant 03-20-2006 06:18 AM

booting other os in case of deleting the linux partition
 
the other os on my pc is windows .. by mistake i deleted the partition containing linux while i ws working on windows . when i restarted pc there is a screen with a grub prompt ...
can yu tell me how can i boot into my windows partition .

rajtendulkar 03-20-2006 06:23 AM

Boot from Windows XP Cd and just type FIXMBR on the command prompt when you will select to repair an installation....
this will help

Lenard 03-20-2006 06:26 AM

Boot from a 'real' Windows CD into the recovery console and do something like;

fixmbr ;and maybe; fixboot

Boot from a Windows(98se/Me) boot floppy and do something like;

fdisk c: /mbr

b0nd 03-20-2006 06:27 AM

Quote:

Originally Posted by narendra.pant
the other os on my pc is windows .. by mistake i deleted the partition containing linux while i ws working on windows . when i restarted pc there is a screen with a grub prompt ...
can yu tell me how can i boot into my windows partition .

you will have to restore original MBR.
The two ways of doing it are:
1. fixmbr
2. /sbin/lilo -u ( if u have lilo )

but since u have deleted the linux partition so you won't be able to follow the second option.
Hence, take a windows bootable cd. Boot using it. first get inside the fresh installation option ( along with this fresh installation you will see an option for repair, but don't go here). So after getting in the "fresh installaition" optiong you will see one "repair" option. chose this one and then on the command prompt write:
#fixmbr

it will do the job.

regards


All times are GMT -5. The time now is 10:52 PM.