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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Hi - I am very new to Linux. I have set up a dual boot system on my desktop with Windows XP home / Linux RedHat 9.0, and it all works fine. What would happen if I now deleted the Linux partitions, including the boot partition? Would the system revert to booting into XP automatically? Or would my system refuse to boot into anything? This is in order to move towards installing Linux only on my laptop, and XP only on my desktop. Any help much appreciated.
The answer to your question depends on whether your boot loader is GRUB or LILO. If you are using GRUB, that depends on files that are on your Linux partition. If you delete them then your computer will not boot anything. If you are using LILO, that software has everything that it needs to boot already in the boot disk's MBR. If you delete the Linux partition you would still be able to boot Windows.
If you want to go back to the Windows boot loader you can boot the Windows recovery console and run the fixboot and/or the fixmbr utilities.
If the suggestions above don't work, and if you have the XP installation CD, then you can just reinstall XP in to the linux partition and it will pick up the original XP installation as a boot option. Restart the pc and choose the original XP entry, then when inside you can go to...
well here's when i forget, but if you right click on the My Computer icon you can get to some boot / startup options and you can edit them so they only contain the entry for the original XP.
Okay, but first i'll clarify that by "reinstall xp in to the linux partition", i mean in an empty partition (that linux used to occupy) as the OP suggested.
I have done it myself when I accidentally deleted the linux partition whilst in XP. I reinstalled XP on to the (now) empty space and when i booted i had two XP options, similar to the setup this guy below found himself with - except my XP's were listed as being in different partitions, and this guy had a boot loader showing XP twice from the same partition.
Your much better off using dd or bootitng to wipe the Linux partitions with zeros, then boot to the XP CD and fixmbr (which only takes two minutes), then use a utility like bootitng (under no obligation) to resize the XP partition back to using the full disk.
EDIT: Then, trash Red Hat 9 and get a more modern Linux for the laptop. You'll be pulling your hair out trying to install RH9 on a SATA drive if that's what the laptop has.
Last edited by Junior Hacker; 08-10-2007 at 10:25 PM.
The easiest way to delete GRUB and get your original MBR is to download RescueCD (Linux Flavor) pop it in and then press F2 or F3 and then type GAG in the command line. Follow the instructions on the screen, should be option 3 I think, and replace the MBR. By doing this you will get rid of GRUB and will be able to safely boot back into your windows partition. Not only that but the RescueCD is great for any and all computer software repairs. I hope this helps if not contact me with whats going on, and I will try my best to help you out.