$theTitle=wp_title(" - ", false); if($theTitle != "") { ?>
About Virtualization, VDI, SBC, Application Compatibility and anything else I feel like
17 Mar // php the_time('Y') ?>
First we need to setup a Linux Virtual Machine with a distro of choice (I recommend a 32 bit version). I will be using Ubuntu here and the first step is to download the iso.
At the time of writing Ubuntu 10.10 was the Latest version so I used that one.
Create a new Virtual Machine and use the iso as install media, I am using VMWare Workstation and it recognises Ubuntu and performs an “easy install”:
The install is unattended (when VMWare Tools are installed you need to perform a login) and took only 6 minutes on my laptop!
Now we need to install gcc (the compiler), open the Ubuntu Software Center:
Select Get Software | Developer Tools, search for GCC and select The GNU C Compiler from the list and click Install:
Authenticate with the root password:
Optionally install g++ as well:
Now we need to download the Kernel version that is used in the Altiris PXE environment.
Check the required version by starting the Boot Disk Creator and select Tools | Install Preboot Operating Systems (in my case it’s 2.6.27.7):
Open FireFox in the Virtual Machine and goto http://www.kernel.org/pub/linux/kernel/v2.6/ and download the file for your version (in my case linux-2.6.27.7.tar.gz).
FireFox suggests to open it with the Archive Manager which is fine:
Extract the files using the Archive Manager to your home directory (I choose the Documents folder).
Now we need to obtain the config file, the easiest way is to manually boot into Linux Automation and copy the file to the eXpress share (cp /proc/config.gz /mnt/ds).
Copy this file to the directory where you extracted the kernel (in mycase /home/rweijnen/documents/linux-2.6.27.7).
Now start a Terminal via Accessories | Terminal:
cd to the directory where you extracted the kernel and extract the config.gz file (gzip -d config.gz) and then rename the config file to .config (mv config .config):
Now build the kernel (make bzImage modules):
I got a question about Removable Drive Bay, I choose N since it doesn’t seem necessary:
The build may take some time!
In part 2 we will compile the driver and integrate it into the PXE Image.
One Response for "Compiling Drivers for Altiris Linux PXE Image Part 1"
[…] Article :Altiris, Debian, kernel, Linux, PXE […]
Leave a reply