If you happen to have to manage some Dell server running some exotic-not-supported-at-all distribution like, for example, Slackware or Gentoo, there’s a trick you can use that can saves you a lot of PITA. It envolves using debootstrap and some well known unofficial Debian Dell repository. Here we go:
- First of all, check your kernel has IPMI support. If it doesn’t, rebuild it to have IPMI enabled (Device Drivers -> Character Devices -> IPMI). Build every module you find here.
- Load the just built modules:
modprobe ipmi_msghandler
modprobe ipmi_si
modprobe ipmi_devintf - Install debootstrap. With Gentoo, it’s a simple
emerge debootstrap mkdir -p /var/debiandebootstrap --arch amd64 etch /var/debian http://http.us.debian.org/debian
You can obviously change the –arch parameter with the one that better fits your needs, say i386- Now, let’s wait while debootstrap does all the dirty work :)
mount -o bind /dev /var/debian/devmount -t proc none /var/debian/procmount -o bind /sys /var/debian/syscp /etc/resolv.conf /var/debian/etcchroot /var/debian/ /bin/bash- Now we are in our new Debian-lite environment.
- edit /etc/apt/sources.list to look like this, for example:
deb http://ftp.belnet.be/debian/ etch main non-free contrib
deb-src http://ftp.belnet.be/debian/ etch main non-free contribdeb http://security.debian.org/ etch/updates main contrib non-free
deb-src http://security.debian.org/ etch/updates main contrib non-freedeb ftp://ftp.sara.nl/pub/sara-omsa dell sara
deb http://linux.dell.com/repo etch dell-software apt-get updateapt-get install dellomsa- And we are done! If all went well, you should now be able to run tools like “omreport” to inspect your hardware status and “omconfig” to change BIOS settings and much more!
On a side note, after a reboot you have to repeat steps 7,8 and 10 and once in the chroot, issue a /etc/init.d/dataeng start