[RndTbl] grub.conf

Gilbert E. Detillieux gedetil at cs.umanitoba.ca
Fri Aug 30 11:53:08 CDT 2002

According to Mel Seder:
> To delete an entry do I merely delete from the beginning of a title
> section to just before the the next title section starts?
> As an example if I wanted the 2.4.18-10debug entry deleted would I
> highlight  
> ----
> title Red Hat Linux (2.4.18-10debug)
>         root (hd1,0)
>         kernel /vmlinuz-2.4.18-10debug ro root=/dev/hdb2 hdc=ide-scsi
>         initrd /initrd-2.4.18-10debug.img
> ----
> all of the above OR all of the above MINUS the hcd=ide-scsi line?

Your first assumption is right.  The "title" keyword begins a new section,
and the following lines (indented for clarity) are all part of that same
section, so you would delete them all together.

However, if those lines were created by the installation of a particular
kernel RPM, the removal of that RPM (with "rpm -e") would also modify the
grub.conf file accordingly.  It's all a question of how/why you want those
lines removed, but under normal circumstances, you rarely have to edit
grub.conf yourself under Red Hat Linux.

Gilbert E. Detillieux		E-mail:	<gedetil at cs.umanitoba.ca>
Dept. of Computer Science	Web:	http://www.cs.umanitoba.ca/~gedetil/
University of Manitoba		Phone:	(204)474-8161
Winnipeg, MB, CANADA  R3T 2N2	Fax:	(204)474-7609

More information about the Roundtable mailing list