Integrating Hirens Boot 15.2 into fog 1.2.0
-
Assuming the /var/www/iso is exactly as depicted (case and all) and the exact iso file is exactly “hirensboot.iso” try this:
[CODE]:MENU
menu
item --gap – ------------- Advanced Menu --------------
item HIRENS Boot 15.2 Ghost Version
item RETURN Return to the Top Menu
choose --default RETURN --timeout 30000 target && goto ${target}:HIRENS
initrd http://${fog-ip}/iso/hirensboot.iso
chain memdisk iso raw ||
goto MENU:RETURN
chain http://${fog-ip}/${fog-webroot}/service/ipxe/boot.php?mac=${net0/mac} ||
prompt
goto MENUautoboot[/CODE]
-
thank you very much, it worked like charm
on a side note just make it worked with hirens 10.0 not 15.2, i still got nothing with 15.2, any ideas? -
I don’t know what you mean.
It worked, but it’s not working?
-
worked with hirens boot version 10.0 but is not working with version 15.2 ( the newest available )
-
Okay,
try removing the iso raw from the:
[code]chain memdisk iso raw[/code]
-
like this?
[CODE]:hirens15
imgfetch http://${fog-ip}/iso/hirensboot15.iso
boot memdisk ||
goto MENU[/CODE]
Still not working -
why are you insistent on imgfetch and boot?
-
sorry , my bad, my actual code is:
[CODE]:MENU
menu
item --gap – ------------- Advanced Menu --------------
item hirens10 Hirens Boot 10
item hirens15 Hirens Boot 15
item w64 Windows 7 64b
item RETURN Return to the Top Menu
choose --default RETURN --timeout 30000 target && goto ${target}:hirens10
initrd http://${fog-ip}/iso/hirensboot10.iso
chain memdisk iso raw ||
goto MENU:hirens15
initrd http://${fog-ip}/iso/hirensboot15.iso
chain memdisk ||
goto MENU:w64
initrd http://${fog-ip}/iso/w764.iso
chain memdisk iso raw ||
goto MENU:RETURN
chain http://${fog-ip}/${fog-webroot}/service/ipxe/boot.php?mac=${net0/mac} ||
prompt
goto MENUautoboot[/CODE]
hirens10 works
hirens15 not working ( tried with iso raw and without it )
w764 not working ( tried with iso raw and without it ) -
According to that post, they had to redownload the hirens-boot-cd and extract the files.
My best guess as to why it’s not working, is it’s not loading the first bytes of the file. Can you try redownloading the file?
-
I did that with no changes, still getting the same response. Is there any way to pause the script? I think im getting an error message but it goes to fast
-
What OS are you running?
-
prompt
-
Did you get Hiren’s Boot CD 15.2 from [url]http://www.hirensbootcd.org/download/[/url] ?
When it was initially released my AV was quietly upset about it and corrupting the file.
Is the Hiren’s.BootCD.15.2.iso:
623,890,432 bytes
CRC32: 66605154
MD5: 7EFC81ADBBD551D56F6021C439C6837C
SHA-1: 565B645851C49C4FB5CF1AF90540A4129033CE66 -
root@vortex:/var/www/iso# md5sum hirensboot15.iso
7efc81adbbd551d56f6021c439c6837c hirensboot15.iso
i still trying to figure this out -
how does promp work? how I should use it in order to see the error message?
-
Add it into your boot menu after you try to load something, forces it to pause instead of dumping you out.
EDIT: Also, looks like your MD5SUM does not match the newer Hirens. Seems like you should go download that.
-
Solved:
My working menu is:
[CODE]:MENU
menu
item --gap – ---------------- iPXE boot menu ----------------
item BOOTCD Hirens 15.2 BOOTCD
item mint Linux Mint v2 x64
item shell ipxe shell
choose target && goto ${target}:BOOTCD
initrd http://${fog-ip}/fog/iso/hirensboot.iso ||
chain memdisk iso raw ||
boot ||
goto MENU:mint
kernel http://${fog-ip}/fog/service/ipxe/ubuntu/casper/vmlinuz
initrd http://${fog-ip}/fog/service/ipxe/ubuntu/casper/initrd.lz
imgargs vmlinuz root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:/var/www/fog/service/ipxe/ubuntu/ locale=en_US.UTF-8 keyboard-configuration/layoutcode=la mirror/country=US
boot || goto failed
goto start:shell
shell ||
goto MENUautoboot[/CODE]
I also managed to get any debian based live cd booting.
Thanks! -
[quote=“Juan Bertolotti, post: 47357, member: 27075”]Solved[/quote]
To clarify,
You’re still using 1.2.0
your ISO is in /var/www/isoWHAT OS ???
Hirens version 15
Did you have to extract any files? If so, what files?
And your working code:
menu
item --gap – ---------------- iPXE boot menu ----------------
item BOOTCD Hirens 15.2 BOOTCD
item mint Linux Mint v2 x64
item shell ipxe shell
choose target && goto ${target}:BOOTCD
initrd http://${fog-ip}/fog/iso/hirensboot.iso ||
chain memdisk iso raw ||
boot ||
goto MENU:mint
kernel http://${fog-ip}/fog/service/ipxe/ubuntu/casper/vmlinuz
initrd http://${fog-ip}/fog/service/ipxe/ubuntu/casper/initrd.lz
imgargs vmlinuz root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:/var/www/fog/service/ipxe/ubuntu/ locale=en_US.UTF-8 keyboard-configuration/layoutcode=la mirror/country=US
boot || goto failed
goto start:shell
shell ||
goto MENUautoboot[/CODE]
-
[quote=“Juan Bertolotti, post: 47357, member: 27075”]Solved:
My working menu is:
[CODE]:MENU
menu
item --gap – ---------------- iPXE boot menu ----------------
item BOOTCD Hirens 15.2 BOOTCD
item mint Linux Mint v2 x64
item shell ipxe shell
choose target && goto ${target}:BOOTCD
initrd http://${fog-ip}/fog/iso/hirensboot.iso ||
chain memdisk iso raw ||
boot ||
goto MENU:mint
kernel http://${fog-ip}/fog/service/ipxe/ubuntu/casper/vmlinuz
initrd http://${fog-ip}/fog/service/ipxe/ubuntu/casper/initrd.lz
imgargs vmlinuz root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:/var/www/fog/service/ipxe/ubuntu/ locale=en_US.UTF-8 keyboard-configuration/layoutcode=la mirror/country=US
boot || goto failed
goto start:shell
shell ||
goto MENUautoboot[/CODE]
I also managed to get any debian based live cd booting.
Thanks![/quote]Now i have to ask, is this the hirens boot cd from their site or the revised hirens boot cd thats actually dvd sized at 3 gig? im trying to get the dvd iso to work… too many nice utilities in there.
-
Hi everyone,
I have tried to create an advanced menu for ubuntu 15
Added the following to advanced menu:ubuntu15.04_64 initrd http://${fog-ip}/${fog-webroot}/service/ipxe/iso/ubuntu-15.04-desktop-amd64.iso chain memdisk iso raw || goto MENU
It loads the iso from the network, ubuntu splash comes up and starts loading then I get this error message
(initramfs) Unable to find a medium containing a live file system
The iso is located in
root@fog:/var/www/fog/service/ipxe# ls -lh iso/ total 1.4G -rw-r--r-- 1 fog www-data 336M Jun 24 08:27 pmagic_2013_08_01.iso -rw-r--r-- 1 fog www-data 1.1G Jun 24 08:12 ubuntu-15.04-desktop-amd64.iso
I’m looking at the menu below and it’s got extra options, does that mean I need to extract the iso to the ubuntu folder (in the example) or do I need to mount it to that folder on the fog server?
Thank you for your help and sorry for replying to an old thread but it’s relevant to my issue