How to recover XP after formatting Linux partition from windows
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Please give us some details about the drive setup and how you boot each OS--eg is GRUB on one drive?
What do you mean by this:Windows will not recognize a Linux partition, much less format it.
what i mean is that if we right click the mycomputer in xp it shows an option Manage .In that there is another link for disk management
where it shows linux partition as unknown file type
we can format this drive by right clicking it and selecting format
If we format this partition the grub bootloader will be deleted na?
How to boot XP with out reinstalling xp or repairing xp if i do this ???
Another question is
IF I REINSTALL xp HOW TO RECOVER EXIXTING LINUX
OK--the terminology is getting us here...In Linux, you create a partition and then format it with a file system. I think Windows blurs these two steps. What you describe swould effectively delete the Linux partition and create a new one. If GRUB is on the MBR, nad it config file is on the linux partition, then you will no longer be able to boot.
The second question is easier: before re-installing XP, put GRUB on a floppy. Then you can still boot Linux from the floppy.
What configuration do you want to have when you are all done?
Yes one can use right click my computer/Manage/storage/diskmanagement to format a Linux partition but it does "nothing" to the XP partition. The XP is perfectly save and can be booted if you have the right tools.
What the OP has mixed up with is the removal of the Linux partition also destroys the home for Grub which was used to dual boot XP and Linux. Without Grub xp would not boot.
Pixellany has the solution of saving Grub on a floppy but that is only bootable if it is made in accordance with Chapter 3.1 of Grub Manual so that Grub is independent of an operating system. When an ordinary Grub floppy, made by the grub-install command, boots it needs to load the menu.lst which would have been removed if the Linux partition were formatted.
The logical step is to restore XP's MBR using XP installation CD or a Dos floppy (Task B1 and B2 of the last link in my signature refer) so that XP boots just like before Linux was introduced.
I have had (maybe I still have both) two OS on an old laptop. Xp and Debian. Xp is still on first (as primary) and third partition (as extended), and Debian which was boot from floppy was deleted with Computer management console and with Partition manager from second partition. I can not partitioned this "free" area as extended xp partition but only as primary. When I start to partitioned it as primary it stop at 16%.
When I try to boot from floppy I can still see: grub >
1. How can I format second partition as windows extended partition?
Thanks in advance
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.