[CentOS] ext4?

Robert Heller heller at deepsoft.com
Mon Aug 9 12:00:17 UTC 2010


At Mon, 9 Aug 2010 12:08:29 +0100 CentOS mailing list <centos at centos.org> wrote:

> 
> Hi Keith, thanks for your detailed reply. I haven't tried this yet..
> 
> What I have done is follow this tutorial to build the latest kernel
> (http://wiki.centos.org/HowTos/Custom_Kernel) which in the end game me
> an rpm of it for installation however when it came to install the rpm
> the follow was displayed;
> 
> package kernel-2.6.18-194.8.1.el5.x86_64 is already installed
> file /boot/.vmlinuz-2.6.18-194.8.1.el5.hmac from install of
> kernel-2.6.18-194.8.1.el5.x86_64 conflicts with file from package
> kernel-2.6.18-194.8.1.el5.x86_64
> file /boot/System.map-2.6.18-194.8.1.el5 from install of
> kernel-2.6.18-194.8.1.el5.x86_64 conflicts with file from package
> kernel-2.6.18-194.8.1.el5.x86_64
> file /boot/config-2.6.18-194.8.1.el5 from install of
> kernel-2.6.18-194.8.1.el5.x86_64 conflicts with file from package
> kernel-2.6.18-194.8.1.el5.x86_64
> file /boot/symvers-2.6.18-194.8.1.el5.gz from install of
> kernel-2.6.18-194.8.1.el5.x86_64 conflicts with file from package
> kernel-2.6.18-194.8.1.el5.x86_64
> file /boot/vmlinuz-2.6.18-194.8.1.el5 from install of
> kernel-2.6.18-194.8.1.el5.x86_64 conflicts with file from package
> kernel-2.6.18-194.8.1.el5.x86_64

Do the rpm install with --force.  This will forcably re-install the rpms.

> 
> 
> However none of these files exist in /boot?

Somehow when you installed the kernels before /boot was not mounted or
something.

Question: is /boot mounted readonly?

> 
> [nf5002 at eros ~]$ ls -la /boot
> total 5727
> drwxr-xr-x  4 root root    1024 Aug  9 12:04 .
> drwxr-xr-x 25 root root    4096 Aug  9 11:46 ..
> -rw-r--r--  1 root root   62395 Jun 11  2008 config-2.6.18-92.el5
> drwxr-xr-x  2 root root    1024 Aug  9 11:34 grub
> -rw-------  1 root root 2544058 Oct 27  2008 initrd-2.6.18-92.el5.img
> drwx------  2 root root   12288 Oct 27  2008 lost+found
> -rw-r--r--  1 root root   80032 Nov 22  2007 message
> -rw-r--r--  1 root root   92749 Jun 11  2008 symvers-2.6.18-92.el5.gz
> -rw-r--r--  1 root root 1162656 Jun 11  2008 System.map-2.6.18-92.el5
> -rw-r--r--  1 root root 1859484 Jun 11  2008 vmlinuz-2.6.18-92.el5
> 
> This must some how relate to the fact the boot is on a different
> device, so where does CentOS think /boot is? I mean, the system is
> booting, has been for a few years so its working? If I unmount /boot I
> can't ls /boot, its empty?
> 
> [nf5002 at eros ~]$ df -h
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/sda1              28G  8.3G   18G  33% /
> /dev/sdb1             119M   12M  103M  10% /boot
> 
> /dev/sda2 is a 3.3TB ext4 partition, so /dev/sda uses GPT hence /boot
> being on a seperate device.
> 

-- 
Robert Heller             -- Get the Deepwoods Software FireFox Toolbar!
Deepwoods Software        -- Linux Installation and Administration
http://www.deepsoft.com/  -- Web Hosting, with CGI and Database
heller at deepsoft.com       -- Contract Programming: C/C++, Tcl/Tk

                                                                                                                            



More information about the CentOS mailing list