[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: regarding upgrade



Reply to: csanyipal@gmail.com
Original Message Date: Thu, 23 Apr 2009 15:09:07 +0200
RE: Re: regarding upgrade   [See Original Message Below]


Sorry, I think I'm replying to Paul instead of the OP, but I deleted that
original post from my email.

If you don't want to remove the kernel you're not using for whatever reason, just
edit: /boot/grub/menu.lst and comment out the 8 lines that comprise the 2 kernel
options of the kernel image you don't want to use.

Like this:

# nano /boot/grub/menu.lst

.....

## ## End Default Options ##

title		Debian GNU/Linux, kernel 2.6.26-2-686
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.26-2-686 root=/dev/sda1 ro vga=791 quiet
initrd		/boot/initrd.img-2.6.26-2-686

title		Debian GNU/Linux, kernel 2.6.26-2-686 (single-user mode)
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.26-2-686 root=/dev/sda1 ro vga=791 single
initrd		/boot/initrd.img-2.6.26-2-686

##title		Debian GNU/Linux, kernel 2.6.26-1-686
##root		(hd0,0)
##kernel		/boot/vmlinuz-2.6.26-1-686 root=/dev/sda1 ro vga=791 quiet
##initrd		/boot/initrd.img-2.6.26-1-686

##title		Debian GNU/Linux, kernel 2.6.26-1-686 (single-user mode)
##root		(hd0,0)
##kernel		/boot/vmlinuz-2.6.26-1-686 root=/dev/sda1 ro vga=791 single
##initrd		/boot/initrd.img-2.6.26-1-686



You can see that I'm not interested in seeing the 2.6.26-1-686 kernel image as an
option when I boot my machine, so I have commented those entries out.



-----------------------------------------
On Thu, 23 Apr 2009 15:09:07 +0200  csanyipal@gmail.com wrote:

>Lenny Jaan <lennyjaan@gmail.com> writes:
>
>> How do I get rid of other 2 entries from the boot screen ?
>
>sudo aptitude purge linux-image-2.6.26-1-686
>
>or so.
>




Attachment: signature.asc
Description: PGP signature


Reply to: