- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- ProLiant Deployment and Provisioning
- >
- Re: PXE Boot Image from an ISO
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2008 06:24 AM
11-17-2008 06:24 AM
Re: PXE Boot Image from an ISO
Just an update for anyone who's interested. I have successfully implemented to 2 main methods here of providing smartstart/firmware CD functionality via PXE.
The only difference in my setup was that i had to use a windows box for NFS sharing. I used Windows Service for Unix. The steps are outlined below for anyone interested in using NFS. As stated you could use CIFS/SMB but i wanted to try out NFS.
- Install SFU
- Create a local account on the server called nfsuser
- Extract the group/passwd files from the initrd.img on the original .iso
- Map the nfsuser account ot the root account using SFU
- Share out a folder using the NFS Sharing tab on its properties.
- Using standards TFS security assign nfsuser at least read/read and execute permissions (as the linux root account will be mapped to this ;)
- Specify the path to this share in your pxelinux.cfg file, as outlined by peter, and done!
Verified this with 8.10/8.00 of smart start.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2008 06:10 PM
11-22-2008 06:10 PM
Re: PXE Boot Image from an ISO
The fix to automate the install via:
cd ${MNTPT}/compaq/swpackages/
./hpsum -express_install -reboot
cd /bin/
./reboot -cold
I am attempting to move to the 8.3 firmware CD now. This doesn't seem to work with the change in I end up with a bash-3.1# prompt. I see the hpsum when I rebuild the CD but it doesn't seem to be visible via the pxe boot.
Thanks -Jason
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2008 06:57 PM
11-22-2008 06:57 PM
Re: PXE Boot Image from an ISO
Thanks -Jason
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2008 03:36 AM
11-25-2008 03:36 AM
Re: PXE Boot Image from an ISO
Just a quick one for you as this has been driving me mad the last couple of days. I'm using HP ALtiris Pxe sevrer and my PXE boot meu is full up so i cant add in new options. What i wanted to do though was just have one option for all HP Firmware/SmartStart and then use pxelinux menu.c32 to provide a menu system once booted to pxelinux. I changed my default config file to this as a test:
default menu.c32
prompt 0
menu title My test pxe menu
label fw830
menu label fw830
menu default
kernel vmlinuz-8.30
append initrd=fw830.img rw root=/dev/ram0 loglevel=3 ramdisk_size=320000 init=/bin/init ide=nodma ide=noraid pnpbios=off splash=silent showopts iso1=nfs://
The problem is, it boots into pxelinux and displays the menu but when i hit enter on this only menu item there, nothing happens??!!
ANy of you guys done somehting similar? cant see whats going wrong here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2008 04:06 AM
11-25-2008 04:06 AM
Re: PXE Boot Image from an ISO
I think you should have something like:
prompt 0
default menu
label menu
kernel menu.c32
label fw830
menu label Firmware 8.30
kernel vmlinuz
append initrd.........etc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2008 04:41 AM
11-25-2008 04:41 AM
Re: PXE Boot Image from an ISO
Strange as i have followed the documentation on the syslinux website.
I think i may be getting an error about an invalid option in the default file but i have check my syntax and all looks ok
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2008 09:51 AM
11-25-2008 09:51 AM
Re: PXE Boot Image from an ISO
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2008 02:16 AM
11-26-2008 02:16 AM
Re: PXE Boot Image from an ISO
Yes i agree that it appears to be a path proble. Problem is, i have copied the kernel throughout the directory structure as a test and it still doesn't pick it up.
I have even copied in the latest pxelinux.0 file from.
Starnge problem. I'd love to get this going as everything else is running smoothly thanks to you guys here at this thread!! ;)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2008 03:49 AM
11-26-2008 03:49 AM
Re: PXE Boot Image from an ISO
You can also try to rename the kernel to something without extension. All unknowns extensions are treated as a kernel but you can never be sure enough.
From the pxelinux prompt it should be possible to start the kernel with "vmlinuz.830"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2008 11:50 PM
11-26-2008 11:50 PM
Re: PXE Boot Image from an ISO
In short this is the procedure:
PREPARATION:
- use the Microsoft WAIK (Vista/2008)
- create boot.wim
- inject the proliant drivers
- make it available by cd or PXE/WDS
- put the firmware CD on a windows share
- put ilo drivers on the same share
AFTER BOOT:
mount the share on T: (for example)
t:
drvload cpqrib2.inf
drvload CpqCiDrv.inf
drvload hpqilo2.inf
cd compaq\swpackages\
hpsum.exe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2008 01:24 AM
11-27-2008 01:24 AM
Re: PXE Boot Image from an ISO
On the other issue, tried removing all extensions o the vmlinuzX files and also, i can run them directly from the prompt.
Strange. Still cannot slect them from the menu.c32 menu system.
Thanks for your help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2008 08:08 PM
12-23-2008 08:08 PM
Re: PXE Boot Image from an ISO
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-24-2008 01:44 AM
12-24-2008 01:44 AM
Re: PXE Boot Image from an ISO
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-24-2008 08:43 PM
12-24-2008 08:43 PM
Re: PXE Boot Image from an ISO
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-25-2008 05:35 AM
12-25-2008 05:35 AM
Re: PXE Boot Image from an ISO
In short, Yes.
The latest version I've done this for though is 8.1.100.2677 (11 Jun 2008).
http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?lang=en&cc=us&prodTypeId=15351&prodSeriesId=3577708&prodNameId=3577715&swEnvOID=1005&swLang=8&mode=2&taskId=135&swItem=MTX-18478c431597437684c412f795
Because the .iso is so small (<90MB) you can fit everything within the one boot file.
The steps are:
- mount the .iso
- copy the initrd.img and vmlinuz files from the .iso/isolinux/ directory to your working directory
- unmount the .iso
- rename, unzip, then mount the initrd.img file
- edit the initrd.img/root/compaq/cdrom.sh file, line 126, replace '-o ro /dev/cdrom' with '-o loop,ro /mnt/HP-Offline.iso'
- create a bigger version of the initrd.img file (200MB is plenty) as explained in previous scripts
- mount the bigger initrd.img file
- copy the original .iso to initrd.img/mnt/HP-Offline.iso or whatever name you put in the cdrom.sh file.
- unmount the initrd.img file
- copy the initrd.img and vmlinuz file to your tftpboot directory.
- the entry in the pxe server configuration file for this image must have BOOT_IMAGE=vmlinuz_filename in the append line along with the normal entries.
Hope this helps. If you get stuck I (or one of the Linux gurus) can create a script to do most of the above for you.
Cheers,
Cam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2008 06:31 AM
12-31-2008 06:31 AM
Re: PXE Boot Image from an ISO
Here is the content of my directory on the pXE server:
menu.c32
MenuOption161.0
pxelinux.0
| - pxelinux.cfg
rdss790.gz
ss790.zi
and the contents of pxelinux.cfg
default
The default file has the following contents:
default menu.c32
prompt 0
menu title PXE Special Boot Menu
LABEL SS790
MENU LABEL ^SS790M
kernel ss790.zi
append initrd=rdss790.gz media=network rw root=/dev/ram0 ramdisk_size=111088 init=/bin/init loglevel=3 ide=nodma ide=noraid pnpbios=off splash=silent showopts iso1=nfs://
The problem is that when pxelinux.0 loads it initially loads menu.c32 and displays a single menu option namely 'SS790'. But, when i select this entry and hit return, nothing happens, the screen just flickers and it returns to this menu system. If i press the escape key and type ss790.zi at the 'boot' prompt it loads the kernel.
I'd love to get this working as it would save me a lot of work as my altiris boot menu is full. I cant understand why it does not work as i have followed th guide at
http://syslinux.zytor.com/wiki/index.php/PXELINUX#Custom_Menu_Example_with_sub-menus
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-01-2009 10:25 AM
01-01-2009 10:25 AM
Re: PXE Boot Image from an ISO
To rule out a problem related to "menu.c32", you can eliminate it to see if it finds the kernel -- for example, edit your "default" file to look like:
#default menu.c32
default SS790
prompt 0
menu title PXE Special Boot Menu
LABEL SS790
MENU LABEL ^SS790M
kernel ss790.zi
append initrd=rdss790.gz media=network rw root=/dev/ram0 ramdisk_size=111088 init=/bin/init loglevel=3 ide=nodma ide=noraid pnpbios=off splash=silent showopts iso1=nfs://
One more thing -- what version of PXELINUX are you using and which TFTP server?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2009 04:58 AM
02-02-2009 04:58 AM
Re: PXE Boot Image from an ISO
;)
I should have checked the version and the documentation and i would not have wasted so much tie with this! Lesson learned! ALWAYS find out what version of a system you are using and what it CAN and CANNOT do.
The next problem was where to update my altiris installation to update the pxelinux.0 file to a version that did support menu.c32. Well by running filemon.exe (thank you mark and the guys at winternals :) ) i was able to see that the file bstrap.0 was loaded at boot (obviously the pxe bootstrap folder) and then it loaded a specific file called menuoption161.o when I selcted HP tools menu option from my pxe boot menu. I did a MD5 hash of this file and compared it to an MD5# of pxelinux.0 from sysl;inux 2.13. Guess what, they are the same and also have the same file size. Swapped in pxelinux.0 version 3.72 and renamed the file to menuoption161.0 and hey presto it all works!
Thanks so much Peter for pointing me in the correct direction and thanks to all on this thread. It is one of the most useful threads i've come accross in the course of my work with RDP.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2009 11:10 AM
02-02-2009 11:10 AM
Re: PXE Boot Image from an ISO
Just wondering if it is possible to specify a sub directory of a usb key to the kernel i.e. I am trying to get the smartstart/firmware image onto a single USB. The default append line on the uSB key is
append initrd=initrd.img rw root=/dev/ram0 ramdisk_size=146592 init=/bin/init loglevel=3 ide=nodma ide=noraid pnpbios=off media=usb CDVOLUME=HPFWUP830
SO this tells the kernel to mount the USB key. Subsequent smart start scripts will use the USB top level as a basis for finding sub folders. The proble is that both firmware/smartstart use the same folder structure and so cant co-exists on the same key unless there is some way of telling the kernel to mount the USB stick root as USB/Firmware or USB/SmartStart.
I was going to try and modify the init script to do this but if there is a way to do this on the append line in the default config file that would be even better!
I was thinking i could change this line in supermount.sh:
mount -t vfat ${device}
to
mount -t vfat ${device}/firmware
Will that work?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2009 09:57 AM
02-03-2009 09:57 AM
Re: PXE Boot Image from an ISO
Here what I have on pxe configuration file
LABEL HP INSIGHT DIAGNOSTICS
KERNEL vmlinuz-hp
APPEND initrd=hpdiag.img root=/dev/ram0 loglevel=3 ide=nodma ide=noraid pnpbios=off media=usb
Thanks
Forhad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2009 10:34 AM
02-03-2009 10:34 AM
Re: PXE Boot Image from an ISO
LABEL HP INSIGHT DIAGNOSTICS
KERNEL vmlinuz-hp
APPEND initrd=hpdiag.img root=/dev/ram0 loglevel=3 ide=nodma ide=noraid pnpbios=off media=usb
Should be
LABEL HP INSIGHT DIAGNOSTICS
KERNEL vmlinuz-hp
APPEND initrd=hpdiag.img root=/dev/ram0 loglevel=3 ide=nodma ide=noraid pnpbios=off BOOT_IMAGE=vmlinuz-hp
Cam does mention that in his post ;)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2009 10:45 AM
02-03-2009 10:45 AM
Re: PXE Boot Image from an ISO
Thanks in advance.
Forhad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2009 11:20 AM
02-03-2009 11:20 AM
Re: PXE Boot Image from an ISO
Could you tell me which version of insight offline diagnostics you are running??
Also,did you use the md5 hash checksum to verify the download was fully intact?
I can't remember how times i have downloaded stuff from the hp website thorugh our proxy server and the check sum hasn't matched (i.e. the packed isn't intact)
Make sure you use the checksum on the download page to verify the package
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2009 11:29 AM
02-03-2009 11:29 AM
Re: PXE Boot Image from an ISO
append initrd=initrd.img rw root=/dev/ram0 ramdisk_size=300000 init=/sos quiet ide=nodma loglevel=2 pci=nommconf vga=0x317 BOOT_IMAGE=vmlinuz-hp
This is taken from the syslinux.cfg file within the origianl iso
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2009 03:34 AM
02-04-2009 03:34 AM
Re: PXE Boot Image from an ISO
Can you update your script to use 8.20 and post it here? I attempted to replace all 8.10 references in your script, but i was unable to get it past loading the initrd...
It gets to loading it..and says "ready" and then just sits there.
Here is the output in case you see anything odd:
The Smartstart firmware iso was found.
rsync was found.
mkisofs was found.
sed was found.
mke2fs was found.
Copying the contents of the iso in order to create a trimmed down version.
Removing extra files to reduce the size of the trimmed iso.
rm: cannot lstat `isoTrimmed/compaq/swpackages/*.tgz': No such file or directory
rm: cannot lstat `isoTrimmed/compaq/swpackages/*.bin': No such file or directory
Removing the initrd.img and vmlinuz files from the image.
Creating trimmed down iso file.
Creating a large (320MB) initrd.img file.
Making necessary changes to supermount.sh.
Merging the trimmed iso into the new large initrd.img file.
** Finished creating fw820.img and vmlinuz-8.20!
** Please copy these to your tftpboot directory!
Finish at
Wed Feb 4 03:27:25 PST 2009
** Append the following to your default pxelinux configuration file
label fw820
kernel vmlinuz-8.20
append initrd=fw820.img rw root=/dev/ram0 loglevel=3 ramdisk_size=320000 init=/bin/init ide=nodma ide=noraid pnpbios=off media=usb CDVOLUME=HPFWUP820