ralf@geeko:~$ date -R -d @1242079810
Tue, 12 May 2009 00:10:10 +0200
Wednesday, 27 May 2009
Command Line foo: convert unixtime to local
Very quick and easy way to convert a unix timestamp into localtime:
Monday, 25 May 2009
Your Daily Pop-Up's: Gnome libnotify
A pretty easy way to create Gnome Pop-Up using libnotify + notify-send
ralf@geeko:~$ cat ~/bin/send-notify.sh
#/bin/bash
export DISPLAY=:0 && \
export XAUTHORITY=~ralf/.Xauthority && \
notify-send -u critical -i ~ralf/.icons/notify.png 'Shell Triggered Notify' \
"$(date +'%H:%M:%S') - $*"
Monday, 11 May 2009
How to Boot a Floppy Image Using the Grub Bootloader
Ever faced the Problem that either your Server doesn't have a floppy drive or you can't insert a floppy into it due to it being in the Datacenter and you can't get to it?
Well as long as you can access the Console you can still Flash your BIOS/Hardware Firmware using Grub. Here is how I flashed a HP NetRaid 1M BIOS Firmware using Grub:
Reboot your Server and Flash the BIOS of your Controller, and finally you can use your HP NetRaid 1M controller with Linux 2.6.26.
NOTE: The floppy image will be read-only; all changes will be lost when the computer is rebooted. It might be handy to create a small partition on your hard drive that the operating system can write to.
Well as long as you can access the Console you can still Flash your BIOS/Hardware Firmware using Grub. Here is how I flashed a HP NetRaid 1M BIOS Firmware using Grub:
- Download the Firmware: MegaRaid 1M H.02.02 (03.09.2003 - fw_nr_1m2m_h0202_5.exe)
- Create the floppy Image (VirtualBox worked fine)
- Install syslinux (sudo apt-get install syslinux)
- Copy /usr/lib/syslinux/memdisk + your Floppy Image to /boot
- Edit /boot/grub/menu.lst
title Floppy Image Flash BIOS Netraid 1M/2M
root (hd0,0)
kernel /memdisk
initrd /netraid-1m-flash.img
Reboot your Server and Flash the BIOS of your Controller, and finally you can use your HP NetRaid 1M controller with Linux 2.6.26.
NOTE: The floppy image will be read-only; all changes will be lost when the computer is rebooted. It might be handy to create a small partition on your hard drive that the operating system can write to.
Labels:
boot problem,
floppy image,
grub,
HP netraid 1M/2M,
linux-2.6,
megaraid
Subscribe to:
Posts (Atom)
