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.
Red Hat Linux (2.4.20-18.9)
Red Hat Linux (2.4.20-8)
1. Why are there 2 Linux choices? They both do the same thing.
Can I delete one of them? How?
2. DOS is default choice. How can I change default to Linux or
delete DOS altogether? I don't need the DOS and it doesn't
work anyway since I boot to Grub through Boot Magic and
DOS is not active at this point.
OK 1st there are 2 linux options for the differant kernels.
If you have used the top choice more than 3 times then
Yes you can delete the second choice.
Now how to change the file they way you want to make it look.
cp /boot/grub/grub.conf /boot/grub/grub.conf.bak
Now open /boot/grub/grub.conf
change default line to
this will boot your default to linux.
you can change the timeout down to about 4 if you donot want to see the grub screen for very long but I recommend not going below 4 just incase you ever have problems.
That set your default to linux now lets remove the DOS title and the second linux.
start on the second title
title Red Hat Linux (2.4.20-8) -
now delete this line down to the next title
that delets the second linux.
Do the same thing to DOS to remove.
Last edited by jchristman; 07-11-2003 at 10:01 AM.
In virtual console "rpm -qa | grep kernel" gave me a list of kernels and I was able to delete "kernel 2.4.20-8" with "rpm -e kernel-2.4.20-8" Thanks!
I would also like to delete the DOS choice which doesn't work anyway. The only other kernel listed other than kernel 2.4.20-18.9
is kernel-pcmcia-cs-3.1.31-13. Can I assume that this is the DOS kernel?
kernel-pcmcia is used by laptops (and some non-laptops) to support PCMCIA cards for expansion (Also known as "credit card adapters").
If you are using PCMCIA cards, you should leave it. If not, you can remove it.
As for Windows/DOS, all related files are stored on the Windows/DOS partition.
In the GRUB configuration file, you can remove the lines related to booting Windows/DOS unless you want to boot into Windows/DOS from GRUB.
Thanks to everyone's help I am making some progress. I can still not get into grub configuration. I always get permission denied. I login as root, go to a virtual console, and type in /boot/grub/menu.lst but perission is denied. What am I doing wrong?
/boot/grub/menu.lst is an ASCII file (i.e. text file), it is not a command.
(Actually, /boot/grub/menu.lst is a link to /boot/grub/grub.conf)
Use a text editor to edit /boot/grub/grub.conf.
I suggest pico. (for example: pico /boot/grub/grub.conf )
If you do not have pico, go into KDE or GNOME or whatever graphical interface you have installed on your system and use a text editor.
Also, if you want to know whether a file is a text file, binary, script, etc. Use the "file" command.
Your help has cleared up so much. As simple as it might seem to you, I was completely stumped and was beginning to think that linux was an OS for the insane. Now the lights are on and I can make some real progress in learning this operating system. I guess too many years working in the Windows enviroment has warped my thinking. Thanks again!