LinuxQuestions.org
Help answer threads with 0 replies.
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 03-20-2006, 07:18 AM   #1
narendra.pant
Member
 
Registered: Mar 2006
Posts: 86

Rep: Reputation: 15
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 .
 
Old 03-20-2006, 07:23 AM   #2
rajtendulkar
Member
 
Registered: Mar 2006
Posts: 34

Rep: Reputation: 15
Boot from Windows XP Cd and just type FIXMBR on the command prompt when you will select to repair an installation....
this will help
 
Old 03-20-2006, 07:26 AM   #3
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
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
 
Old 03-20-2006, 07:27 AM   #4
b0nd
Senior Member
 
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Rep: Reputation: 45
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

Last edited by b0nd; 03-20-2006 at 07:29 AM.
 
  


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
Deleting Linux Partition Elader Linux - General 1 04-20-2005 07:01 PM
Deleting Windows partition without damaging Linux GT_Onizuka Linux - General 1 12-29-2004 08:44 PM
Dual booting question (Deleting a Mandrake partition) Vash63 Linux - Newbie 4 08-31-2004 10:31 PM
Win2K boot failure after deleting linux partition escape Linux - General 6 08-12-2003 03:21 PM
how to start linux after deleting boot partition phikapjames Linux - Software 1 07-17-2003 03:48 AM


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