LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-04-2010, 02:56 AM   #1
linuxunix
Member
 
Registered: Mar 2010
Location: California
Distribution: Slackware
Posts: 235

Rep: Reputation: 18
Adding a driver to RHEL 6 Beta ISO?


I am in attempt to add a pvscsi driver into RHEL 6 Beta OS. What I did is followed this:

1. Downloaded the complete ISO into /home/jack/RHEL folder
2. Follow these steps:
#cd isolinux/
boot.cat grub.conf isolinux.bin splash.jpg vesamenu.c32
boot.msg initrd.img isolinux.cfg tmp vmlinuz
call initro memtest TRANS.TBL
#mkdir tmp
cd tmp
gzip -dc ../initrd.img | cpio -ivd
#ls
bin etc init lib64 proc selinux tmp var
dev firmware lib modules sbin sys usr
#cd modules/2.6.32-19.el6.x86_64

Added pvscsi.ko and pvscsi.o drivers into it.
Also made the changes to some files as such:

At the bottom of module-info add:
pvscsi
scsi
"VMware PVSCSI driver"
At the bottom of modules.alias add:
alias pci:v000015ADd000007C0sv*sd*bc*sc*i* pvscsi
At the bottom of modules.dep add:
pvscsi: scsi_mod
In pci.ids, search for ‘15ad’ . You will see an entry for a few VMware devices. To this list add:
07c0 PVSCSI SCSI Controller
The whole stanza will look something like this:
15ad VMware
0405 SVGA II Adapter
0710 SVGA Adapter
07c0 PVSCSI SCSI Controller


Done.
Now I need to create back the ISO.
How to proceed further.

Last edited by linuxunix; 05-04-2010 at 02:57 AM.
 
Old 05-07-2010, 03:15 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
Something like ...
Code:
mkisofs -o /tmp/new.iso -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -J -R -V disks .
http://www.asylumnation.com/blogs/am...post-2775.html
..
 
1 members found this post helpful.
Old 05-12-2010, 09:14 AM   #3
linuxunix
Member
 
Registered: Mar 2010
Location: California
Distribution: Slackware
Posts: 235

Original Poster
Rep: Reputation: 18
The command seems interesting.
knudfl,
May I know what the above commands option means?
 
Old 05-12-2010, 12:50 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
Quote:
May I know what the above commands option means?
Yes, you may.


I used that 'long command' last time two years ago. It works.
And please read http://www.asylumnation.com/blogs/am...post-2775.html


The mkisofs / genisoimage manual describes all options : man mkisofs
....... The first 1000 lines are the options.

'/usr/bin/mkisofs' is a link to '/usr/bin/genisoimage'
..

Last edited by knudfl; 05-13-2010 at 02:41 AM.
 
  


Reply


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
Need help on RHEL 5 Beta 2 t anderson Red Hat 6 01-16-2007 04:23 PM
Adding RHEL to a Windows XP machine: Having trouble getting ISO disk recognized kanncro Linux - General 5 01-30-2006 06:22 PM
RHEL CDs: made iso, mounted iso, exported dir - still asks for CD :( guest Linux - Newbie 1 04-08-2005 01:37 PM
RHEL 4 Beta 1 - Anyone tried it yet? mczolton Red Hat 6 11-19-2004 10:22 PM
Where to get RHEL 4 beta?? halo14 Red Hat 1 10-29-2004 10:13 AM


All times are GMT -5. The time now is 04:53 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration