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.
i have a special scenario , my hard disk of the lab top divided as follows . :
1.) primary partition C -> formated as fat32
2.) one extended partition - > include D , E -> formated fat32 also
i set up windows XP on D and i found a strange case happened the boot screen of the XP was like follows : -
Undefied operating system on C:
Windows Xp professional
after that i made installation for Fedora 8 on C: , after installation i found that windows gone !! i tried to edit grub.conf to set it at the first extended partition at (hd0,4) but it didn't succeeded .. any one can advise about that issue .
For grub you'll need lines like this in /boot/grub/menu.lst:
title Windows XP
I don't recall if you need to also do something special with
the boot.ini file in Windows. It's possible that you'll have
problems, because Windows was installed on the 5th partition
when it was the D: drive. Now the 5th partition will be known
as the C: drive.
Not a Windows expert, but doesn't Windows put some boot files into drive C even when installed elsewhere? You had your first partition formatted to fat32 (i.e. something Windows recognizes), so Windows put it's boot stuff there. This was later overwritten by Linux install. In short, I think having the first partition formatted when installing Windows was an unlucky idea.
so ,, thanks to your replies by the way i did the same edit at the grub.conf .. and i said it failed .. so do you think that performing new windows installation on D: and then make a grub fix by rescue , well be a good idea ?.
Yes, if it's not a problem to reinstall Windows, that's
what I would recommend. Start by backing up any needed
files. Next boot into Linux and run fdisk to delete
every partition. Install Windows first and let it take
the first partition. Install Linux and let grub install
to the MBR. Everything should go smoothly.
Windows will install just fine to the second partition if it does NOT recognize the the first one.
That's true, but he may run into issues later if he
changes the type of the first partition. If he's
planning to do a clean install, I'd suggest putting
Windows on the first partition to prevent other problems
Here is my explanation to what might have happened.
When the OP installed XP in drive D, which is a logical partition sda5 (or Hd0,4) in Grub's convention) in an extended partition, XP installer would have to leave the XP boot loader NTLDR's system files in the "C" drive. The reason is that all MS systems up to XP share a common MBR that boots any of the 4 primaries as long as there is one with a booting flag switched on. In other word one can ask a XP (its MBR to be precise) to boot a Linux if the Linux is in a primary partition and has the booting falg made active. I have frequently edited XP to boot up Grub instead of itself.
Anyway when the OP installed Fedora into the first partition "C" the NTLDR system files, there are about 3 of them, there are gone and XP will not boot.
The easy cure is to install XP again.
If XP is to be installed in a logical partition again then the same rule applies and that means there must be a primary partition XP can recognise and deposit the NTLDR files there.
Every MS system can be installed and booted from any of the 4 primaries. Users prefer the first partition are based on the common practice. If a MS system is installed in a partition other than the first one and a bug is discovered they believe it is an issue of not placing it in the partition.
Don't think I have run into a problem yet of placing a MS system in any of the sda1, sda2, sda3 and sda4.