Re: [Newbie] Reclaiming /boot space

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



OK, here is what I have after manually copying files back to 
/boot, leaving behind old kernel files:

/boot/:
total 9169
drwxr-xr-x   5 root root    9216 Mar  8 20:24 .
drwxr-xr-x  24 root root    4096 Jan 24 08:34 ..
-rw-r--r--   1 root root   51676 Feb 17 22:41 config-2.6.9-100.EL
-rw-r--r--   1 root root   51645 Mar  8 17:38 config-2.6.9-89.35.1.EL
-rw-r--r--   1 root root   51270 Mar  8 17:38 
config-2.6.9-89.35.1.ELsmp
drwxr-xr-x   2 root root    1024 Mar  8 20:38 grub
-rw-r--r--   1 root root 1343048 Mar  8 20:24 initrd-2.6.9-100.EL.img
-rw-r--r--   1 root root  692224 Mar  8 17:51 
initrd-2.6.9-89.35.1.EL.img
-rw-r--r--   1 root root       0 Mar  8 17:51 
initrd-2.6.9-89.35.1.ELsmp.img
drwx------   2 root root   12288 Jan 12  2007 lost+found
-rw-r--r--   1 root root    9371 Mar  8 17:46 message
-rw-r--r--   1 root root    9371 Mar  8 17:46 message.ja
-rw-r--r--   1 root root   67797 Feb 17 22:41 symvers-2.6.9-100.EL.gz
-rw-r--r--   1 root root   67701 Mar  8 17:49 
symvers-2.6.9-89.35.1.EL.gz
-rw-r--r--   1 root root   68477 Mar  8 17:49 
symvers-2.6.9-89.35.1.ELsmp.gz
-rw-r--r--   1 root root  770652 Feb 17 22:41 System.map-2.6.9-100.EL
-rw-r--r--   1 root root  769061 Mar  8 17:48 
System.map-2.6.9-89.35.1.EL
-rw-r--r--   1 root root  786055 Mar  8 17:48 
System.map-2.6.9-89.35.1.ELsmp
drwx------   2 root root    9216 Mar  8 17:58 .Trash-root
-rw-r--r--   1 root root 1538264 Feb 17 22:41 vmlinuz-2.6.9-100.EL
-rw-r--r--   1 root root 1536995 Mar  8 17:47 
vmlinuz-2.6.9-89.35.1.EL
-rw-r--r--   1 root root 1472967 Mar  8 17:47 
vmlinuz-2.6.9-89.35.1.ELsmp

/boot/grub:
total 345
drwxr-xr-x  2 root root   1024 Mar  8 20:38 .
drwxr-xr-x  5 root root   9216 Mar  8 20:24 ..
-rw-r--r--  1 root root     82 Mar  8 17:39 device.map
-rw-r--r--  1 root root   7956 Mar  8 17:40 e2fs_stage1_5
-rw-r--r--  1 root root   7684 Mar  8 17:40 fat_stage1_5
-rw-r--r--  1 root root   6996 Mar  8 17:40 ffs_stage1_5
-rw-------  2 root root   4240 Mar  8 20:24 grub.conf
-rw-r--r--  1 root root   7028 Mar  8 17:40 iso9660_stage1_5
-rw-r--r--  1 root root   8448 Mar  8 17:40 jfs_stage1_5
-rw-------  2 root root   4240 Mar  8 20:24 menu.lst
-rw-r--r--  1 root root   7188 Mar  8 17:40 minix_stage1_5
-rw-r--r--  1 root root   9396 Mar  8 17:40 reiserfs_stage1_5
-rw-r--r--  1 root root    512 Mar  8 17:45 stage1
-rw-r--r--  1 root root 103688 Mar  8 17:45 stage2
-rw-r--r--  1 root root  67701 Mar  8 18:30 
symvers-2.6.9-89.35.1.EL.gz
-rw-r--r--  1 root root  68477 Mar  8 18:30 
symvers-2.6.9-89.35.1.ELsmp.gz
-rw-r--r--  1 root root   7272 Mar  8 17:40 ufs2_stage1_5
-rw-r--r--  1 root root   6612 Mar  8 17:40 vstafs_stage1_5
-rw-r--r--  1 root root   9308 Mar  8 17:40 xfs_stage1_5

/boot/lost+found:
total 22
drwx------  2 root root 12288 Jan 12  2007 .
drwxr-xr-x  5 root root  9216 Mar  8 20:24 ..

/boot/.Trash-root:
total 81058
drwx------  2 root root    9216 Mar  8 17:58 .
drwxr-xr-x  5 root root    9216 Mar  8 20:24 ..
-rw-r--r--  1 root root   51502 Jan 14  2009 config-2.6.9-78.0.13.EL
-rw-r--r--  1 root root   51127 Jan 14  2009 
config-2.6.9-78.0.13.ELsmp
-rw-r--r--  1 root root   51614 Sep 15  2009 config-2.6.9-89.0.11.EL
-rw-r--r--  1 root root   51239 Sep 15  2009 
config-2.6.9-89.0.11.ELsmp
-rw-r--r--  1 root root   51614 Nov  3  2009 config-2.6.9-89.0.16.EL
-rw-r--r--  1 root root   51239 Nov  3  2009 
config-2.6.9-89.0.16.ELsmp
-rw-r--r--  1 root root   51614 Dec 15  2009 config-2.6.9-89.0.18.EL
-rw-r--r--  1 root root   51239 Dec 15  2009 
config-2.6.9-89.0.18.ELsmp
-rw-r--r--  1 root root   51614 Jan  8  2010 config-2.6.9-89.0.19.EL
-rw-r--r--  1 root root   51239 Jan  8  2010 
config-2.6.9-89.0.19.ELsmp
-rw-r--r--  1 root root   51614 Feb  2  2010 config-2.6.9-89.0.20.EL
-rw-r--r--  1 root root   51239 Feb  2  2010 
config-2.6.9-89.0.20.ELsmp
-rw-r--r--  1 root root   51645 May  6  2010 config-2.6.9-89.0.25.EL
-rw-r--r--  1 root root   51270 May  6  2010 
config-2.6.9-89.0.25.ELsmp
-rw-r--r--  1 root root   51645 Aug 20  2010 config-2.6.9-89.0.28.EL
-rw-r--r--  1 root root   51270 Aug 20  2010 
config-2.6.9-89.0.28.ELsmp
-rw-r--r--  1 root root   51645 Oct 19 14:27 config-2.6.9-89.31.1.EL
-rw-r--r--  1 root root   51270 Oct 19 15:17 
config-2.6.9-89.31.1.ELsmp
-rw-r--r--  1 root root   51645 Dec  2 07:23 config-2.6.9-89.33.1.EL
-rw-r--r--  1 root root   51270 Dec  2 07:41 
config-2.6.9-89.33.1.ELsmp
-rw-r--r--  1 root root   51645 Jan 18 15:06 config-2.6.9-89.35.1.EL
-rw-r--r--  1 root root   51270 Jan 18 15:36 
config-2.6.9-89.35.1.ELsmp
-rw-r--r--  1 root root      82 Jan 13  2007 device.map
-rw-r--r--  1 root root    7956 Jan 13  2007 e2fs_stage1_5
-rw-r--r--  1 root root    7684 Jan 13  2007 fat_stage1_5
-rw-r--r--  1 root root    6996 Jan 13  2007 ffs_stage1_5
-rw-------  1 root root    4091 Jan 28 07:21 grub.conf
-rw-r--r--  1 root root 1333301 Mar 14  2009 
initrd-2.6.9-78.0.13.EL.img
-rw-r--r--  1 root root 1319564 Mar 14  2009 
initrd-2.6.9-78.0.13.ELsmp.img
-rw-r--r--  1 root root 1342750 Sep 22  2009 
initrd-2.6.9-89.0.11.EL.img
-rw-r--r--  1 root root 1327296 Sep 22  2009 
initrd-2.6.9-89.0.11.ELsmp.img
-rw-r--r--  1 root root 1342746 Nov 26  2009 
initrd-2.6.9-89.0.16.EL.img
-rw-r--r--  1 root root 1327291 Nov 26  2009 
initrd-2.6.9-89.0.16.ELsmp.img
-rw-r--r--  1 root root 1342761 Dec 24  2009 
initrd-2.6.9-89.0.18.EL.img
-rw-r--r--  1 root root 1327310 Dec 24  2009 
initrd-2.6.9-89.0.18.ELsmp.img
-rw-r--r--  1 root root 1342742 Jan 26  2010 
initrd-2.6.9-89.0.19.EL.img
-rw-r--r--  1 root root 1327294 Jan 26  2010 
initrd-2.6.9-89.0.19.ELsmp.img
-rw-r--r--  1 root root 1342764 Feb  4  2010 
initrd-2.6.9-89.0.20.EL.img
-rw-r--r--  1 root root 1327296 Feb  4  2010 
initrd-2.6.9-89.0.20.ELsmp.img
-rw-r--r--  1 root root 1343054 Jun 11  2010 
initrd-2.6.9-89.0.25.EL.img
-rw-r--r--  1 root root 1327615 Jun 11  2010 
initrd-2.6.9-89.0.25.ELsmp.img
-rw-r--r--  1 root root 1343135 Aug 26  2010 
initrd-2.6.9-89.0.28.EL.img
-rw-r--r--  1 root root 1327568 Aug 26  2010 
initrd-2.6.9-89.0.28.ELsmp.img
-rw-r--r--  1 root root 1343143 Nov 12 07:39 
initrd-2.6.9-89.31.1.EL.img
-rw-r--r--  1 root root 1327711 Nov 12 07:39 
initrd-2.6.9-89.31.1.ELsmp.img
-rw-r--r--  1 root root 1343556 Jan 13 09:18 
initrd-2.6.9-89.33.1.EL.img
-rw-r--r--  1 root root 1328928 Jan 13 09:17 
initrd-2.6.9-89.33.1.ELsmp.img
-rw-r--r--  1 root root 1343561 Jan 28 07:21 
initrd-2.6.9-89.35.1.EL.img
-rw-r--r--  1 root root 1328788 Jan 28 07:21 
initrd-2.6.9-89.35.1.ELsmp.img
-rw-r--r--  1 root root    7028 Jan 13  2007 iso9660_stage1_5
-rw-r--r--  1 root root    8448 Jan 13  2007 jfs_stage1_5
lrwxrwxrwx  1 root root      11 Jan 13  2007 menu.lst -> ./grub.conf
-rw-r--r--  1 root root    9371 Aug 12  2006 message
-rw-r--r--  1 root root    9371 Aug 12  2006 message.ja
-rw-r--r--  1 root root    7188 Jan 13  2007 minix_stage1_5
-rw-r--r--  1 root root    9396 Jan 13  2007 reiserfs_stage1_5
-rw-r--r--  1 root root    3605 Aug 12  2006 splash.xpm.gz
-rw-r--r--  1 root root     512 Jan 13  2007 stage1
-rw-r--r--  1 root root  103688 Jan 13  2007 stage2
-rw-r--r--  1 root root   66235 Jan 14  2009 
symvers-2.6.9-78.0.13.EL.gz
-rw-r--r--  1 root root   67032 Jan 14  2009 
symvers-2.6.9-78.0.13.ELsmp.gz
-rw-r--r--  1 root root   67596 Sep 15  2009 
symvers-2.6.9-89.0.11.EL.gz
-rw-r--r--  1 root root   68382 Sep 15  2009 
symvers-2.6.9-89.0.11.ELsmp.gz
-rw-r--r--  1 root root   67596 Nov  3  2009 
symvers-2.6.9-89.0.16.EL.gz
-rw-r--r--  1 root root   68382 Nov  3  2009 
symvers-2.6.9-89.0.16.ELsmp.gz
-rw-r--r--  1 root root   67596 Dec 15  2009 
symvers-2.6.9-89.0.18.EL.gz
-rw-r--r--  1 root root   68382 Dec 15  2009 
symvers-2.6.9-89.0.18.ELsmp.gz
-rw-r--r--  1 root root   67596 Jan  8  2010 
symvers-2.6.9-89.0.19.EL.gz
-rw-r--r--  1 root root   68382 Jan  8  2010 
symvers-2.6.9-89.0.19.ELsmp.gz
-rw-r--r--  1 root root   67596 Feb  2  2010 
symvers-2.6.9-89.0.20.EL.gz
-rw-r--r--  1 root root   68382 Feb  2  2010 
symvers-2.6.9-89.0.20.ELsmp.gz
-rw-r--r--  1 root root   67650 May  6  2010 
symvers-2.6.9-89.0.25.EL.gz
-rw-r--r--  1 root root   68434 May  6  2010 
symvers-2.6.9-89.0.25.ELsmp.gz
-rw-r--r--  1 root root   67650 Aug 20  2010 
symvers-2.6.9-89.0.28.EL.gz
-rw-r--r--  1 root root   68434 Aug 20  2010 
symvers-2.6.9-89.0.28.ELsmp.gz
-rw-r--r--  1 root root   67667 Oct 19 14:30 
symvers-2.6.9-89.31.1.EL.gz
-rw-r--r--  1 root root   68453 Oct 19 15:17 
symvers-2.6.9-89.31.1.ELsmp.gz
-rw-r--r--  1 root root   67701 Dec  2 07:24 
symvers-2.6.9-89.33.1.EL.gz
-rw-r--r--  1 root root   68477 Dec  2 07:42 
symvers-2.6.9-89.33.1.ELsmp.gz
-rw-r--r--  1 root root   67701 Jan 18 15:07 
symvers-2.6.9-89.35.1.EL.gz
-rw-r--r--  1 root root   68477 Jan 18 15:36 
symvers-2.6.9-89.35.1.ELsmp.gz
-rw-r--r--  1 root root  780162 Jan 14  2009 
System.map-2.6.9-78.0.13.EL
-rw-r--r--  1 root root  797154 Jan 14  2009 
System.map-2.6.9-78.0.13.ELsmp
-rw-r--r--  1 root root  768606 Sep 15  2009 
System.map-2.6.9-89.0.11.EL
-rw-r--r--  1 root root  785600 Sep 15  2009 
System.map-2.6.9-89.0.11.ELsmp
-rw-r--r--  1 root root  768660 Nov  3  2009 
System.map-2.6.9-89.0.16.EL
-rw-r--r--  1 root root  785654 Nov  3  2009 
System.map-2.6.9-89.0.16.ELsmp
-rw-r--r--  1 root root  768688 Dec 15  2009 
System.map-2.6.9-89.0.18.EL
-rw-r--r--  1 root root  785682 Dec 15  2009 
System.map-2.6.9-89.0.18.ELsmp
-rw-r--r--  1 root root  768688 Jan  8  2010 
System.map-2.6.9-89.0.19.EL
-rw-r--r--  1 root root  785682 Jan  8  2010 
System.map-2.6.9-89.0.19.ELsmp
-rw-r--r--  1 root root  768688 Feb  2  2010 
System.map-2.6.9-89.0.20.EL
-rw-r--r--  1 root root  785682 Feb  2  2010 
System.map-2.6.9-89.0.20.ELsmp
-rw-r--r--  1 root root  768853 May  6  2010 
System.map-2.6.9-89.0.25.EL
-rw-r--r--  1 root root  785847 May  6  2010 
System.map-2.6.9-89.0.25.ELsmp
-rw-r--r--  1 root root  768881 Aug 20  2010 
System.map-2.6.9-89.0.28.EL
-rw-r--r--  1 root root  785875 Aug 20  2010 
System.map-2.6.9-89.0.28.ELsmp
-rw-r--r--  1 root root  769059 Oct 19 14:27 
System.map-2.6.9-89.31.1.EL
-rw-r--r--  1 root root  786053 Oct 19 15:17 
System.map-2.6.9-89.31.1.ELsmp
-rw-r--r--  1 root root  769059 Dec  2 07:23 
System.map-2.6.9-89.33.1.EL
-rw-r--r--  1 root root  786053 Dec  2 07:41 
System.map-2.6.9-89.33.1.ELsmp
-rw-r--r--  1 root root  769061 Jan 18 15:06 
System.map-2.6.9-89.35.1.EL
-rw-r--r--  1 root root  786055 Jan 18 15:36 
System.map-2.6.9-89.35.1.ELsmp
-rw-r--r--  1 root root    7272 Jan 13  2007 ufs2_stage1_5
-rw-r--r--  1 root root 1545561 Jan 14  2009 vmlinuz-2.6.9-78.0.13.EL
-rw-r--r--  1 root root 1483646 Jan 14  2009 
vmlinuz-2.6.9-78.0.13.ELsmp
-rw-r--r--  1 root root 1533468 Sep 15  2009 vmlinuz-2.6.9-89.0.11.EL
-rw-r--r--  1 root root 1472648 Sep 15  2009 
vmlinuz-2.6.9-89.0.11.ELsmp
-rw-r--r--  1 root root 1536244 Nov  3  2009 vmlinuz-2.6.9-89.0.16.EL
-rw-r--r--  1 root root 1472608 Nov  3  2009 
vmlinuz-2.6.9-89.0.16.ELsmp
-rw-r--r--  1 root root 1536254 Dec 15  2009 vmlinuz-2.6.9-89.0.18.EL
-rw-r--r--  1 root root 1472585 Dec 15  2009 
vmlinuz-2.6.9-89.0.18.ELsmp
-rw-r--r--  1 root root 1536247 Jan  8  2010 vmlinuz-2.6.9-89.0.19.EL
-rw-r--r--  1 root root 1472612 Jan  8  2010 
vmlinuz-2.6.9-89.0.19.ELsmp
-rw-r--r--  1 root root 1536258 Feb  2  2010 vmlinuz-2.6.9-89.0.20.EL
-rw-r--r--  1 root root 1472655 Feb  2  2010 
vmlinuz-2.6.9-89.0.20.ELsmp
-rw-r--r--  1 root root 1536380 May  6  2010 vmlinuz-2.6.9-89.0.25.EL
-rw-r--r--  1 root root 1472613 May  6  2010 
vmlinuz-2.6.9-89.0.25.ELsmp
-rw-r--r--  1 root root 1536716 Aug 20  2010 vmlinuz-2.6.9-89.0.28.EL
-rw-r--r--  1 root root 1472739 Aug 20  2010 
vmlinuz-2.6.9-89.0.28.ELsmp
-rw-r--r--  1 root root 1536908 Oct 19 14:27 vmlinuz-2.6.9-89.31.1.EL
-rw-r--r--  1 root root 1472798 Oct 19 15:17 
vmlinuz-2.6.9-89.31.1.ELsmp
-rw-r--r--  1 root root 1536830 Dec  2 07:23 vmlinuz-2.6.9-89.33.1.EL
-rw-r--r--  1 root root 1472713 Dec  2 07:41 
vmlinuz-2.6.9-89.33.1.ELsmp
-rw-r--r--  1 root root 1536995 Jan 18 15:06 vmlinuz-2.6.9-89.35.1.EL
-rw-r--r--  1 root root 1472967 Jan 18 15:36 
vmlinuz-2.6.9-89.35.1.ELsmp
-rw-r--r--  1 root root    6612 Jan 13  2007 vstafs_stage1_5
-rw-r--r--  1 root root    9308 Jan 13  2007 xfs_stage1_5


On 3/9/2011 12:12 AM, Simon Matter wrote:
>> Yes...thank you for the suggestion...since that was the cause of
>> my problem in the first place!!  I should have known better; all
>> I had to do was remove some of the outdated kernel files.  And
>> when I did the dumb thing of deleting the /boot files, they were
>> moved into the "protected" .Trash-boot directory.
> OK, now let us know exactly what you have. Is it CentOS 4 as I expected?
> If so, the listing of files in /boot should look like so:
>
> [root@abc ~]# ls -laR /boot/
> /boot/:
> total 3771
> drwxr-xr-x   4 root root    1024 Mar  3 11:31 .
> drwxr-xr-x  24 root root    4096 Mar  3 11:37 ..
> -rw-r--r--   1 root root   51676 Feb 18 07:41 config-2.6.9-100.EL
> drwxr-xr-x   2 root root    1024 Mar  3 11:31 grub
> -rw-r--r--   1 root root 1364958 Mar  3 11:20 initrd-2.6.9-100.EL.img
> drwx------   2 root root   12288 Jul  8  2005 lost+found
> -rw-r--r--   1 root root    9371 Aug 13  2006 message
> -rw-r--r--   1 root root    9371 Aug 13  2006 message.ja
> -rw-r--r--   1 root root   67797 Feb 18 07:41 symvers-2.6.9-100.EL.gz
> -rw-r--r--   1 root root  770652 Feb 18 07:41 System.map-2.6.9-100.EL
> -rw-r--r--   1 root root 1538264 Feb 18 07:41 vmlinuz-2.6.9-100.EL
>
> /boot/grub:
> total 198
> drwxr-xr-x  2 root root   1024 Mar  3 11:31 .
> drwxr-xr-x  4 root root   1024 Mar  3 11:31 ..
> -rw-r--r--  1 root root     82 Aug  9  2005 device.map
> -rw-r--r--  1 root root   7956 Aug  9  2005 e2fs_stage1_5
> -rw-r--r--  1 root root   7684 Aug  9  2005 fat_stage1_5
> -rw-r--r--  1 root root   6996 Aug  9  2005 ffs_stage1_5
> -rw-------  1 root root    589 Mar  3 11:31 grub.conf
> -rw-------  1 root root    593 Aug  9  2005 grub.conf.orig
> -rw-r--r--  1 root root   7028 Aug  9  2005 iso9660_stage1_5
> -rw-r--r--  1 root root   8448 Aug  9  2005 jfs_stage1_5
> lrwxrwxrwx  1 root root     11 Aug  9  2005 menu.lst ->  ./grub.conf
> -rw-r--r--  1 root root   7188 Aug  9  2005 minix_stage1_5
> -rw-r--r--  1 root root   9396 Aug  9  2005 reiserfs_stage1_5
> -rw-r--r--  1 root root   3605 Aug 13  2006 splash.xpm.gz
> -rw-r--r--  1 root root    512 Aug  9  2005 stage1
> -rw-r--r--  1 root root 103816 Aug  9  2005 stage2
> -rw-r--r--  1 root root   7272 Aug  9  2005 ufs2_stage1_5
> -rw-r--r--  1 root root   6612 Aug  9  2005 vstafs_stage1_5
> -rw-r--r--  1 root root   9308 Aug  9  2005 xfs_stage1_5
>
> /boot/lost+found:
> total 14
> drwx------  2 root root 12288 Jul  8  2005 .
> drwxr-xr-x  4 root root  1024 Mar  3 11:31 ..
>
> 1) I don't know which tool you have used to move things to "Trash" but you
> should be aware that it may well be the case that some permissions and or
> file types like symlinks may not be correct after recovering from "Trash".
>
> 2) The directory "lost+found" can be recreated using the command
> 'mklost+found'
>
> 3) I'm not sure on how to make grub work again, but maybe some steps qre
> required after copying everything back to /boot. I hope someone else can
> give you better info about this.
>
> Simon
>
>
>>
>> Todd
>>
>> On 3/8/2011 5:51 PM, compdoc wrote:
>>> Besides recovering the files, you'll need to delete some of them to free
>>> up
>>> space.
>>>
>>> Here's an idea of how to go about it:
>>>
>>> http://www.howtoforge.com/forums/showthread.php?t=19788
>>>
>>>
>>>
>>> _______________________________________________
>>> CentOS mailing list
>>> CentOS@xxxxxxxxxx
>>> http://lists.centos.org/mailman/listinfo/centos
>>>
>>>
>> --
>> Ariste Software
>> Petaluma, CA 94952
>>
>> http://www.aristesoftware.com
>>
>> _______________________________________________
>> CentOS mailing list
>> CentOS@xxxxxxxxxx
>> http://lists.centos.org/mailman/listinfo/centos
>>
>
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
>
>

-- 
Ariste Software
Petaluma, CA 94952

http://www.aristesoftware.com

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux