LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 12-09-2006, 02:40 PM   #1
dajomas
LQ Newbie
 
Registered: Dec 2006
Location: the Netherlands
Distribution: Fedore Core 4/5, RHEL4
Posts: 2

Rep: Reputation: 0
Install RHEL4 over HTTP or NFS in VMware using vmxnet!


After days of trying, changing, trying, editing, trying, etc. I was finally succesful in creating a driver floppy image for the vmxnet driver!!!

Here is the how-to if you are interested, (It may not be completely optimized but it worked for me).

1 - Install RHEL4 into a VM (Well, I used RHEL4 so that's what I will use)
2 - Install the vmware-tools and run vmware-tools-config.pl
3 - locate the file vmxnet.ko (something like /lib/modules/2.6.9-42.EL/misc/vmxnet.ko)
4 - perform the following steps (You can copy and paste everything between the START and END OF SHELL COMMANDS markers, but remember to put in TABS where necessary!!!):
### START OF SHELL COMMANDS
cd /tmp
mkdir vmware_drv
cd vmware_drv
mkdir -p 2.6.9-42.EL/i686 floppy
cp /lib/modules/2.6.9-42.EL/misc/vmxnet.ko 2.6.9-42.EL/i686
find 2.6.9-42.EL | cpio -o --format=crc | gzip -c -9 > floppy/modules.cgz
cat -<<!> floppy/modinfo
Version 0
vmxnet
eth
"VMware Virtual Ethernet driver."
!
# USE TABS AT THE BEGINNING OF THE 2 LAST LINES ABOVE

cat -<<!> floppy/modules.pcimap
vmxnet 0x000015ad 0x00000720 0xffffffff 0xffffffff 0x00000000 0x00000000 0x0
vmxnet 0x00001022 0x00002000 0xffffffff 0xffffffff 0x00000000 0x00000000 0x0
!
# No need for tabs in the modules.pcimap
# I am not sure if the second line is needed but it works so I left it in

cat -<<!> floppy/pci.ids
15ad VMware, Inc.
0720 VMware Virtual Ethernet driver.
!
# USE A TAB AT THE BEGINNING OF THE LAST LINE ABOVE

cat -<<!> floppy/pcitable
0x15ad 0x0720 "vmxnet" "VMware, Inc.|VMware Virtual Ethernet driver."
!
# USE TABS BETWEEN ALL THE FIELDS ABOVE!!!

cat -<<!> floppy/rhdd
Supplemental Network Drivers
!

> floppy/modules.dep
### END OF SHELL COMMANDS
5 - the contents of /tmp/vmware_drv/floppy should look something like this:
-rw-r--r-- 1 root root 57 Dec 9 21:00 modinfo
-rw-r--r-- 1 root root 6513 Dec 9 21:00 modules.cgz
-rw-r--r-- 1 root root 0 Dec 9 21:01 modules.dep
-rw-r--r-- 1 root root 182 Dec 9 21:00 modules.pcimap
-rw-r--r-- 1 root root 58 Dec 9 21:00 pci.ids
-rw-r--r-- 1 root root 70 Dec 9 21:00 pcitable
-rw-r--r-- 1 root root 29 Dec 9 21:00 rhdd
(Where the only deviation could be for modules.cgz)

*** Here are the MD5 checksums for the non-variable files:
15cdf69e567686b570e9fe377652184e modinfo
d41d8cd98f00b204e9800998ecf8427e modules.dep
33552b301d42f2bf9b511677e8f4f85e modules.pcimap
3eb03ed938f37fe799a873713840bd52 pci.ids
b05628e2077ec7d13ece6b1bdd3951b6 pcitable
4b49cecb5dcb38e870641f58d17a60ea rhdd

6 - via the VMware Server Console create and activate a new floppy image (ie. vmxnet_drv.img)
7 - type in: newfs /dev/fd0
8 - mount the floppy drive on your system
9 - copy the contents of /tmp/vmware_drv/floppy to your floppy drive
10 - unmount your floppy

Now, on the VMware host system, you will have a file called vmxnet_drv.img which you can now use as the driver disk when you install RHEL4 over NFS or HTTP

Just make sure you have your virtual machine configured to use vmxnet (Make sure the line Ethernet0.virtualDev = "vmxnet" is in the vmx file of your VM)

I hope this helps and is usefull for you. Looking forward to your responses.

Greetinx
Johan
 
Old 12-29-2006, 04:06 AM   #2
dombrowsky
Member
 
Registered: Dec 2005
Location: New York
Distribution: Debian/GNU
Posts: 235

Rep: Reputation: 31
great work!
 
  


Reply

Tags
godsend, howto, install, long, network, readme, rhel, vmware


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
RHEL4 ident info from NFS ks.cfg at boot: prompt CDM Red Hat 1 01-22-2008 05:38 PM
VMWARE WILL NOT CONNECT TO SOUND CARD on 2.2.9.11.EL-i686smp-RHEL4 leeW Linux - Newbie 1 06-20-2006 01:53 PM
Install RHEL4 in VMware Workstation5.0 gerrylin Linux - Enterprise 1 05-08-2005 11:04 PM
rhel4 2.6.9-5.0.5.ELsmp nfs mount fails, server is down timvand Linux - Enterprise 1 04-24-2005 07:24 PM
How do I set up http and NFS Joelbarnard Linux - Newbie 4 03-25-2004 01:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 06:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration