?

Log in

No account? Create an account
entries friends calendar profile my webpage Previous Previous Next Next
Linux question. - Tina Marie's Ramblings
Red hair and black leather, my favorite colour scheme...
skywhisperer
skywhisperer
Linux question.
My /boot is full. This is what it looks like:


-rw-r--r-- 1 root root 512 Feb 3 2006 boot.0300
-rw-r--r-- 1 root root 5824 Nov 15 2004 boot.b
-rw-r--r-- 1 root root 612 Nov 15 2004 chain.b
-rw-r--r-- 1 root root 48513 Jan 5 2006 config-2.6.9-22.0.2.EL
-rw-r--r-- 1 root root 48021 Jan 5 2006 config-2.6.9-22.0.2.ELsmp
-rw-r--r-- 1 root root 48509 Sep 19 2005 config-2.6.9-22.EL
-rw-r--r-- 1 root root 48017 Sep 19 2005 config-2.6.9-22.ELsmp
-rw-r--r-- 1 root root 49517 May 17 2006 config-2.6.9-34.0.1.EL
-rw-r--r-- 1 root root 49268 May 17 2006 config-2.6.9-34.0.1.ELsmp
-rw-r--r-- 1 root root 49513 Feb 24 2006 config-2.6.9-34.EL
-rw-r--r-- 1 root root 49264 Feb 24 2006 config-2.6.9-34.ELsmp
-rw-r--r-- 1 root root 50338 Feb 16 2007 config-2.6.9-42.0.10.EL
-rw-r--r-- 1 root root 49931 Feb 16 2007 config-2.6.9-42.0.10.ELsmp
-rw-r--r-- 1 root root 50337 Aug 17 2006 config-2.6.9-42.0.2.EL
-rw-r--r-- 1 root root 49930 Aug 17 2006 config-2.6.9-42.0.2.ELsmp
-rw-r--r-- 1 root root 50337 Sep 25 2006 config-2.6.9-42.0.3.EL
-rw-r--r-- 1 root root 49930 Sep 25 2006 config-2.6.9-42.0.3.ELsmp
-rw-r--r-- 1 root root 50337 Jan 23 2007 config-2.6.9-42.0.8.EL
-rw-r--r-- 1 root root 49930 Jan 23 2007 config-2.6.9-42.0.8.ELsmp
-rw-r--r-- 1 root root 50433 Oct 17 07:15 config-2.6.9-55.0.12.EL
-rw-r--r-- 1 root root 50058 Oct 17 07:30 config-2.6.9-55.0.12.ELsmp
-rw-r--r-- 1 root root 50432 Jun 12 2007 config-2.6.9-55.0.2.EL
-rw-r--r-- 1 root root 50057 Jun 12 2007 config-2.6.9-55.0.2.ELsmp
-rw-r--r-- 1 root root 50432 Aug 23 2007 config-2.6.9-55.0.6.EL
-rw-r--r-- 1 root root 50057 Aug 23 2007 config-2.6.9-55.0.6.ELsmp
-rw-r--r-- 1 root root 50432 Sep 25 2007 config-2.6.9-55.0.9.EL
-rw-r--r-- 1 root root 50057 Sep 25 2007 config-2.6.9-55.0.9.ELsmp
-rw-r--r-- 1 root root 50428 Apr 20 2007 config-2.6.9-55.EL
-rw-r--r-- 1 root root 50053 Apr 20 2007 config-2.6.9-55.ELsmp
-rw-r--r-- 1 root root 50924 Nov 30 10:48 config-2.6.9-67.0.1.EL
-rw-r--r-- 1 root root 50549 Nov 30 10:58 config-2.6.9-67.0.1.ELsmp
-rw-r--r-- 1 root root 50924 Jan 18 03:58 config-2.6.9-67.0.4.EL
-rw-r--r-- 1 root root 50549 Jan 18 04:08 config-2.6.9-67.0.4.ELsmp
-rw-r--r-- 1 root root 50920 Nov 7 12:55 config-2.6.9-67.EL
-rw-r--r-- 1 root root 50545 Nov 7 13:05 config-2.6.9-67.ELsmp
drwxr-xr-x 2 root root 1024 Feb 10 10:47 grub
-rw-r--r-- 1 root root 397186 Feb 3 2006 initrd-2.6.9-22.0.2.EL.img
-rw-r--r-- 1 root root 391959 Feb 3 2006 initrd-2.6.9-22.0.2.ELsmp.img
-rw-r--r-- 1 root root 395399 Feb 3 2006 initrd-2.6.9-22.EL.img
-rw-r--r-- 1 root root 390240 Feb 3 2006 initrd-2.6.9-22.ELsmp.img
-rw-r--r-- 1 root root 397282 Jun 3 2006 initrd-2.6.9-34.0.1.EL.img
-rw-r--r-- 1 root root 392140 Jun 3 2006 initrd-2.6.9-34.0.1.ELsmp.img
-rw-r--r-- 1 root root 397287 Mar 17 2006 initrd-2.6.9-34.EL.img
-rw-r--r-- 1 root root 392143 Mar 17 2006 initrd-2.6.9-34.ELsmp.img
-rw-r--r-- 1 root root 397573 Mar 6 2007 initrd-2.6.9-42.0.10.EL.img
-rw-r--r-- 1 root root 392466 Mar 6 2007 initrd-2.6.9-42.0.10.ELsmp.img
-rw-r--r-- 1 root root 397482 Sep 11 2006 initrd-2.6.9-42.0.2.EL.img
-rw-r--r-- 1 root root 392242 Sep 11 2006 initrd-2.6.9-42.0.2.ELsmp.img
-rw-r--r-- 1 root root 397501 Oct 17 2006 initrd-2.6.9-42.0.3.EL.img
-rw-r--r-- 1 root root 392292 Oct 17 2006 initrd-2.6.9-42.0.3.ELsmp.img
-rw-r--r-- 1 root root 397563 Feb 12 2007 initrd-2.6.9-42.0.8.EL.img
-rw-r--r-- 1 root root 392453 Feb 12 2007 initrd-2.6.9-42.0.8.ELsmp.img
-rw-r--r-- 1 root root 587749 Nov 2 14:02 initrd-2.6.9-55.0.12.EL.img
-rw-r--r-- 1 root root 582469 Nov 2 14:02 initrd-2.6.9-55.0.12.ELsmp.img
-rw-r--r-- 1 root root 587734 Jun 30 2007 initrd-2.6.9-55.0.2.EL.img
-rw-r--r-- 1 root root 582463 Jun 30 2007 initrd-2.6.9-55.0.2.ELsmp.img
-rw-r--r-- 1 root root 587745 Sep 4 2007 initrd-2.6.9-55.0.6.EL.img
-rw-r--r-- 1 root root 582462 Sep 4 2007 initrd-2.6.9-55.0.6.ELsmp.img
-rw-r--r-- 1 root root 587748 Oct 17 23:20 initrd-2.6.9-55.0.9.EL.img
-rw-r--r-- 1 root root 582459 Oct 17 23:20 initrd-2.6.9-55.0.9.ELsmp.img
-rw-r--r-- 1 root root 587731 May 13 2007 initrd-2.6.9-55.EL.img
-rw-r--r-- 1 root root 582456 May 13 2007 initrd-2.6.9-55.ELsmp.img
-rw-r--r-- 1 root root 591506 Dec 22 11:44 initrd-2.6.9-67.0.1.EL.img
-rw-r--r-- 1 root root 586475 Dec 22 11:44 initrd-2.6.9-67.0.1.ELsmp.img
-rw-r--r-- 1 root root 591499 Feb 10 10:47 initrd-2.6.9-67.0.4.EL.img
-rw-r--r-- 1 root root 586500 Feb 10 10:47 initrd-2.6.9-67.0.4.ELsmp.img
-rw-r--r-- 1 root root 589946 Nov 20 23:52 initrd-2.6.9-67.EL.img
-rw-r--r-- 1 root root 585156 Nov 20 23:51 initrd-2.6.9-67.ELsmp.img
drwx------ 2 root root 12288 Feb 3 2006 lost+found
-rw------- 1 root root 337408 Feb 10 10:47 map
-rw-r--r-- 1 root root 23108 Aug 3 2005 message
-rw-r--r-- 1 root root 21282 Aug 3 2005 message.ja
-rw-r--r-- 1 root root 640 Nov 15 2004 os2_d.b
-rw-r--r-- 1 root root 64308 Nov 30 10:48 symvers-2.6.9-67.0.1.EL.gz
-rw-r--r-- 1 root root 65129 Nov 30 10:58 symvers-2.6.9-67.0.1.ELsmp.gz
-rw-r--r-- 1 root root 64308 Jan 18 03:58 symvers-2.6.9-67.0.4.EL.gz
-rw-r--r-- 1 root root 65129 Jan 18 04:08 symvers-2.6.9-67.0.4.ELsmp.gz
-rw-r--r-- 1 root root 64308 Nov 7 12:55 symvers-2.6.9-67.EL.gz
-rw-r--r-- 1 root root 65129 Nov 7 13:05 symvers-2.6.9-67.ELsmp.gz
-rw-r--r-- 1 root root 731295 Jan 5 2006 System.map-2.6.9-22.0.2.EL
-rw-r--r-- 1 root root 758639 Jan 5 2006 System.map-2.6.9-22.0.2.ELsmp
-rw-r--r-- 1 root root 731262 Sep 19 2005 System.map-2.6.9-22.EL
-rw-r--r-- 1 root root 758606 Sep 19 2005 System.map-2.6.9-22.ELsmp
-rw-r--r-- 1 root root 733742 May 17 2006 System.map-2.6.9-34.0.1.EL
-rw-r--r-- 1 root root 761137 May 17 2006 System.map-2.6.9-34.0.1.ELsmp
-rw-r--r-- 1 root root 733742 Feb 24 2006 System.map-2.6.9-34.EL
-rw-r--r-- 1 root root 761137 Feb 24 2006 System.map-2.6.9-34.ELsmp
-rw-r--r-- 1 root root 750652 Feb 16 2007 System.map-2.6.9-42.0.10.EL
-rw-r--r-- 1 root root 767450 Feb 16 2007 System.map-2.6.9-42.0.10.ELsmp
-rw-r--r-- 1 root root 749489 Aug 17 2006 System.map-2.6.9-42.0.2.EL
-rw-r--r-- 1 root root 766287 Aug 17 2006 System.map-2.6.9-42.0.2.ELsmp
-rw-r--r-- 1 root root 749489 Sep 25 2006 System.map-2.6.9-42.0.3.EL
-rw-r--r-- 1 root root 766287 Sep 25 2006 System.map-2.6.9-42.0.3.ELsmp
-rw-r--r-- 1 root root 750652 Jan 23 2007 System.map-2.6.9-42.0.8.EL
-rw-r--r-- 1 root root 767450 Jan 23 2007 System.map-2.6.9-42.0.8.ELsmp
-rw-r--r-- 1 root root 754717 Oct 17 07:15 System.map-2.6.9-55.0.12.EL
-rw-r--r-- 1 root root 771586 Oct 17 07:30 System.map-2.6.9-55.0.12.ELsmp
-rw-r--r-- 1 root root 754505 Jun 12 2007 System.map-2.6.9-55.0.2.EL
-rw-r--r-- 1 root root 771374 Jun 12 2007 System.map-2.6.9-55.0.2.ELsmp
-rw-r--r-- 1 root root 754717 Aug 23 2007 System.map-2.6.9-55.0.6.EL
-rw-r--r-- 1 root root 771586 Aug 23 2007 System.map-2.6.9-55.0.6.ELsmp
-rw-r--r-- 1 root root 754717 Sep 25 2007 System.map-2.6.9-55.0.9.EL
-rw-r--r-- 1 root root 771586 Sep 25 2007 System.map-2.6.9-55.0.9.ELsmp
-rw-r--r-- 1 root root 754404 Apr 20 2007 System.map-2.6.9-55.EL
-rw-r--r-- 1 root root 771273 Apr 20 2007 System.map-2.6.9-55.ELsmp
-rw-r--r-- 1 root root 759989 Nov 30 10:48 System.map-2.6.9-67.0.1.EL
-rw-r--r-- 1 root root 776963 Nov 30 10:58 System.map-2.6.9-67.0.1.ELsmp
-rw-r--r-- 1 root root 759989 Jan 18 03:58 System.map-2.6.9-67.0.4.EL
-rw-r--r-- 1 root root 776963 Jan 18 04:08 System.map-2.6.9-67.0.4.ELsmp
-rw-r--r-- 1 root root 759989 Nov 7 12:55 System.map-2.6.9-67.EL
-rw-r--r-- 1 root root 776963 Nov 7 13:05 System.map-2.6.9-67.ELsmp
-rw-r--r-- 1 root root 1469083 Jan 5 2006 vmlinuz-2.6.9-22.0.2.EL
-rw-r--r-- 1 root root 1430907 Jan 5 2006 vmlinuz-2.6.9-22.0.2.ELsmp
-rw-r--r-- 1 root root 1465064 Sep 19 2005 vmlinuz-2.6.9-22.EL
-rw-r--r-- 1 root root 1426721 Sep 19 2005 vmlinuz-2.6.9-22.ELsmp
-rw-r--r-- 1 root root 1473103 May 17 2006 vmlinuz-2.6.9-34.0.1.EL
-rw-r--r-- 1 root root 1436104 May 17 2006 vmlinuz-2.6.9-34.0.1.ELsmp
-rw-r--r-- 1 root root 1473752 Feb 24 2006 vmlinuz-2.6.9-34.EL
-rw-r--r-- 1 root root 1436145 Feb 24 2006 vmlinuz-2.6.9-34.ELsmp
-rw-r--r-- 1 root root 1504567 Feb 16 2007 vmlinuz-2.6.9-42.0.10.EL
-rw-r--r-- 1 root root 1444674 Feb 16 2007 vmlinuz-2.6.9-42.0.10.ELsmp
-rw-r--r-- 1 root root 1504407 Aug 17 2006 vmlinuz-2.6.9-42.0.2.EL
-rw-r--r-- 1 root root 1444562 Aug 17 2006 vmlinuz-2.6.9-42.0.2.ELsmp
-rw-r--r-- 1 root root 1504432 Sep 25 2006 vmlinuz-2.6.9-42.0.3.EL
-rw-r--r-- 1 root root 1444580 Sep 25 2006 vmlinuz-2.6.9-42.0.3.ELsmp
-rw-r--r-- 1 root root 1504512 Jan 23 2007 vmlinuz-2.6.9-42.0.8.EL
-rw-r--r-- 1 root root 1444756 Jan 23 2007 vmlinuz-2.6.9-42.0.8.ELsmp
-rw-r--r-- 1 root root 1511574 Oct 17 07:15 vmlinuz-2.6.9-55.0.12.EL
-rw-r--r-- 1 root root 1451182 Oct 17 07:30 vmlinuz-2.6.9-55.0.12.ELsmp
-rw-r--r-- 1 root root 1511817 Jun 12 2007 vmlinuz-2.6.9-55.0.2.EL
-rw-r--r-- 1 root root 1450576 Jun 12 2007 vmlinuz-2.6.9-55.0.2.ELsmp
-rw-r--r-- 1 root root 1511605 Aug 23 2007 vmlinuz-2.6.9-55.0.6.EL
-rw-r--r-- 1 root root 1451007 Aug 23 2007 vmlinuz-2.6.9-55.0.6.ELsmp
-rw-r--r-- 1 root root 1511607 Sep 25 2007 vmlinuz-2.6.9-55.0.9.EL
-rw-r--r-- 1 root root 1451006 Sep 25 2007 vmlinuz-2.6.9-55.0.9.ELsmp
-rw-r--r-- 1 root root 1511688 Apr 20 2007 vmlinuz-2.6.9-55.EL
-rw-r--r-- 1 root root 1450494 Apr 20 2007 vmlinuz-2.6.9-55.ELsmp
-rw-r--r-- 1 root root 1518769 Nov 30 10:48 vmlinuz-2.6.9-67.0.1.EL
-rw-r--r-- 1 root root 1458830 Nov 30 10:58 vmlinuz-2.6.9-67.0.1.ELsmp
-rw-r--r-- 1 root root 1518755 Jan 18 03:58 vmlinuz-2.6.9-67.0.4.EL
-rw-r--r-- 1 root root 1458843 Jan 18 04:08 vmlinuz-2.6.9-67.0.4.ELsmp
-rw-r--r-- 1 root root 1518697 Nov 7 12:55 vmlinuz-2.6.9-67.EL
-rw-r--r-- 1 root root 1458898 Nov 7 13:05 vmlinuz-2.6.9-67.ELsmp

lilo.conf:


prompt
timeout=20
default=2.6.9-67.0.4.E1
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
message=/boot/message
lba32

image=/boot/vmlinuz-2.6.9-67.0.4.ELsmp
label=2.6.9-67.0.4.E1
append="root=/dev/hda5"
read-only
initrd=/boot/initrd-2.6.9-67.0.4.ELsmp.img
image=/boot/vmlinuz-2.6.9-67.0.4.EL
label=2.6.9-67.0.4.EL
append="root=/dev/hda5"
read-only
initrd=/boot/initrd-2.6.9-67.0.4.EL.img
image=/boot/vmlinuz-2.6.9-67.0.1.ELsmp
label=2.6.9-67.0.1.E1
append="root=/dev/hda5"
read-only
initrd=/boot/initrd-2.6.9-67.0.1.ELsmp.img
image=/boot/vmlinuz-2.6.9-67.0.1.EL
label=2.6.9-67.0.1.EL
append="root=/dev/hda5"
read-only
initrd=/boot/initrd-2.6.9-67.0.1.EL.img
image=/boot/vmlinuz-2.6.9-67.EL
label=2.6.9-67.EL
append="root=/dev/hda5"
read-only
initrd=/boot/initrd-2.6.9-67.EL.img
image=/boot/vmlinuz-2.6.9-67.ELsmp
label=2.6.9-67.ELsmp
append="root=/dev/hda5"
read-only
initrd=/boot/initrd-2.6.9-67.ELsmp.img
image=/boot/vmlinuz-2.6.9-55.0.12.ELsmp
label=2.6.9-55.0.12.1
append="root=/dev/hda5"
read-only
initrd=/boot/initrd-2.6.9-55.0.12.ELsmp.img
image=/boot/vmlinuz-2.6.9-55.0.12.EL
label=2.6.9-55.0.12.E
append="root=/dev/hda5"
read-only
initrd=/boot/initrd-2.6.9-55.0.12.EL.img
image=/boot/vmlinuz-2.6.9-55.0.9.ELsmp
label=2.6.9-55.0.9.E1
append="root=/dev/hda5"
read-only
initrd=/boot/initrd-2.6.9-55.0.9.ELsmp.img
image=/boot/vmlinuz-2.6.9-55.0.9.EL
label=2.6.9-55.0.9.EL
append="root=/dev/hda5"
read-only
initrd=/boot/initrd-2.6.9-55.0.9.EL.img
image=/boot/vmlinuz-2.6.9-55.0.6.ELsmp
label=2.6.9-55.0.6.E1
append="root=/dev/hda5"
read-only
initrd=/boot/initrd-2.6.9-55.0.6.ELsmp.img
image=/boot/vmlinuz-2.6.9-55.0.6.EL
label=2.6.9-55.0.6.EL
append="root=/dev/hda5"
read-only
initrd=/boot/initrd-2.6.9-55.0.6.EL.img
image=/boot/vmlinuz-2.6.9-55.0.2.EL
label=2.6.9-55.0.2.EL
append="root=/dev/hda5"
read-only
initrd=/boot/initrd-2.6.9-55.0.2.EL.img
image=/boot/vmlinuz-2.6.9-55.EL
label=2.6.9-55.EL
append="root=/dev/hda5"
read-only
initrd=/boot/initrd-2.6.9-55.EL.img
image=/boot/vmlinuz-2.6.9-55.ELsmp
label=2.6.9-55.ELsmp
append="root=/dev/hda5"
read-only
initrd=/boot/initrd-2.6.9-55.ELsmp.img


I know I don't need all that. How do I get rid of it without breaking something? As long as I entirely remove one version from lilo.conf and from /boot, should I be okay? And is there a way to tell lilo not to do this again? One version back is nice. Two would be okay. What I have is ridiculous.

Tags:
Current Mood: confused confused

5 comments or Leave a comment
Comments
(Deleted comment)
alioth1 From: alioth1 Date: March 29th, 2008 01:44 pm (UTC) (Link)
Get rid of everything from lilo.conf except from what you're booting.

Then run /sbin/lilo.

The fact you're running lilo indicates the distro you're on isn't all that new - everyone's been running grub (the Grand Unified Boot Loader) for three or four years now. Grub's a bit more configurable (and doesn't need to be run every time you change the config - it understands the file system and reads it at boot time for its config file)
skywhisperer From: skywhisperer Date: April 3rd, 2008 08:41 am (UTC) (Link)
That worked, thanks! And I'm running Rhel 4, which isn't terribly ancient...
alioth1 From: alioth1 Date: April 7th, 2008 11:54 am (UTC) (Link)
Hmmm - I thought RHEL4 used grub (CentOS 4 certainly does). Or perhaps it was an install-time option to use either grub or LILO with that release.
skywhisperer From: skywhisperer Date: April 7th, 2008 03:19 pm (UTC) (Link)
I didn't do the original install (it's a Planet box), so I'm not sure. And I've never installed RHEL4 myself - the box at home runs Fedora.
5 comments or Leave a comment