Find the answer to your Linux question:
Results 1 to 4 of 4
Hi sorry for the question I have 2 linux kernels options, one is not ok i need to delete it i would like to know if someone can tell me ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2006
    Posts
    1

    Delete a linux kernel


    Hi sorry for the question
    I have 2 linux kernels options, one is not ok i need to delete it
    i would like to know if someone can tell me a step by step procedure
    to deleting it.
    starting with how i can figure out which is my boot loader
    please i really need a detail step by step procedure
    like for example if i need to delete files, that you mention the names of the files to be deleted
    thanks a lot for everything, hope someone can help me!

  2. #2
    Banned
    Join Date
    Jul 2004
    Posts
    947
    give us the output of
    ls /boot


    that should give us the output of the directory boot where there will be a grub or lilo folder...I hope...

    There will be a config file in there that will give you where the kernel is found, rm it then get rid of the lines in the config

  3. #3
    Linux Enthusiast apoorv_khurasia's Avatar
    Join Date
    Feb 2005
    Posts
    624
    Quote Originally Posted by gabrielgua
    Hi sorry for the question
    I have 2 linux kernels options, one is not ok i need to delete it
    i would like to know if someone can tell me a step by step procedure
    to deleting it.
    starting with how i can figure out which is my boot loader
    please i really need a detail step by step procedure
    like for example if i need to delete files, that you mention the names of the files to be deleted
    thanks a lot for everything, hope someone can help me!
    Look at the lilo/grub.conf (vi /etc/lilo.conf or /etc/grub.conf) and find out which kernel are you using? Suppose the kernels are A and B. If you are using B then I think just deleting A won't cuae any troubles --just go to /usr/src/ and type
    Code:
    rm -rf A
    Now delete the corresponding image (most likely the inuse one will be named as newImage or something like that). I hope that is sufficient. Feedback from the gurus is needed.
    "There is no sixth rule"
    --Rob Pike
    Registered Linux User: 400426 home page

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru antidrugue's Avatar
    Join Date
    Oct 2005
    Location
    Montreal, Canada
    Posts
    3,211
    Quote Originally Posted by gabrielgua
    I have 2 linux kernels options, one is not ok i need to delete it
    i would like to know if someone can tell me a step by step procedure
    to deleting it.
    Which Linux distro are you using?

    On some distros, there is a very simple way to do that (a command that will take care of everything for you).
    "To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."

    -Bruce Lee

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •