LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Adding a driver to RHEL 6 Beta ISO? (https://www.linuxquestions.org/questions/linux-newbie-8/adding-a-driver-to-rhel-6-beta-iso-805777/)

linuxunix 05-04-2010 01:56 AM

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.

knudfl 05-07-2010 02:15 PM

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
..

linuxunix 05-12-2010 08:14 AM

The command seems interesting.
knudfl,
May I know what the above commands option means?

knudfl 05-12-2010 11:50 AM

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'
..


All times are GMT -5. The time now is 11:40 PM.