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 had to delete linux off of my other computer for my mom because she is not intellectually capable of scrolling down to dos in the grub menu.
windows xp was preinstalled and then linux red hat 9 was installed using disk druid's default disk partitioning settings.
i deleted the linux partion using partition magic and the problem is that it now only boots to a grub command line. (not the grub menu, its like the grub program command line) and none of the commands work because it says kernal must be loaded before booting.
I then decided to go back into partition magic and merged the unallocated partion (that used to be linux but i deleted it) into the ntfs partion. The same problem still exists though.
can somebody help me set windows xp as the default boot, and get it booting to windows xp.
( and please note that despite my use of computer jargon i am surprisingly new to linux and computers. If you choose to help me please be specific and thorough, otherwise you would probably be wasting your time.)
As acid_kewpie said, running a "fdisk /MBR" will overwrite the grub boot loader and complete your Linux de-installation (a tragic thing, to be sure... ;-))
On the other hand, if you were KEEPING Linux and simply wanted to make Windows the default (instead of the ONLY) boot, you'd do this instead:
su - root
vi /etc/grub.conf
<= CHANGE THE DEFAULT FROM "0" TO "1" (OR WHATEVER YOUR WINDOWS BOOT # IS)
Try making a boot floppy. If that doesn't have it either, see if you can't get a friend with an older system to make you one that does. Or look around for "rescue CDs" or whatnot, many of those (even if they are Linux ones) include things to restore the MBR (even the Mandriva install CD has it). Good luck.
OK - don't worry about fdisk. It falls in the category of "If you have to ask, you don't need it."
Do this instead:
1. If you want dual-boot Linux and Windows, install Windows and leave a free partition.
Do a full install of Windows (on everything except your 2nd, free partition).
Follow this with a full install of Linux (it will auto-detect and use the free partiition)
2. Otherwise, if you just want Windows:
Do a full install of Windows. Use the whole disk. You're done.
If you have a Windows XP installation cd, boot your computer whith the cd.
Now, Windows XP installation program starts. After some time the program stops, and you can type R. Now you get into the Recovery Concole. Follow the instructions and you will get a dos-prompt. Here write: fixmbr. Now a new Master Boot Record is created which overwrite the old one, and your computer will start into Windows XP from now on.
I will add: You will get into the Recovery Console before the xp installation program have done any installation. So, it will not touch your old Wndows xp installation.
And if, for whatever reason, you *did* want to make a boot disk (with "format", "fdisk", and similar Pop Favorites from the dark past of MS-DOS), there are any number of sites you can go to. For example:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.