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.
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.
I installed WinXP on a spare hd by temporarily disconnecting hd0 and connecting hd1 in its place. It installed and booted, and then I was ready to switch back to CentOS 5 on hd0 and WinXP on hd1.
I reconnected hd0 as primary, /dev/hda, and hd1 as /dev/hdc. I added an entry to grub.conf to boot WinXP as follows;
# grub.conf generated by anaconda
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/hdc1
# initrd /initrd-version.img
title CentOS 5 (2.6.18-8.1.15.el5)
kernel /vmlinuz-2.6.18-8.1.15.el5 ro root=/dev/hda3 rhgb quiet
title Windows XP Home Edition
This much is correct, I think. Now, I'm pretty sure I need to edit the boot.ini file to account for the change from windows thinking it is mounted on hd0 to actually being mounted on hd1. This is the current boot.ini;
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Home Edition" /noexecute=optin /fastdetect
C:\ = "Unidentified operating system on drive C."
I'm not sure how this needs to be modified. Also, I'm mystified by the last line, C:\ = "Unidentified operating system on drive C.". When the only hd connected was hd1 in the hd0 spot, WinXP booted and ran just fine, with no errors. So, I don't know if I need to be concerned about this or not. But, until I get the necessary editing done to at least get it to start to boot, I won't know about this last line.
So, first things first. Does anyone know how this boot.ini file should be modified? Thanks for any help.