[Ilugc] How to remove old kernels
- From: suraj@xxxxxxxxxxx (Suraj Kumar)
- Date: 12 Dec 2002 12:51:24 +0530
On Thu, 2002-12-12 at 12:02, Bharathi S wrote:
For the 1st
If Ur using LILO BootLoader then edit the /etc/lilo.conf
For more info read man lilo.conf :)
If you are new to grub and have been on lilo for a while, you will be
amazed at the capabilities of grub. You donot have to run "grub" or
"grub-install" everytime after you update your menu.lst file (the
equivalent of lilo.conf). grub reads from the menu.lst file everytime
before it loads and uses information from it. grub can be like a mini
OS! it can read many filesystems like ext2, reiserfs, etc.,. Many a
times I tend to forget my root partition and grub comes into the play...
at the grub menu I just have to do:
grub> find /etc/fstab
(hd0,5)
(hd1,3)
grub>
now from here, I can even look at the contents of the fstab file:
grub> root (hd0,5)
root (hd0,5)
filesystem type is ext2fs, partition type 0x83
grub> cat /etc/fstab
...
...
(contents of fstab file)
...
...
grub>
now I have a doubt, will grub continue to work if I remove menu.lst;
defragment my /boot filesystem; create menu.lst and without running
grub-install reboot the machine? there are things that I dont want to
try ;) has anybody tried this?
-Suraj
--
+--------------------------------------------<suraj@xxxxxxxxxxx>---+
|Who have seen different facets of life and opt for |
|renunciation, like not return to mundane routine |
|(consciousness of truth - 6), Thirukkural |
+---<
http://symonds.net/~suraj/>-----------------------------------+
Other related posts: