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.
Ok ... well here is the problem
When i boot my computer
All i get is the selection of Fedora Core 4 but i would appreciate it if i wa able to have the Windows XP partition boot by default
If i am able to do this, how should i switch to Fedora Core 4 when i want to, would it be pressing F8 when the computer is starting up ?
Lol, i find that quite humourus
Best describes me with FC4
If your using grub, edit your grub.conf file to change the default. The same if your using Lilo. I do believe grub is the default boot loader for Fedora so that's most likely what your going to have to edit.
Depends if you have already installed windows or not. If you are going to install windows, then it will overwrite your MBR - which means you must either have a backup of the MBR or a boot floppy.
If you already have windows installed, then Fedora should have already detected it for you, if not, you will need to edit the grub configuration (I believe there are some GUI front-ends in Fedora for doing this).
I already have Windows installed in the partition at the front of the hard drive
Fedora Core 4 does notice it but you have to select which one you want to boot first, which is a real pain and would like windows to boot by default first
How do you edit the GRUB by the way ?
Its the partial content of my "grub.conf"
#grub.conf generated by anaconda
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,8)
# kernel /boot/vmlinuz-version ro root=/dev/hda9
# initrd /boot/initrd-version.img
title Red Hat Linux (2.4.20-8)
kernel /boot/vmlinuz-2.4.20-8 ro root=LABEL=/
"default = 3"............if you have only two o/s then this value be either 0 or 1.
so accordingly is your boot sequence.
Change it and change your default boot option
Umm ... i'm kind of new at this
How do you change the GRUB sequence ?
Let me spoon feed you a bit more......... lol
I stated clearly that in order to change the default boot o/s you only need
to make change in your grub.conf.
There is a line in grub.conf "default = x"
since you have only two o/s, so the value of x is either 0 or 1
now it depends which o/s entry is first in your grub.conf
for x=0 it will boot the first entry o/s first ( by default )
and for x=1 it will boot the second entry o/s first ( by default )
play with this entry to learn something.
Maybe you don't know where to find grub.conf ?? It is usually in /boot/grub/grub.conf , you will need to be root to edit this file. You can change the order of the entries there. You can also change the line that says:
where n is a number. Set n to 0 for the first entry, 1 for the second, etc..
I saw you suggest it being in /etc. This isn't true in all distributions. I was trying to help him/her find the file incase he/she is using such as distribution. I for one have my grub.conf inside /boot/grub.
Also note, you may have trouble finding it if:
A) grub.conf is in your boot partition
B) your boot partition is not automatically mounted (I don't auto mount mine since there is no reason to)