Wuhai’s Weblog

July 5, 2010

Use Freedos to pxeBoot to change DMI system serial number for Rackable server (C4002)

Filed under: Server — wuhai @ 5:15 am

Reference:

http://raftaman.net/?p=491

sudo wget http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/1.0/fdboot.img -O /tftpboot/fdboot.img

sudo mount -t vfat -o loop fdboot.img /mnt/floppy
sudo cp AMIDEDOS/AMIDEDOS.exe /mnt/floppy/

Note: I tried dmicfg.exe, it does not work in terms of writing dmi information, it works with reading, same thing as amidedos.exe.

I also tried “sudo cp AFU312.EXE I8044A00.rom /mnt/floppy/”, which were downloaded from ASUS website for this MB type (KFN5-Q/SAS), and I tried to backup BIOS first before upgrading it, but it failed even with backing up old BIOS, at 95% stage.

Then I tried “sudo cp DMI_2043.exe /mnt/floppy/”, which worked with writing system serial number for KFN5-Q/SAS.

sudo umount /mnt/floppy/

Then in /tftpboot/pxelinux.cfg/default:
label dos
menu label [^B] dos
kernel memdisk
append initrd=fdboot.img

Pick “Option 4: FreeDOS Live CD with HIMEM only”

To list
A:\>amidedos.exe /all

A:\>dmi_2043.exe /ss SERVER_SERIAL_NUMBER

To list again:
A:\>amidedos.exe /all

reboot

note: download from DMI_2043.exe from http://www.sclonline.co.uk/uploads/DMI_2043.zip

August 2, 2009

DNS zone serial number corrected

Filed under: Server — wuhai @ 5:27 pm

The serial number for this DNS zone is mistakenly set to 20090729001, it should be 2009072901. Today is 20090802, I would like to set it back to 20090802.

Go to slave, open the zone file, and its serial number is shown as 2910859817 (20090729001 – 4*4294967296).

Do the math: 2910859817+2147483647-4294967296 = 763376168. Change primary DNS zone serial number to be 763376168.

rndc reload, check the slave, shown up as the same.

Change primary DNS zone serial number to 20090802, rndc reload, all fine now ..

Theme: Rubric. Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.