bomzzz
Platinum Member | Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору 12. Create a PCI boot manager option ROM (save in bios) __________________________________________________________________ You can create a pci option rom file with [110]plpbtrom-0.5.zip. You can store the option rom in your bios or to the rom of a network card and run it from there. Usage: plpbtrom [OPTIONS] input-file output-file Options: ======== -h this help -vendorid id hex value of the card vendor -deviceid id hex value of device -grabid grab vendor/device id from PCI ROM file -hidden disable option rom text output -nodisable do not allow option rom disable -forceINT force hook interrupt -INT18 hook int 18h -compress compress option rom input-file boot manager file (ex. plpbtrom.bin) output-file ROM file name Examples * plpbtrom plpbtrom.bin plpbt.rom * plpbtrom -vendorid 0x10ec -deviceid 0x8139 plpbtrom.bin plpbt.rom * plpbtrom -grabid netcard.rom plpbtrom.bin plpbt.rom Special parameters * -forceINT: This forces the boot manager to hook the INT 19h/INT 18h. If you have a PNP bios, then the boot manager does not use the PNP bios feature of the boot device sequence. The boot manager will be started before any boot devices is tried (when INT 19h mode is used) or the boot manager is the last program that is started when all boot devices failed to boot (when INT 18h mode is used). * -INT18: Hook INT18h instead of INT19h. INT19h is the default mode. Files plpbtrom - Linux executable plpbtrom.exe - Windows executable plpbtrom.bin - Boot Manager Difference plpbtrom.bin and plpbt.bin plpbtrom.bin gives the control of the boot process back to the bios with a far return if you press esc. plpbt.bin makes a reboot with int 19h. Passing parameters to the boot manager with the linux kernel command line is not supported by plpbtrom.bin You can configure plpbtrom.bin like plpbt.bin with [111]plpcfgbt. You can enable/disable a hotkey to start the boot manager. How to test a ROM You can test your rom file with the free virtual machine [112]qemu. qemu -hda harddisk.img -option-rom plpbt.rom If you have no harddisk image file then take one from the qemu download page or use a floppy image. qemu -fda floppy.img -option-rom plpbt.rom How to flash an AMI bios Do this at your own risk! This can damage your pc. * Download the Ami bios flash utility and save your current bios. [113]AMI Homepage Its a DOS program, run the following command from a DOS floppy to save your bios afudos /obios.rom * Use the Windows tool [114]MMTools to replace the network rom with the plpbt.rom. * Load the file bios.rom * Find the network option rom. It has the id 20, the name PCI Option ROM and the RunLoc number VendorID:DeviceID of your network card. Maybe there are other option roms in your bios. Take care that you choose the network option rom. * Click on it that its marked. * Click at the Replace Tab * Load as Module file the plpbt.rom file. * Press the Replace button * Press the Save ROM as and give it the name mybios.rom * Now comes the dangerous part. Flashing the bios. I suggest to set the bios to the default settings and save it. Then boot from a dos floppy and run afudos /imybios.rom Do not turn off the pc during flash. After the flash has completed, go to the bios and do again a reset to the default settings. * If all is ok, you should be able to configure the bios and start the boot manager during the boot process. How to flash an AWARD bios Do this at your own risk! This can damage your pc. * Download the Award bios flash utility aflash. You should find it at your Motherboard homepage in the bios section. * Run it from a DOS floppy and save your current bios to a file. Give it the name bios.rom. * Search the file cbrom in the web. There are different version, not all will work with your bios file, so you have to test it with different versions. * Run cbrom bios.rom /d * This should list all parts of the bios rom. I cannot give you the command to replace the rom. None of the cbrom programs where able to display the content of my bios rom file. You have to test it by your self. * When you updated the bios rom file, then flash it. I suggest to set the bios to the default settings and save it. Then boot from a dos floppy and run with awdflash. * If all is ok, you should be able to configure the bios and start the boot manager during the boot process. 110. http://download.plop.at/files/bootmngr/plpbtrom-0.5.zip 111. http://www.plop.at/print/bootmanager_en.html#plpcfgbt 112. http://www.qemu.org/ 113. http://www.ami.com/ 114. http://www.softpedia.com/get/System/System-Info/MMTool.shtml 115. http://download.plop.at/files/bootmngr/plpbt-5.0.11.zip 116. http://download.plop.at/files/bootmngr/plpdisd-0.2.zip 117. http://download.plop.at/files/bootmngr/plpchk-0.1.zip | Всего записей: 13343 | Зарегистр. 13-01-2008 | Отправлено: 14:33 04-02-2011 | Исправлено: bomzzz, 14:48 04-02-2011 |
|