LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Removing files from GRUB LOADER (https://www.linuxquestions.org/questions/linux-newbie-8/removing-files-from-grub-loader-804534/)

alanford01 04-27-2010 10:27 AM

Removing files from GRUB LOADER
 
Does anyone knows how to remove files from grub loader.
BTW i found some tutorials but they don`t seem to work.
I`ve tried Alt+F2 then I`ve edited this command: gksu gedit /boot/grub/menu.lst
but it doesn`t seem to work what do I do?

amani 04-27-2010 10:31 AM

you seem to want to edit the boot menu

open a terminal/konsole

su
<root password>

gedit



or learn vim :)

divyashree 04-27-2010 10:37 AM

Quote:

Originally Posted by alanford01 (Post 3949420)
Does anyone knows how to remove files from grub loader.
BTW i found some tutorials but they don`t seem to work.
I`ve tried Alt+F2 then I`ve edited this command: gksu gedit /boot/grub/menu.lst
but it doesn`t seem to work what do I do?

open the /boot/grub/menu.lst file by an editor in terminal with superuser mode .

ok ...

repo 04-27-2010 10:43 AM

The best way is to use the package manager to remove the kernels you don't use any more.
They will upgrade grub.
Do you use grub or grub2 ?

alanford01 05-01-2010 01:53 PM

Quote:

Originally Posted by repo (Post 3949440)
The best way is to use the package manager to remove the kernels you don't use any more.
They will upgrade grub.
Do you use grub or grub2 ?

I use grub. I`ve tried your method but I just don`t have enough knowledge to pull this one by myself. I went to Package Manager and found the grub files, but I just don`t know how to edit/remove previous versions of grub.
for example I have in my start menu (or GRUB Loader)ubuntu,linux 2.6.3-19-20-generic and some previous versions like ubuntu,linux 2.6.3-19-19-generic, 17, 16 and 14.I need step by step instructions on removing these files.

Thanks,

alanford01 05-02-2010 04:01 AM

I found the solution to my problem.
I typed linux image in Synaptic Package Manager then I selected unneeded files marked them for removal and it works.


All times are GMT -5. The time now is 02:06 AM.