Saturday, February 14, 2009

P2V Slackware 11






P2V Slackware 11 2.4 Kernel 32bit


Slackware running on ESX 3.5u3

Needed media or ISO's


Use the VMWARE Convertor CD to transfer the environment.
Use cold boot from CD

FROM ESX/VMWARE

Change created VM machine settings to
  • Linux-32bit
  • BusLogic SCSI controller (default)
  • Add additional memory if required - recommended at-least 256Mb

Boot from Slackware CD media.
    Enter scsi module on LILO
    boot: scsi.s

Mount local root disk
$ mount /dev/<sda2> /mnt
$ cd /mnt/dev
$ ./MAKEDEV sda1
$ ./MAKEDEV sda2

Enter chrooted environment
$ chroot /mnt

Rebuild Slackware Kernel
As default kernel did have BusLogic support for me.

$  cd /usr/src/linux

Enable SCSI and BusLogic Support
Under SCSI/Advanced put a "*" next BusLogic kernel module
$ make menuconfig

Build images, took 45 minutes on 2.4Ghz CP 256MB Mem.
$ make bzImage
$ make modules
$ make modules_install

$ cp /usr/src/linux/arch/i386/boot/bzImage /boot/vmlinuz-ESX

$ vi /etc/lilo.conf

image = /boot/vmlinuz-ESX

root = /dev/hda1

label = Slackware-2.4-ESX

read-only

$ mount /proc
$ lilo
exit ;exit ;exit ; reboot

On reboot select Slackware-2.4-ESX on LILO screen


Done











No comments: