Fog 1.2.0 DBAN Advanced PXE Boot Menu
-
If you wanted simplify even more and save some typing, you could change both the owner and group with one command using the format:
[CODE]
chown username:groupname filename (assuming you’re already in the same directory as the desired file, otherwise use /path/to/file)
[/CODE]That would make step 2:
[CODE]
chown www-data:www-data /var/www/fog/dban
[/CODE]And step 4:
[CODE]
chown www-data:www-data /var/www/fog/dban/*
[/CODE]Edit:
In your case specifically, I think you could actually combine steps 2 & 4 using:
[CODE]
sudo chown -R www-data:www-data /var/www/fog/dban
[/CODE] -
Welcome to the FOG Forum, btw, and thanks for the contribution!
-
If anyone is following these instructions without success, be aware that the file name is case sensitive. I had specified ‘dban.bzi’, whereas the file extracted from my freshly-downloaded dban (v2.2.8 i586) iso was ‘DBAN.BZI’.
Probably obvious for most people, but I thought I’d post in case it saved anyone else the few hours I wasted.
-
This post is deleted! -
Big thanks for your post ChelIT !
[quote=“ArchFan, post: 38406, member: 19266”]If you wanted simplify even more and save some typing, you could change both the owner and group with one command using the format:
chown username:groupname filename (assuming you're already in the same directory as the desired file, otherwise use /path/to/file)
[/quote]
And more if username and groupname are similar :
chown username: /path/to/file
Mod corrected format to display properly in new forums.
-
Hi Everyone,
Hopefully someone can help me – I’ve been trying unsuccessfully to add DBAN to my current FOG setup. I’ll try to be as detailed as possible, please let me know if anymore information is needed.
OS: Ubuntu Server 12.04.5
Error: Exec format errorI followed the directions above, using the commands provided to give both the www-data user and www-data group ownership to the files located under var/www/fog/dban.
Permissions:
Any idea what may be causing the error? Here is my current iPXE Advanced Configuration:
:MENU menu item -- gap-- ---------------- iPXE boot menu ---------------- item fog.local Boot from hard disk item img1 <Created on 5-20-15> item dban Darik's Boot and Nuke item hostinfo Details About This Computer item return Return to main menu choose --default fog.local target && goto ${target} :fog.local sanboot --no-describe --drive 0x80 || goto MENU :img1 kernel bzImage root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns=[REDACTED] web=${fog-ip}/fog/ consoleblank=0 loglevel=4 type=down img=429Win7 ftp=${fog-ip} imgType=mps osid=5 storage=${fog-ip}:/home/images capone=1 imgFormat=0 imgfetch init.xz boot || goto MENU :dban kernel ${boot_url}/fog/dban/dban.bzi nuke="dwipe --autonuke" silent vga=785 boot :hostinfo echo This computer : || echo MAC address....${net0/mac} || echo IP address.....${ip} || echo Netmask........${netmask} || echo Serial.........${serial} || echo Asset number...${asset} || echo Manufacturer...${manufacturer} || echo Product........${product} || echo BIOS platform..${platform} || echo || echo press any key to return to Menu || prompt goto MENU :return chain http://${fog-ip}/${fog-webroot}/service/ipxe/boot.php?mac=${net0/mac} || goto MENU autoboot
Thanks!
-
Have you verified the data is correct?
https://forums.fogproject.org/topic/4069/fog-1-2-0-dban-advanced-pxe-boot-menu/9#
-
Yes I’ve already performed those steps; I updated my post to show the path location.
-
i had to use
kernel DBAN.BZI nuke=dwipe silent vga=785 ||
without the quotes
-
Thank you for your quick reply and sorry for my late response, but I wanted to make sure I tried every alternative before I posted here to say this solution didn’t work for me either. The difference, however, is instead of throwing out an Exec error, instead instead says dban.bzi can’t be found. (And, of course, I made sure I had dban.bzi located in /var/www/). I didn’t change the ownership of the /var/www/ folder but dban.bzi had the owner/group changed.
-
@FoggyMemory have you made sure that the path is correct? the location is case-sensitive
-
Yes I’m certain.
-
Aside from the excellent information that is here, where can I find the actual instructions to implement DBAN into my pxe settings?
-
@Mr.B
https://wiki.fogproject.org/wiki/index.php/DBAN_(Darik's_Boot_and_Nuke)That tutorial uses FOG Trunk. So, if you wanted to proceed, you’d need to upgrade to fog trunk.
Be aware that the trunk version is developmental and is in a constant state of change.
https://wiki.fogproject.org/wiki/index.php/Upgrade_to_trunk