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.
My bad, I should have said put the XP disk in. If it is like the Win2K disk, it will default to starting your WinXP program. Try that first. Since our goal is to issue the sys command to C:\, using the XP sys files, try just doing it from within XP. Open up My Computer and look at what Windows thinks your drive set up is. Keep in mind that it will ignore the Linux partitions. It should show you a C:\ drive. Open it and make sure that it is still a valid drive (can you look around in it?).
Close My Computer and select Search for Files from the Start menu. Search for sys.com. Note which directory it is in.
Close that window and select Start/Accessories/Cmd Prompt (or in the Run window, type: cmd). This will bring up a DOS window. Change to the directory that has sys.com in it and issue this command:
Ok, I had somehow broken my XP CD here, and so had to ask my bro in India to ship it to me to Canada. :/
Sorry about it again.
Ok, I took the floppy, went and copied sys.com from a win98 pc of a roommate's friend. And also the normal startup files which win98 makes for you.
But still, I logged in with the XP CD and went to the command prompt, it asked me which OS I want to go on
I clicked on 2 (win2k), and typed my pass and entered, did the fixbmr and fixboot, and rebooted, still it showed me NTLDR is missing stuff (this time, grub was'nt there too). So, I again went back to the same cmd prompt the XP CD brought me to, and then I tried doing the sys c:\ stuff, and it said unrecognized command, so I take it that it doesnt have dos or something, so from there itself, I put the floppy in (which has sys.com) and did the sys c:\ thing again, no good again..
Try starting both XP and Win2K with it--can you bring them both up?
Also, what sys.com does is transfer the io.sys and msdos.sys files--you don't want the ones from Win98--they don't work with an NT system. When you get XP started, follow the instructions in my last post about running the sys.com program from a command prompt.
OK, it looks like XP is set up as your G:\ drive. Start things up and change to G:\. Then change to your Windows directory (probably WINNT) and then to the Command subdirectory. Sys.com should be there. DIR SYS.COM should show it. Try issuing the sys c:\ command from there.
As for starting the programs, at least for XP, the Rescue CD should give you the option to try.
If sys.com still doesn't fix your problem, put the CD in and reinstall XP. You won't lose any of your files, it will just overwrite itself and that should fix this part of your problem.
When you finish, you should have a computer that will boot both Windows operating system. When they are working well, we'll start on getting Red Hat working.
Ok, this is very frustrating now. It said, in the block 0 of the HDD, there's a non-xp compatible OS which it does'nt recognize, and it gave me 2 options, that it will install no matter what, but the data on the XP drives will be lost, and the other is to remove the non-xp compatible OS (i.e win2k) to go on. So I deleted the win2k partition *sniff* and then it asked me to create a xp-compatible partition in that same place, so I went ahead and created a 100mb partition.
But after that, it said, if I have to install on WINDOWS, it will erase all data and stuff, again.. So I said install on WINDOWS1, and it did. Now everything came up, and I can still see my old data here, but I dont want to use WINDOWS1, and want to use WINDOWS, as this feels like a new system. Please help me fix this, and I know we can do it soon for RH and XP, because 2K is out of the scene now.
You're down to easy problems now! The boot disk you made depended on not changing the disk, which you did when you deleted a partition, added one and then added Windows1--what Red Hat expected to find on the thrid partition was somewhere else. Easy to fix.
As I understand what you wrote, you have Windows working. When you get Windows set the way you want it (and are done changing partitions!), it will then be time to get Linux back up and running. At your level of experience, the easiest and simplest way is to just reinstall it, making a new boot disk when it gives you the chance.
When you get to the part where it wants to install Grub, have it put it in the Master Boot Record. You don't want this--you want to change that to the primary boot partition.
When you get this done, Windows will boot from the hard drive and Linux will boot from a floppy.
Now to configure NTLDR. First read this big picture from Red Hat:
There are some gotchas in there that they don't mention the boot.ini is a hidden, read-only system file. You have to change its attributes. Anyway, follow the instructions I gave you earlier, with one exception. You have to verify where to take the boot image from. I assumed hda3 in my original instructions, which were:
Get the boot image file NTLDR will need. In the same Run Program window, type this: