Reply To: Development vmware image

Forums Network Management ZeroShell Development vmware image Reply To: Development vmware image


Thanks to Schoopy and his development vmware image, here is my step-by-step on being able to compile a driver from source…

#In VirtualBox, create a new machine, when asked to use an existing hard disk or create a new one, choose use an existing one, and point it to Schoopy’s development image, and boot as normal. Remember, to put all developer stuff on root of flash drive, glibc, gcc, static, your custom files, etc… Or alternatively use ftp to put the files on the /cdrom directory, rather than a usb flash drive. below will be for using a VirtualBox image, and a usb flash drive on the host machine.

#In the console, after fully booted, check to see what device the flash drive is.

fdisk -l

#/dev/sda1 <- This is the USB Flash drive, "usually".

#Make a flash drive directory, “/mnt/”something””.

mkdir /mnt/flash

#Mount usb flash drive contents to /mnt/flash directory.

mount /dev/sda1 /mnt/flash

#Go to /cdrom

cd /cdrom

#Copy usb flash drive contents from /mnt/flash, to /cdrom

cp /mnt/flash/* /cdrom

#Expand the developer files and your custom ones too.

tar xvfj binutils-2.17-i386.tar.bz2
tar xvfj gcc-4.3.2-zs-i386.tar.bz2
tar xvfj gcc-include.tar.bz2
tar xvfj glibc-2.8-includes-zs.tar.bz2
tar xvfj static-lib.tar.bz2
tar xvfz custom.tar.gz

#Go into your custom directory that just got expanded.

cd /custom

#Run “make clean”, and “make all”, or how you need to compile your source.

make clean

make all


#Hope this helps.