Installing CentOS 6 On An Old Bird

Home » CentOS » Installing CentOS 6 On An Old Bird
CentOS 12 Comments

Guys,

I’ve been trying to install CentOS 6.2, then 6.3 onto a supermicro 6013P-8 which does not have a DVD rom drive. Those newer version of CentOS only have DVD (not CD) iso versions so I’ve been sharing the install via NFS.

With each try the install hangs forever installing ‘selinux-policy-targeted-3.7.19-154.el6.noarch’. How can I disable that feature and / or SE Linux altogether so that I can get CentOS 6 installed? I would of course install SE Linux once the box was up.

I’d really appreciate some advice here.

Thanks!
Tim

12 thoughts on - Installing CentOS 6 On An Old Bird

  • Hi Tim,

    What if you symlink the shared nfs dir to /var/www/html/somedir and try the http protocol? May help?

    Phil

  • Or create a simple kickstart file that would specify the HTTP or FTP method and install from a public mirror?

    Andrew Reis

    Microsoft Windows/Networking Support Webmaster DBMS Inc. Toll-Free: (888) 862-0662 ext. 307
    Direct: (318) 219-5034
    andy@dbmsinc.com http://www.dbmsinc.com

    —–Original Message—

  • T24gMDcvMTEvMjAxMiAwMjo1MyBQTSwgVGltIER1bnBoeSB3cm90ZToKPiBHdXlzLAo+Cj4gICBJ
    J3ZlIGJlZW4gdHJ5aW5nIHRvIGluc3RhbGwgY2VudG9zIDYuMiwgdGhlbiA2LjMgb250byBhIHN1
    cGVybWljcm8gNjAxM1AtOAo+IHdoaWNoIGRvZXMgbm90IGhhdmUgYSBEVkQgcm9tIGRyaXZlLiBU
    aG9zZSBuZXdlciB2ZXJzaW9uIG9mIENlbnRPUyBvbmx5Cj4gaGF2ZSBEVkQgKG5vdCBDRCkgaXNv IHZlcnNpb25zIHNvIEkndmUgYmVlbiBzaGFyaW5nIHRoZSBpbnN0YWxsIHZpYSBORlMuCj4KPgo+
    IFdpdGggZWFjaCB0cnkgdGhlIGluc3RhbGwgaGFuZ3MgZm9yZXZlciBpbnN0YWxsaW5nCj4gJ3Nl bGludXgtcG9saWN5LXRhcmdldGVkLTMuNy4xOS0xNTQuZWw2Lm5vYXJjaCcuIEhvdyBjYW4gSSBk aXNh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OS machines I’ve installed have had selinux set to disabled this way.

    However, the packet selinux-policy-targeted get’s installed anyway.

    Mogens

  • Already tried using http, and got the same result. I don’t think, therefore, that the method of install is the problem at all. I think there may be some hardware compatibility problem with that (and possibly other)
    component of SELinux.

    That’s precisely what I was thinking of doing. Just haven’t got the chance to do that yet. I’ll be busy the next few days hopefully next week I can try again.

    Might want to try that in addition to ripping out the RPMs, tho I’m not sure doing both would be necessary.

    Maybe it’s the CPU that’s having a problem with SELinux under CentOS 6?

    Socket Designation: CPU2
    Type: Central Processor
    Family: Xeon
    Manufacturer: GenuineIntel
    ID: 29 0F 00 00 FF FB EB BF
    Signature: Type 0, Family 15, Model 2, Stepping 9
    Flags:
    FPU (Floating-point unit on-chip)
    VME (Virtual mode extension)
    DE (Debugging extension)
    PSE (Page size extension)
    TSC (Time stamp counter)
    MSR (Model specific registers)
    PAE (Physical address extension)
    MCE (Machine check exception)
    CX8 (CMPXCHG8 instruction supported)
    APIC (

  • Tim,

    I think SELinux is a red herring in this case; I’m running upstream RHEL Server 6.3 32-bit with SELinux in enforcing mode on an older Supermicro system (motherboard P4DP6, has a DVD-ROM CD-RW drive in it) with the following CPU:

    Handle 0x0004, DMI type 4, 35 bytes Processor Information
    Socket Designation: CPU1
    Type: Central Processor
    Family: Xeon
    Manufacturer: GenuineIntel
    ID: 27 0F 00 00 FF FB EB BF
    Signature: Type 0, Family 15, Model 2, Stepping 7
    Flags:
    FPU (Floating-point unit on-chip)
    VME (Virtual mode extension)
    DE (Debugging extension)
    PSE (Page size extension)
    TSC (Time stamp counter)
    MSR (Model specific registers)
    PAE (Physical address extension)
    MCE (Machine check exception)
    CX8 (CMPXCHG8 instruction supported)
    APIC (On-chip APIC hardware supported)
    SEP (Fast system call)
    MTRR (Memory type range registers)
    PGE (Page global enable)
    MCA (Machine check architecture)
    CMOV (Conditional move instruction supported)
    PAT (Page attribute table)
    PSE-36 (36-bit page size extension)
    CLFSH (CLFLUSH instruction supported)
    DS (Debug store)
    ACPI (ACPI supported)
    MMX (MMX technology supported)
    FXSR (FXSAVE and FXSTOR instructions supported)
    SSE (Streaming SIMD extensions)
    SSE2 (Streaming SIMD extensions 2)
    SS (Self-snoop)
    HTT (Multi-threading)
    TM (Thermal monitor supported)
    PBE (Pending break enabled)
    Version: Intel(R) Xeon(TM)
    Voltage: 1.6 V
    External Clock: Unknown
    Max Speed: 3000 MHz
    Current Speed: 2800 MHz
    Status: Populated, Enabled
    Upgrade: Other
    L1 Cache Handle: 0x000B
    L2 Cache Handle: 0x000C
    L3 Cache Handle: Not Provided
    Serial Number: Not Specified
    Asset Tag: Not Specified
    Part Number: Not Specified

    Have you tried using the minimal install iso? It will fit on a CD.

  • The problem with the selinux rpms is that they need copious amounts of RAM
    during installation. From my experience, a minimum of 0.75 to 1GB.

  • Tim didn’t detail the amount of RAM he had (to the best of my recollection) but my machine of that same age has 4GB, so RAM wasn’t an issue here, at least not for the selinux piece.

    But that’s a good data point, and really should be addressed as part of the system requirements for upstream…. actually, 1GB is the recommended minimum RAM on a 32 bit system by upstream.

    Most of my 32-bit Xeons here have 1.5GB or more RAM, and most Xeons from that timeframe would have shipped with 1GB minimum (I don’t think my lowest end Xeon, a Dell PE1600SC, was even available at the time with less than 1GB).

  • Would a minimal kickstart file do? This is mine, which I use to build small VMS (4Gb disk, 512Mb RAM)

    install
    url –url http://repo/CentOS/DVD/CentOS-6
    text
    reboot

    lang en_US.UTF-8
    keyboard us

    network –onboot yes –device eth0 –bootproto dhcp –ipv6 auto

    rootpw –iscrypted yeahyeahyeah
    authconfig –enableshadow –passalgo=sha512

    firewall –disabled
    selinux –disabled

    timezone –utc America/New_York

    zerombr yes
    clearpart –all –initlabel
    part /boot –fstype=et4 –asprimary –size0
    part swap –asprimary –sizeQ2
    part / –fstype=et4 –asprimary –grow –size=1
    bootloader –location=mbr –driveorder=vda –append=” crashkernel=ato quiet”

    repo –name=”CentOS” –baseurl=http://repo/CentOS/DVD/CentOS-6 –cost0
    repo –name=”Updates” –baseurl=http://repo/CentOS/updates/CentOS6/x86_64 –costP0

    %packages –nobase
    @core
    yum
    openssh-server
    openssh-clients
    ksh
    dos2unix
    ntp-perl
    logwatch
    wget
    acpid
    yum-plugin-priorities
    bind-utils
    -checkpolicy
    -policycoreutils
    -selinux-policy
    -selinux-policy-targeted
    -efibootmgr
    -kernel-firmware
    -aic94xx-firmware
    -atmel-firmware
    -b43-openfwwf
    -bfa-firmware
    -ipw2100-firmware
    -ipw2200-firmware
    -ivtv-firmware
    -iwl100-firmware
    -iwl1000-firmware
    -iwl3945-firmware
    -iwl4965-firmware
    -iwl5000-firmware
    -iwl5150-firmware
    -iwl6000-firmware
    -iwl6000g2a-firmware
    -iwl6000g2b-firmware
    -iwl6050-firmware
    -libertas-usb8388-firmware
    -netxen-firmware
    -ql2100-firmware
    -ql2200-firmware
    -ql23xx-firmware
    -ql2400-firmware
    -ql2500-firmware
    -rt61pci-firmware
    -rt73usb-firmware
    -xorg-x11-drv-ati-firmware
    -zd1211-firmware

    %post
    %end

  • hey guys,

    sorry it took so long to get back to you. But I was finally able to do this.

    To recap:

    I have noticed too that at the end of the >installation, the system seems hung for quite some time on this package (or whatever postinstall script is running at >the end). I have had times when the system seemed hung but after giving it a lot more time it would eventually >complete.

    Well to give you a better idea of how I was defining “forever”, I attempted to do this over a few days. So I would load up CentOS 6.2 or 6.3 to the point I would get to the SE Linux component. And then I would go out for lunch, do some errands and come back to it 4 or 5 hours later. That to me would constitute a ‘forever’. :)

    Tried that too.. ultimately the install complained about selinux-policy-targeted not being there and would refuse to proceed. So, back to the drawing board.

    recollection) but my machine of that same age has >4GB, so RAM wasn’t an issue here, at least not for the selinux piece.

    To answer this question – 8 GB :)

    Bingo! That was it. Thank you list! You guys rock. Always appreciate your advice.

    Best, Tim

LEAVE A COMMENT