Linux - NewbieThis 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
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.
I have a sad request... I have Mandrake and XP on the same machine -my wife's machine.. She wants me to remove linux from that machine. Is there a "safe" way to do this without re-installing the OS? Any help would be appreciated.
On the other hand
Assuming you dual boot the PC, create a boot floppy (if you don't already have one) then delete the boot loader. Tell the wife that you do not know how to reclaim the disk space then you can still boot linux with out her knowing about it. How to use it without your wife finding out I leave up to you. .
Fdisk won't replace the bootloader with NT loader. You'll need to fire up the recovery console with your XP cd and type "fixmbr". That'll restore the bootloader and she'll get back to XP. After that, you can use XPs nice GUI tool in the disk management snap-in (in the Control Panel, under Administrative services). Just delete the unknown partition (by right-clicking on the pretty box that represents Tuxland) and then choose to format it. If she's picky about having two "drives", you'll have to resize the primary with a 3rd-party (<---read $$$) tool like partition magic and pray that her data is still there when you are done. Good luck. Then, I suggest you let her administer her computer as she sees fit and try to resist helping when she's attacked by a virus, drive-by install, etc. Good luck with that part (my wife didn't like it either)
Assuming I have set up XP/Linux dual-boot using the secondary boot loader method, why does removing the Linux partition with fdisk (perhaps booting the system with Knoppix or another live CD and removing the partition) cause XP not to boot?
I have seen posts to this effect and am confused. Is this because fdisk is changing the MBR?
Last edited by cmnorton; 02-20-2008 at 12:42 PM.
Reason: grammar and additional info
cmnorton
Assuming I have set up XP/Linux dual-boot using the secondary boot loader method, why does removing the Linux partition with fdisk (perhaps booting the system with Knoppix or another live CD and removing the partition) cause XP not to boot?
When you install another OS that OS will ask to write its booting info to the master boot record (MBR) thus over-writing windows info (that it need to boot). The secondary boot loader then takes the job of booting the first installed OS in this case windows. If you remove the partition that holds the secondary boot loader there is nothing left to boot the system. So it is necessary that the MBR be fixed so windows will be able to boot.
cmnorton,
It would of been better if you started a new thread instead of asking your question in a 4 your old dead one.
However, fdisk deletes partitions but does nothing to the Master Boot Record. So as mrrangerman already stated there is nothing to tell grub what to boot and therefore you see the grub prompt ( grub> ) grub can be removed via the windows fixmbr using the windows recovery console.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.