where the flamingcow roams

How to install Debian Sarge on an IBM Blade

This is, unfortunately, complicated. You’ll need:

Steps:

  1. Attach the USB drive
  2. Boot the blade from the DVD
  3. At the boot prompt, type: linux26 vga=771
  4. Go through the install as normal. Note that the drives are out of order (USB drive is first).
  5. When asked “Do you want to install the GRUB bootloader to the master boot record?”, say No.
  6. Enter /dev/sdb to install to.
  7. The install will reboot.
  8. Let the disc eject or, if remote, change the boot order to boot from HD first.
  9. GRUB will error when trying to boot; dismiss the error message.
  10. Press “e” to edit the boot commands. Change “(hd1,0)” to “(hd0,0)” and “/dev/sdb1″ to “/dev/sda1″.
  11. Press “b” to boot.
  12. Use the “cdrom” access method for apt.
  13. Go through the install as normal.
  14. Log in as root.
  15. Edit /etc/fstab, correcting the drive lettering for any partitions that are messed up.
  16. Run: mount /boot
  17. Edit /boot/grub/menu.lst, changing the lines starting with “# kopt=” and “# groot=” to reflect the changes made during boot.
  18. Run: update-grub
  19. If you configured RAID during installation, edit /etc/mdadm/mdadm.conf to reflect drive letter changes.
  20. Mount the USB drive on /mnt.
  21. Run: apt-get install module-assistant kernel-kbuild-2.6-3 debhelper kernel-image-2.6.8-2-686-smp build-essential (the non-SMP image will also work, if you want this off)
  22. Run: dpkg -i /mnt/bcm5700-source_7.3.5-4_all.deb /mnt/kernel-headers-2.6.8-2_2.6.8-16_i386.deb /mnt/kernel-headers-2.6.8-2-686_2.6.8-16_i386.deb /mnt/kernel-headers-2.6.8-2-686-smp_2.6.8-16_i386.deb
  23. Run: cp /mnt/fixup-network.sh /etc/init.d/
  24. Run: reboot
  25. When the machine reboots, run: module-assistant prepare
  26. Run: module-assistant auto-install bcm5700
  27. Run: update-rc.d fixup-network.sh start 34 0 6 S .
  28. Run: reboot
  29. The machine should now be usable. If you’ve got the BladeCenter internal Cisco switch, the install has probably triggerred flap suppression. telnet to the switch and shutdown/noshutdown the port (hints: show int status, conf t, int interfacename, shutdown, no shutdown).