Debian: Update SSD Firmware without CDROM

If you want to update the SSD Firmware of a device you should know some things:

  • Do you REALLY need the update? Bugs? If NOT exit here!
  • Firmwareupdates can destroy DATA on Drives!
  • Data cant be restored if the Controller fails after Update
  • Downgrade a Firmware to older is most IMPOSSIBLE!!

.. now you need a USB Stick 4GB and the ISO File of the Firmware Disk of the Manufacter then open the Gnome Terminal or Console and:

$sudo su - #become root
$apt-get update && apt-get install unetbootin gparted # install the tools
$dd if=/dev/null of=/dev/sdc bs=10240 count=1 # delete usbstick unmounted with zeros (factory reset)
$gparted /dev/sdc #create new Primary Partition with FAT32, set "managed flags" to "boot lba", now exit gparted
$mount /dev/sdc1 /mnt #mount usbstick to /mnt 
$unetbootin #select FreeDOS at Menu, and select /dev/sdc1 and create the FreeDOS Stick, then exit unetbootin WITHOUT reboot!
$mkdir /iso && mount -o loop /home/yourusername/firmware-cd.iso /iso # mount the CDImage to /iso readonly
$cd /iso && cp firmware.img /mnt/firmware.img # copy firmware-data to usbstick

  • NOW, reboot and unplug other HDDs of the PC, ONLY the SSD must be insert!
  • Boot the PC on the usbstick, on the unetbootin Menu PRESS „Tab“ to get the „Unetbootin-Console“!
  • Here change the value of „initrd=/ubinit“ to „initrd=firmware.img“ and PRESS ENTER
  • Follow now the Firmware Update Dialog and Reboot with disconnected usbstick and replugged Drives…

Linux FreeBSD: Protect your Disc Data against power loss

Problem: If you use IDE or SATA Disc Drives inside your Workstation or Server without a additional uninterruppted power supply after a power loss your Disc Drives can lose data, do not boot clean up agian or damage the drive headers and sectors.

Background: SATA or IDE Drives uses „Disc Cached Controllers“, the count of this disc cache reach from 8 to 64 megabytes. In case of data write to disc, the disc controllers do cache some data who are often used. A Raid 1 Disc Mirror is affected too by this problem. SCSI od SAS are not using Cache by default.


Install the software tool called hdparm to set the cache parameters to disabled, cause most of operating systems have enabled by default.

  1. at Debian/ubuntu do : # sudo aptitude install hdparm
  2. at Centos/Redhat do:  #sudo yum install hdparm

now lets show discs which are installed:

  1. at Debian/ubuntu do: # sudo fdisk -l
  2. at Centos/Redhat do: #sudo  /sbin/sfdisk -l
  3. at FreeBSD do: # fdisk -l

yet lets take settings to disable the cache on every boot:

  1. at all linux do: sudo nano /etc/rc.local
  2. insert for every drive
    hdarm -W 0 /dev/sdX
    (X is for a to …)
  3. at FreeBSD  do : #vi /etc/loader.conf
  4. insert once for all drives 


  1. If you have two drives with same physical size inside your PC config a mdadm Software Raid 1 additional on your System.
  2. Set the PC Bios Settings to auto boot ofter power failure and plug off the power on you testing System, check the results. There should not be needed a check disk called fsck after the Test, but its better to do it.
  3. Hardware Raid Controllers do often have RAM Cache too, size 128MB up to 2GB, at power loss these Data lost, this can only be surpressed by a addtition RAM Cache Backup Battery connected to the Hardware Raid Controller


SME Server Centos Red Hat speedup disable unneeded services sound pcmcia cpuspeed

Problem: The default installation setup some unneeded services like pcmcia or sound or cpuspeed


  1. log into your server as root
  2. run
    /sbin/chkconfig --list 
    to see active services
  3. run
    /sbin/chkconfig --level 2345 pcmcia off 
    to disable pcmcia cause a server does not have pcmcia
  4. edit the /etc/modprobe.conf and switch off sound-modules with
    alias "name-module" off
  5. run after reboot
    to control the disabled sound modules if they are not seen they are not active
  6. NOW you have reduced memory load and processes at cpu can speed up your CPU and save energy (at my Epia 533Mhz may be 3Watts at hour)

Centos: Yum Installer Howto

yum (Yellow dog Updater, Modified) ist eine RPM-Paketmanagement-Programm, das, aehnlich wie apt/RPM, automatisch Abhaengigkeiten aufloest. Es wird u.a. zur Zeit als Standard Paketmanager in Fedora Linux genutzt.

Pakete installieren/updaten/entfernen:

Installation von RPMs: yum install paket
Upgrade einzelner Pakete (nur bereits installierte Pakete): yum update paket
Upgrade des kompletten Systems: yum upgrade
Deinstallation von Paketen: yum remove paket

Welches Paket enthält die Datei oder welches Feature ist vorhanden: yum provides dateiname
Gibt es dieses Paket überhaupt: yum list paket

Informationen anzeigen
Verfügbare Pakete anzeigen: yum list available
Updatebare Pakete anzeigen: yum list updates

Heruntergeladene Pakete wieder loeschen: yum clean packages

Repositories erstellen

yum-arch /pfad/zu/verzeichnis/mit/rpms

und in /etc/yum.conf eintragen:
[lokale Pakete]
name=Meine RPMs

Hier ein Link zu ein paar yum – Repositories: