How to run ASA under VMWARE with precompiled kernel (first test)
- Wednesday, September 17, 2008, 17:47
- Study Guide
- 1,306 views
- Add a comment
I used this on CentOS 5.2 under vmware.
In CentOS 5.2 installation i chosed development tools and untick everything other (except some editors).
For the disk configuration i deleted suggested LVM/PVM (very important) and make my own hda2 and hda3 partition (hda1 is boot,100mb), hda2 is swap of 512mb, hda3 is rest of 8gb image i chosed in vmware.
Then, after the install and boot i downloaded 2.6.26.5 kernel (latest) in the /usr/src/kernels/ and extract it with tar xvfj linux-2.6.26.6.bz2.
I then get the bigphysarea patch from here:
http://www.feise.com/~jfeise/Downloads/zr36120/bigphysarea-2.6.26.diff
and put it into the extracted linux directory (linux-2.6.26.5).
Then, i run patch -p1 < bigphysarea-2.6.26.diff.
After that i do
cp /boot/config-2.6.18-92.el5 /usr/src/kernels/linux-2.6.26.5/.config
make menuconfig
Here i ticked the “Support for big physical area reservation” and unticked all unneded stuff like linux video, sound, bluetooth, wireless etc…
I also unticked to build relocable kernel and 64bit support)
(relocable kernel cannot be built for some reason and 64bit support is incompatible with bigphysarea patch, and if you miss my instructions about lvm, kernel wouldn’t recognize it - no lvm support).
I then saved the config and do
make all
make install
make modules_install
Then with “nano /boot/grub/grub.conf” i edited the file and added one line above other boots:
title Cisco_ASA (8.02)
root (hd0,0)
kernel /vmlinuz_asa root=/dev/hda3 rw console=tty0 console=ttyS0,9600n8 auto nousb ide1=noprobe bigphysarea=16384 hda=980,16,32
initrd /asa802-k8
Then i did:
mkdir /asa
cd /asa
and downloaded and extracted the ASA image from here:
http://rs7l34.rapidshare.com/files/39992741/dl/802.zip
doing wget http://rs7l34.rapidshare.com/files/39992741/dl/802.zip
unzip 802.zip
hexdump -C asa802-k8.bin > asa802-k8.hd
grep “1f 8b 08 00 1d” asa802-k8.hd
ls -la asa802-k8.bin
tail -c 13334352 asa802-k8.bin > asa802-k8.gz
gzip -d asa802-k8.gz
mkdir /asa_mount
cd /asa_mount
cpio -i –make-directories < ../asa/asa802-k8
In /asa_mount directory i got all files extracted
Then i copied the file asa802-k8 to /boot (there the centos is holding the boot files, like kernel) with
cp /asa/asa802-k8
cp /asa_mount/vmlinuz /boot
That’s all for the linux.
Now i downloaded vmwaregateway.exe and started it with:
vmwaregateway.exe -t
Then connected to it with putty: localhost, port 567
In VMWARE configuration on serial ports i put:
* Use named pipe
\\.\pipe\vmwaredebug
This end is client
Other end is application
* Yield cpu….
Then i started the centos and under grub i chosed the first configuration
Cisco_ASA (8.02)
I got only Uncompressing kernel…
But in the putty window i got all the output.
That’s all.
http://netemu.cn/bbs/forum-378-1.html
High quality IT Certification Training Exam Questions, Study Guides and Practice Tests are in Downloadable PassGuide Testing Engine,Successful for IT Certification or Full Refund for you.Contact Us:Sales@PassGuide.com|
Type |
Exam Bible | New Questions & Answers |
Latest Updated |
Download link |
| All Certbible 's Exam Dumps |
597 |
1 days ago | Available |
PassGuide Training Materials & Practice Tests
About the Author
Write a Comment
Gravatars are small images that can show your personality. You can get your gravatar for free today!

