- 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
Discussions
Discussions
Discussions
Forums
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
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
тАО12-07-2009 06:25 AM
тАО12-07-2009 06:25 AM
Re: PXE Boot Image from an ISO
2. Use the "vsos" boot line from the system/isolinux.cfg, but replace the kernel with the path to the respective vmlinuz files you copied from the ISOs. Add this to your pxelinux.cfg/default (or whatever) file, with the following exceptions:
a. Change media=cdrom to media=network
b. Add iso1=nfs://192.168.1.1/tftpboot/hp/FW860.2009_0803.38.iso iso1mnt=/mnt/bootdevice
Obviously you will need to substitute your own NFS server's IP, and a correct NFS path.
3. As you can probably guess, put the ISO images on your NFS server in the path you just specified. It seems the ISOs will mount and access as root then mount the ISO as loopback on the same path, so you will need to either grant world-read/write privileges on the ISO path or configure the export with no_root_squash.
4. Boot the image(s) from your TFTP server.
5. ...
6. Profit!
I'm fairly certain it was that easy after sorting our network issues out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2009 02:59 PM
тАО12-07-2009 02:59 PM
Re: PXE Boot Image from an ISO
label vsos
MENU LABEL Firmware Maintenance 8.60
kernel fw-0860/vmlinuz
append initrd=fw-0860/initrd.img media=network rw root=/dev/ram0 ramdisk_size=164212 init=/bin/init loglevel=3 ide=nodma ide=noraid pnpbios=off vga=788 splash=silent showopts iso1=nfs://192.168.0.110/home/fwupdate/fw-0860/FW860.2009_0803.38.iso iso1mnt=/mnt/bootdevice
I don't know what I am missing here.
Thanks
Forhad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2009 11:07 PM
тАО12-07-2009 11:07 PM
Re: PXE Boot Image from an ISO
Most likely it will be an issue getting to or accessing the NFS server with correct privileges, that seems to be the consensus so far.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2009 11:48 PM
тАО12-07-2009 11:48 PM
Re: PXE Boot Image from an ISO
I saw this behaviour when ports are not portfast or have the native vlan taggged and untagged.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-08-2009 09:28 AM
тАО12-08-2009 09:28 AM
Re: PXE Boot Image from an ISO
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-26-2010 08:43 AM
тАО01-26-2010 08:43 AM
Re: PXE Boot Image from an ISO
Using the same method as with 8.60 fails to mount the boot iso on the nfs server. I believe it's because the network isn't starting. When booting off the CD directly, the systems get an IP address. However, when booting off the network, no IP address is retrieved. Looking through the various scripts, I'm uncertain as to why the systems wouldn't be getting an IP address.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2010 12:24 PM
тАО01-29-2010 12:24 PM
Re: PXE Boot Image from an ISO
I'm still stuck on why the systems aren't getting an IP address for any NICs when I boot the initrd from the network instead of the physical CD.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2010 12:49 PM
тАО01-29-2010 12:49 PM
Re: PXE Boot Image from an ISO
"glibc not found" error from the dhcp client. Too soon to tell how serious a situation this is, but I'll be looking into this very soon...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2010 07:04 PM
тАО01-29-2010 07:04 PM
Re: PXE Boot Image from an ISO
I'll have to put the disc on USB and see what happens with it there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2010 10:27 PM
тАО01-29-2010 10:27 PM
Re: PXE Boot Image from an ISO
/root/compaq/log/cdrom.log:
Attempting to configure eth0 using DHCP
dhcpcd: /lib/libc.so.6: version `GLIBC_2.1' not found (required by dhcpcd)
dhcpcd: /lib/libc.so.6: version `GLIBC_2.2' not found (required by dhcpcd)
dhcpcd: /lib/libc.so.6: version `GLIBC_2.0' not found (required by dhcpcd)
return from dhcpcd 1
However, it doesn't look like libc or dhcpcd has changed between 8.60 and 8.70. Also, the versions reported in the library look compatible to me:
# strings /lib/libc.so.6 | grep GLIBC
GLIBC_2.0
GLIBC_2.1
GLIBC_2.1.1
GLIBC_2.1.2
GLIBC_2.1.3
GLIBC_2.2
GLIBC_2.2.1
GLIBC_2.2.2
GLIBC_2.2.3
GLIBC_2.2.4
GLIBC_2.2.6
GLIBC_2.3
GLIBC_2.3.2
GLIBC_2.3.3
GLIBC_2.3.4
GLIBC_2.4
GLIBC_PRIVATE
The other oddity is that when I boot from the 8.70 CD (well, via iLO vMedia), the network does come up as you had stated, however it is not from dhcpcd -- I get the same GLIBC not found error. Also, the IP address assigned is not from my DHCP server's scope:
# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:11:85:EA:B4:5B
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
.
.
My DHCP server uses a 16-bit mask and the scope starts at 192.168.2.0/16.
Bill, what address did your systems see when you booted from the 8.70 CD?
Puzzled Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2010 11:05 AM
тАО01-30-2010 11:05 AM
Re: PXE Boot Image from an ISO
If they aren't getting an IP address using dhcpd, then where from?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2010 04:33 PM
тАО01-30-2010 04:33 PM
Re: PXE Boot Image from an ISO
The good news is that from what I can tell, the dhcpcd file seems to be "bad". When I was comparing the binaries, I was just using the "strings" command from within the 8.60 and 8.70 environments and they were showing the same version (DHCP Client Daemon v.1.3.22-pl4). When I did a "diff" on the binaries from another machine, it reported they were different and then an md5sum confirmed it:
linuxdc:/home/working/FW-0860/mnt# md5sum bin/dhcpcd
bfc8139ede893a442e49268c75c20e2e bin/dhcpcd
linuxdc:/home/working/FW-0870# md5sum bin/dhcpcd
f7d29e466712279c77bc196859ccf204 bin/dhcpcd
Luckily, the firmware CD's base system version has not changed since the 8.60 release (at least according to "/etc/SuSE-release", they both report "SUSE Linux Enterprise Server 10 (i586), VERSION = 10, PATCHLEVEL = 2") so you can fix the dhcpcd problem by using the copy in the latter release. Unfortunately, this means unpacking and repacking the initramfs (they went from an initrd to an initramfs in this release).
Now, the bad news is that the strange IP address situation is causing a problem, depending on your configuration. There seems to be something "hardcoded" to configure interface eth0 -- after "patching" my initramfs with the dhcpcd binary from 8.60, I was able to boot via the network and everything seemed to be working. However, when I looked at the network interfaces, this is what I saw using an "ifconfig" command:
eth0 Link encap:Ethernet HWaddr 00:11:85:E9:C9:FD
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:201
eth1 Link encap:Ethernet HWaddr 00:11:85:E9:C9:FC
inet addr:192.168.4.126 Bcast:192.168.255.255 Mask:255.255.0.0
inet6 addr: fe80::211:85ff:fee9:c9fc/64 Scope:Link
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:61425 errors:0 dropped:0 overruns:0 frame:0
TX packets:41193 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:92829090 (88.5 Mb) TX bytes:4074672 (3.8 Mb)
Interrupt:209
.
.
For my testing, I was using a ProLiant DL380G4 with PXE boot enabled on embedded NIC2 (which disables PXE boot on the embedded NIC1) and there was no physical connection to NIC1. Since netconfig tries to bring up all available interfaces, eth1 picked up an address from my DHCP server and so it could NFS mount the ISO, etc. For giggles, I reversed the NIC settings to their defaults (PXE boot enabled on NIC1 and disabled on NIC2) and had only a physical connection to NIC1. This time, I was staring at the "X" cursor against a gray screen and eth0 had the "192.168.0.1" address again. Stranger still is that the ISO was showing up as mounted, but the routing table only showed the 192.168.0.0/24 network, so eth0 must be getting "overwritten" after dhcpcd has been run.
Back to the drawing board...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2010 04:47 PM
тАО01-30-2010 04:47 PM
Re: PXE Boot Image from an ISO
# Add default IPv4 address to eth0 interface. This is needed to resolve HPSUM hangs
# on host name resolving to IP address
NET_IFACE=`ifconfig | grep eth0`
if [ -n "$NET_IFACE" ]; then
ifconfig eth0 192.168.0.1 netmask 255.255.255.0
fi
Hopefully just commenting this out won't have any nasty side effects...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2010 10:20 PM
тАО01-30-2010 10:20 PM
Re: PXE Boot Image from an ISO
First off, there are no less than two copies of the previously mentioned "bootrun" script that set the IP address of "eth0" (if it exists) to 192.168.0.1/24 -- one in /usr/bin within the initramfs (looks like they removed the compressed "usr.iso" and just expanded it into the initramfs) and another in the "_autorun" directory of the CD itself. I'm not sure if both of them get executed, but if I only "patch" the one in the initramfs, I still see "eth0" forced to 192.168.0.1/24 (my thought is that I might as well "patch" both of them, since I have to be mucking around in the initramfs anyway). Unfortunately, because the one on the "CD" causes a problem, you also have to modify the ISO image.
So, in short, to get this version to work using the "low maintenance" method we've been enjoying, requires anything but that (which totally goes against my mantra of "I could be sleeping instead of doing this
- unpack the initramfs "initrd.img"
- replace the file "bin/dhcpcd" with the one from version 8.60
- edit the file "usr/bin/bootrun" and comment out the following section:
NET_IFACE=`ifconfig | grep eth0`
if [ -n "$NET_IFACE" ]; then
ifconfig eth0 192.168.0.1 netmask 255.255.255.0
fi
- repack the initramfs
- unpack the ISO
- edit the file "_autrun/bootrun" and comment out the same section (shown above)
- repack the ISO
Attached is an example of what I did, but who knows if it is correct (seems to work so far, but you non-cavemen might have a better solution).
One last thing -- a big thanks to Bill for bringing this updated version to my attention; I was perfectly happy with the previous version... :) :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2010 08:36 AM
тАО02-01-2010 08:36 AM
Re: PXE Boot Image from an ISO
It seems to boot on a virutal machine, but I don't have an HP server handy to actually test it on.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-02-2010 10:35 AM
тАО02-02-2010 10:35 AM
Re: PXE Boot Image from an ISO
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-08-2010 04:57 AM
тАО02-08-2010 04:57 AM
Re: PXE Boot Image from an ISO
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-12-2010 08:42 AM
тАО02-12-2010 08:42 AM
Re: PXE Boot Image from an ISO
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-12-2010 12:13 PM
тАО02-12-2010 12:13 PM
Re: PXE Boot Image from an ISO
If the build script is tested I will post it here. If you like living dangerous I can send it to you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-12-2010 01:36 PM
тАО02-12-2010 01:36 PM
Re: PXE Boot Image from an ISO
Somebody might find it useful :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-16-2010 11:57 AM
тАО02-16-2010 11:57 AM
Re: PXE Boot Image from an ISO
Since this thread has been so helpful I thought I'd give something back by calling attention to gPXE. I haven't seen anyone mention it here and it is a big improvement over regular PXE because it has extensions for booting from a variety of network sources (i.e. HTTP). This is especially helpful for larger files like the firmware/smartstart ram disks that can be unreliable over TFTP.
gPXE can be found on recent syslinux releases (I'm currently using 3.82). Just copy the gpxelinux.0 file to your TFTP server and modify your DHCP boot file option to use gpxelinux.0 instead of pxelinux.0. An example of the entry for the 8.70 firmware is attached.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2010 04:29 AM
тАО02-19-2010 04:29 AM
Re: PXE Boot Image from an ISO
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2010 04:32 AM
тАО02-19-2010 04:32 AM
Re: PXE Boot Image from an ISO
I know it lacks documention. but these are the steps:
- create live build system
- copy i386 part of the PSP in /var/www/html/yum/
- createrepo /var/www/html/yum ( and start the webservice)
- put the ks and the create_iso in /data
- start create_iso
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-26-2010 06:11 AM
тАО02-26-2010 06:11 AM
Re: PXE Boot Image from an ISO
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2010 05:51 AM
тАО03-12-2010 05:51 AM
Re: PXE Boot Image from an ISO
I was able to boot 8.60 fine like this:
LABEL 8.60
MENU LABEL HP Firmware Maintenance 8.60
KERNEL linux/firmware/8.60/x32/vmlinuz
APPEND initrd=linux/firmware/8.60/x32/initrd.img debug media=network rw root=/dev/ram0 ramdisk_size=640000 acpi=off init=/bin/init loglevel=5 ide=nodma ide=noraid pnpbios=off splash=0 showopts iso1=nfs://boot.mycompany.tld/export/FW860.2009_0803.38.iso iso1mnt=/mnt/bootdevice
Now I downloaded 8.70 and tried to do it the same way as with 8.60
LABEL 8.70
MENU LABEL HP Firmware Maintenance 8.70
KERNEL linux/firmware/8.70/x32/vmlinuz
APPEND initrd=linux/firmware/8.70/x32/initrd.img debug media=network rw root=/dev/ram0 ramdisk_size=640000 acpi=off init=/bin/init loglevel=5 ide=nodma ide=noraid pnpbios=off splash=0 showopts iso1=nfs://boot.mycompany.tld/export/FW870.2010_0121.61.iso iso1mnt=/mnt/bootdevice
But just after it tries the to start
X windows the server kind of crashes and powers off. These a some messages I get before the crash:
INIT: version 2.86 booting done
Loading drivers...done.
Starting udevd done
Starting RPC portmap daemon done
acpid: no ACPI support in kernel skipped
'acpid start' exits with status 5
ls: /mnt/boot/usb/sdgconfig: No such file or directory
ls: /mnt/boot/usb/sdgconfig: No such file or directory
ls: /mnt/boot/usb/sdgconfig: No such file or directory
/etc/init.d/boot.d/S26boot.hostname: line 38: [: : integer expression expected
/etc/init.d/hp-ilo: line 138: /opt/hp/hp-ilo/check_install_kernel.sh: No such file or directory
/etc/init.d/hp-ilo: line 85: rc_failed: command not found
'boot.health start' exits with status 1
Starting hp-ilo: /etc/init.d/boot.d/S36boot.hp-ilo: line 138: /opt/hp/hp-ilo/check_install_kernel.sh: No such file or directory
/etc/init.d/boot.d/S36boot.hp-ilo: line 85: rc_failed: command not found
Check installed kernel failed
'boot.hp-ilo start' exits with status 1
chmod: cannot access `/root/compaq/hplink.sh': No such file or directory
cp: target `/var/www/html/cfg/' is not a directory: No such file or directory
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
ls: /dev/cdrom: No such file or directory
Starting hpmouse helper process/etc/init.d/boot.d/S84hpmouse: line 52: rc_reset: command not found
/etc/init.d/boot.d/S84hpmouse: line 53: rc_status: command not found
Starting mouse support
X Window System Version 6.9.0
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 6.9
4096 MB Installed
ProLiant System BIOS - P64 (03/28/2009)
Copyright 1982, 2009 Hewlett-Packard Development Company, L.P.
Any suggestion hot to get Firmware 8.70
booted using PXE ?
TIA