<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Wiping Drive via PXE menu]]></title><description><![CDATA[<p dir="auto">Re: <a href="/topic/16809/wiping-hd">Wiping HD</a></p>
<p dir="auto">It was mentioned in an earlier post:</p>
<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/30416">@george1421</a> said in <a href="/post/152103">Wiping HD</a>:</p>
<blockquote>
<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/46967">@lostitguy</a> We you will need to make up your own fog ipxe menu to specifically call the wipe function.</p>
<p dir="auto">I am not 100% sure I have the stanza right but it should look like this</p>
<p dir="auto"><strong>Menu Item:</strong> fog.wipeit<br />
<strong>Description:</strong> FOG builtin Disk Eraser Tool<br />
<strong>Parameters:</strong><br />
kernel tftp://${fog-ip}/bzImage<br />
initrd tftp://${fog-ip}/init.xz<br />
imagargs bzImage initrd=init.xz root=/dev/ram0 rw ramdisk_size=256000 ip=dhcp web=${fog-ip}/fog/ consoleblank=0 loglevel=4 mode=wipe wipemode=full<br />
imgfetch init.xz<br />
boot ||<br />
goto MENU<br />
<strong>Menu Show with:</strong> All Hosts</p>
</blockquote>
<p dir="auto">I was trying this today. As things likely changed since this was posted I found that I needed to change:</p>
<blockquote>
<p dir="auto">kernel tftp://${fog-ip}/bzImage<br />
initrd tftp://${fog-ip}/init.xz</p>
</blockquote>
<p dir="auto">With :</p>
<p dir="auto">kernel <a href="http://$" target="_blank" rel="noopener noreferrer nofollow ugc">http://$</a>{fog-ip}/fog/service/ipxe/bzImage<br />
initrd <a href="http://$" target="_blank" rel="noopener noreferrer nofollow ugc">http://$</a>{fog-ip}/fog/service/ipxe/init.xz</p>
<p dir="auto">Also there was a ram error so needed to increase size of the ramdisk to something larger such as 512000</p>
<p dir="auto">I also omitted imgfetch init.xz and it still worked to my understandimg. Can someone please confirm that this line is redundant?</p>
<p dir="auto">I get a database failed to update after the wipe. I am assuming this is because the wipe was initiated without being tasked?</p>
<p dir="auto">Also I was surprised that the full wipe on the nvme SSD took less than a minute. Shouldn’t it take much long to write zeros or does FOG wipe perform some other type of erasure? If so what kind of erase method does FOG use for wipemode=full ?</p>
]]></description><link>http://forums.fogproject.org/topic/18199/wiping-drive-via-pxe-menu</link><generator>RSS for Node</generator><lastBuildDate>Thu, 16 Jul 2026 03:44:15 GMT</lastBuildDate><atom:link href="http://forums.fogproject.org/topic/18199.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 16 Jul 2026 00:51:25 GMT</pubDate><ttl>60</ttl></channel></rss>