Sometimes, after building dozens of livecd with Kadischi, burning cds/dvds for testing becomes boring. Im now using VMWare on Fedora Core 5 Test 2 to launch my isos.
VMWare lets you run another computer in your computer. There are times when you need to check if something "just works" on a different platform.
How to install VMWare on Fedora Core 5 Test 2
1. Get the free VMWare Player
2. Download the linux image e.g VMware-player-1.0.1-19317.i386.rpm
3. Install it with rpm -ivh VMware-player-1.0.1-19317.i386.rpm
4. Then configure it with vmware-config.pl
If ever, you fall on,
What is the location of the directory of C header files that match your running kernel? [/lib/modules/2.6.15-1.1853_FC5/build/include]
Troubleshooting it as follows.
# cd /usr/lib/vmware/modules/source.
You should find 2 tar files, vmmon.tar and vmnet.tar.Extract both via
# tar xf vmmon.tar
# tar xf vmnet.tar
you should find a Makefile.kernel in both vmmon-only/ and vmnet-only/ . Edit both!!
For vmmon-only/Makefile.kernel
Comment these two lines.
#EXTRA_CFLAGS += $(call vm_check_build, $(SRCROOT)/autoconf/epoll.c, -DVMW_HAVE_EPOLL, )
#EXTRA_CFLAGS += $(call vm_check_build, $(SRCROOT)/autoconf/setnice.c, -DVMW_HAVE_SET_USER_NICE, )
Add the following 2 lines below the commented lines.
EXTRA_CFLAGS += -DVMW_HAVE_EPOLL=1
EXTRA_CFLAGS += -DVMW_HAVE_SET_USER_NICE=1
For vmnet-only/Makefile.kernel
Comment these three lines.
#EXTRA_CFLAGS += $(call vm_check_build, $(SRCROOT)/epoll.c, -DVMW_HAVE_EPOLL, )
#EXTRA_CFLAGS += $(call vm_check_build, $(SRCROOT)/socket.c, -DVMW_HAVE_SK_WMEM_ALLOC, )
#EXTRA_CFLAGS += $(call vm_check_build, $(SRCROOT)/sk_alloc.c,-DVMW_HAVE_SK_ALLOC_WITH_PROTO, )
Add the following lines below the commented lines.
EXTRA_CFLAGS += -DVMW_HAVE_EPOLL=1
EXTRA_CFLAGS += -DVMW_HAVE_SK_WMEM_ALLOC=1
EXTRA_CFLAGS += $(call vm_check_build, $(SRCROOT)/setnice.c, -DVMW_HAVE_SET_USER_NICE, )
EXTRA_CFLAGS += -DVMW_HAVE_SK_ALLOC_WITH_PROTO=1
Rename the existing vmmon.tar and vmnet.tar via
# mv vmmon.tar vmmon.tar.save
# mv vmnet.tar vmnet.tar.save
Create new tar files via
# tar cf vmmon.tar vmmon-only
# tar cf vmnet.tar vmnet-only
Run 'vmware-config.pl'. it should use these new tar files containing the updated Makefile.kernel files.
The above worked for me on kernel-2.6.15-1.1948_FC5.
MY Makefile.kernel for vmmon.tar and vmnet.tar
Saturday, February 18, 2006
VMWare Player and livecd
Posted by
Chitlesh GOORAH
at
Saturday, February 18, 2006
Subscribe to:
Post Comments (Atom)
22 comments:
How do you start up a live CD iso in a VMWare environment without burning the disc?
Please tell me, I'm new with VMware, and not sure how to do this. Eager to try out the latest liveCD's of most distros, but don't want to waste the CD's.
Hello,
I described it here:
http://clunixchit.blogspot.com/2006/02/launching-fedora-based-livecd-with.html
have you been successful in installing vmware on the recently released fedora core 5?
yes :)
see the 6 lines howto:
http://clunixchit.blogspot.com/2006/03/dave-joness-2616-12064fc5.html
Thanks. It works perfectly on all fedora kernels and vmwares.
vmmon module is working with this changes, but vmnet is not. i'm trying to install GSX server on fedora core5 2.6.16-1.2080_FC5 kernel. here is the error. any help would be appriciated, thanx
make: Leaving directory `/tmp/vmware-config6/vmmon-only'
The module loads perfectly in the running kernel.
Extracting the sources of the vmnet module.
Building the vmnet module.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config6/vmnet-only'
make -C /lib/modules/2.6.16-1.2080_FC5/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/kernels/2.6.16-1.2080_FC5-i686'
CC [M] /tmp/vmware-config6/vmnet-only/driver.o
/tmp/vmware-config6/vmnet-only/driver.c: In function ‘VNetProcessOwnsPort’:
/tmp/vmware-config6/vmnet-only/driver.c:1610: error: ‘struct files_struct’ has no member named ‘max_fds’
make[2]: *** [/tmp/vmware-config6/vmnet-only/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config6/vmnet-only] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.16-1.2080_FC5-i686'
make: *** [vmnet.ko] Error 2
make: Leaving directory `/tmp/vmware-config6/vmnet-only'
Unable to build the vmnet module.
For more information on how to troubleshoot module-related problems, please
visit our Web site at "http://www.vmware.com/download/modules/modules.html" and
"http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".
Execution aborted.
You are a champion,
That saved my vware client install when I updated my FC4 laptop.
Brilliant.
Hi..
Where is the kernel headers located ?
even after downloading the sources with yum, i encountered these
problems:
1. i got kernel sources not with the exact version of my kernel
in fedora, and then vmware screams of course,
2. yum downloaded me the exact sources, but still vmware shouted:
"The path "/usr/src/linux/include" is a kernel header file directory, but it does not contain the file "linux/version.h" as expected. This can happen if the kernel has never been built, or if you have invoked the "make mrproper" command in your kernel directory. In any case, you may want to rebuild your kernel."
what should I do ?
rebuilding the kernel doesn't seem logical..
(btw, my kernel is 2.6.15-1.2054_FC5)
thanks a lot
Dan.
The kernel-2.6.15-1.2054_FC5 shipped with FC5 disallows the loading of any non-GPL modules.
Update your kernel and try this
http://clunixchit.blogspot.com/2006/03/dave-joness-2616-12064fc5.html
thank you for your help !
should I update to a new vanilla kernel
or is there an updated FC5 kernel somewhere ?
(using yumdownloader --source kernel only gets me the 2054 kernel again...)
thanks,Dan
!
simply,
yum update kernel
and
yum install kernel-devel
thanks !!!!
this is all very confusing.
what is the difference between:
yum update kernel
yum install kernel-devel
yumdownloader --source kernel
?
thanks a lot !
Dan.
yum update kernel
yum downloads a newer version of the kernel and updates the version you have on your machine
yum install kernel-devel
kernel-devel contains more development libraries of the kernel
yum downloads kernel-devel and install it
yumdownloader --source kernel
yumdownloader will only download the source codes of the kernel, that's it.
thanks.
Hi
Thank you very much for this grate help, you saved me a lot of work, I was going to use Sun VirtualBox :(
It works with me with Fedora 9 (custom version called Ojuba) the kernel is 2.6.25.11-97.fc9.i686 and I'm using VMware server 1.0.6
Thank you again, I'm very happy :))
welcome to the wow power leveling cheap wow power leveling service site, buy cheap wow gold,wotlk gold,world of warcraft power leveling buy wow gold
徵信, 徵信社, 感情挽回, 婚姻挽回, 挽回婚姻, 挽回感情, 徵信, 徵信社, 徵信, 捉姦, 徵信公司, 通姦, 通姦罪, 抓姦, 抓猴, 捉猴, 捉姦, 監聽, 調查跟蹤, 反跟蹤, 外遇問題, 徵信, 捉姦, 女人徵信, 外遇問題, 女子徵信, 外遇, 徵信公司, 徵信網, 徵信, 徵信社, 外遇蒐證, 抓姦, 抓猴, 捉猴, 調查跟蹤, 反跟蹤, 感情挽回, 挽回感情, 婚姻挽回, 挽回婚姻, 感情挽回, 外遇沖開, 徵信, 徵信, 徵信社, 抓姦, 徵信, 徵信社, 外遇蒐證, 外遇, 通姦, 通姦罪, 贍養費, 徵信, 徵信社, 徵信社, 抓姦, 徵信社, 徵信社, 徵信, 徵信, 徵信公司, 徵信社, 徵信, 徵信公司, 徵信社, 徵信社, 徵信社, 徵信社, 徵信社, 徵信公司, 徵信社, 徵信, 徵信, 徵信公司, 女人徵信, 外遇, 外遇, 外遇, 外遇
徵信, 徵信網, 徵信社, 徵信網, 徵信, 徵信社, 外遇, 徵信, 徵信, 徵信社, 抓姦, 徵信, 徵信社, 外遇, 徵信社, 抓姦, 徵信社, 徵信公司, 徵信, 徵信社, 徵信公司, 徵信, 徵信社, 徵信公司, 徵信社, 徵信社, 徵信社, 徵信社, 徵信, 徵信社, 徵信社, 徵信社, 徵信,
Few have wow gold even heard wow gold of the god buy wow gold called Bandos. buy wow gold For many cheap wow gold centuries he cheap wow gold has been thought wow power leveling to be an wow power leveling ancestor of the power leveling ogres, perhaps power leveling even the beast wow gold that claimed buy wow gold the lands of cheap wow gold the Feldip Hills world of warcraft gold and Jiggig.
搬家搬家搬家公司 搬家搬家Shade sailnike shoesMBA在职研究生 在职博士徵信社 徵信室內設計室內設計代償房屋貸款信用貸款外遇離婚抓姦外遇蒐證外遇抓姦侵權仿冒應收帳款工商徵信徵信 徵信社外遇徵信徵信社外遇电动隔膜泵自吸泵化工泵离心泵磁力泵螺杆泵水泵隔膜泵气动隔膜泵百家乐 轮盘 21点 德州扑克 百家乐系统 真人娱乐场 百家乐足球德州扑克 电子游戏 英格兰超级联赛 德国甲组联赛 意大利甲组联赛西班牙甲组联赛法国甲组联赛欧冠杯 英超 足球比分 足球彩票 体育彩票 即时比分 免費a片 a片 免費av 色情影片 情色 情色網 色情網站 色情 成人網成人圖片成人影片 18成人 av av女優 avav女優性 情慾 走光 做愛 sex H漫 情色 情趣用品 情色 a片 a片 成人網站 成人影片 情趣用品 情趣用品アダルトアダルト アダルトサイト アダルトサイト 情趣用品搬家搬家服務搬家保障搬家網搬家估價徵信徵信的意義徵信服務徵信報導徵信問答徵信知識婚禮佈置 婚禮佈置
http://www.life13.com
China Highlights
China Highlights
China Tours
China Hotels
China Attractions
Beijing China Travel
Shanghai China Travel
Xi'an China Travel
Guilin China Travel
Yangshuo China Travel
Post a Comment