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!
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi, Linux noob here... I have just installed RedHat 9 and during installation process downloaded and installed all suggested updates. I believe this is when kernel was updated from 2.4.20-8 to 2.4.20-19.9
But now during during startup in OS select menu, I get 3 choices: Dos, Linux 2.4.20-8 and Linux 2.4.20-19.9... It might be confusing to other users. How do I fix it so that only latest version shows up in the menu and delete old stuff so it doesn't take up space?
Also:
how do I view Linux logical drives? For example total space, free space, etc
Do you use LILO or Grub?
Just remove the stanza for the one you don't want in you lilo.conf or grub.conf. For LILO you have to run lilo to apply the changes.
You dont remove rpm -e kernel-source-2.4.20-8..this is the command you type in console as root in order to remove the package(which, in this case is your old kernel)
[serge@localhost serge]$ rpm -e kernel-2.4.20-8
error: cannot get exclusive lock on /var/lib/rpm/Packages
error: cannot open Packages index using db3 - Operation not permitted (1)
error: cannot open Packages database in /var/lib/rpm
[serge@localhost serge]$ rpm -e kernel-source-2.4.20-8
error: package kernel-source-2.4.20-8 is not installed
does serge not have enough priviliges? I made the user part of adm group.
also where do I find grub.conf ? I tried searching for this file from root directory, but it says I need to run updatedb, which it seems I also don't have enough privileges
[serge@localhost serge]$ updatedb
fatal error: updatedb: You are not authorized to create a default slocate database!
aahh.. I feel like fish out of water, bear with me peeps.. also is there any good documentation on this stuff? like what the heck is rpm and etc?
su -
this will prompt you for the root password. Input that and then do the above 2 commands that I gave you. in linux there are permissions to every file and directory..so you have to be root to do maintainence on your system (ex installing programs and removing them....etc etc.)
ok well you have to be root to install/uninstall rpm packages so "su -" to root and then uninstall it, also you have to be root to run updatedb....and the grub.conf file is in the /etc folder, oh and once again you have to be root to edit it
so before tackling any of these three things you want to do
type :
su -
and then the root password and then go about your business
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.