Adding Tools to our Linux Deployment

Adding Parted Magic to your WDS Server.

Read prior to configuring the server to have an idea of what you are doing and gain an understanding prior to commencement.

If you are reading this, then I assume (good or bad) that you have read my guide on setting up a Windows 2012R2 WDS Server and played with deploying Linux as described in the article.

There is nothing special about using WDS as all we are basically providing is a PXE Boot server that has been configured to allow us to deploy Windows based images or a couple of Linux flavours.

Now, some may like other types of things, so this is where the “Tools” come in.

Parted Magic as we all know is a disk partitioning tool that actually runs GParted. It also contains a Disk Imaging tool based on Clonezilla.

I was going to include adding Clonezilla but Parted Magic is a little easier to get going and doesn’t rely on NFS shares or the like, as all the required bits will be situated in the 

RemoteInstall\boot\x64\linux path.

OK, let’s begin, what’s needed; PMagic_2016_03_02.iso from or anywhere else. This is the latest copy I could find that was free. This page also has information on Computer requirements for running Parted Magic.

If this PMagic_2016_03_02.iso is not the one used, changes must be made to the section of the tools menu that loads the ISO.

This line INITRD LINUX/PMagic/pmagic_2016_03_02.iso in the must be edited to reflect the ISO used

Setting up the PMagic folder.

Drill down to the RemoteInstall\boot\x64 folder, and we should already have a sub folder called Linux where we set up Ubuntu and Centos. Make a folder called PMagic and extract the downloaded PMagic_2016_03_02.iso. Also place a copy of the ISO in this folder as shown

The PMagic Folder under Linux

Contents of the PMagic Folder

NOTE: Prior to booting up into Parted Magic, we need to edit the Syslinux.cfg located in the PMagic\boot folder. Open in notepad and replace vmalloc=512Mib with vmalloc=600MiB. I just did all instances.

The first time I booted into PMagic I was presented with an error along the lines of Increase vmalloc in the syslinux.cfg to equal the ISO size plus 32MiB. 600MiB is a nice round figure

From the previous post on deploying Linux from WDS, we should have 2 files in the RemoteInstall\boot\x64\pxelinux.cfg folder. The default file and the

When the client PC or VM is PXE booted we are presented with the new Boot menu as previously configured. 

Selecting =DISK TOOLS= gives us the Disk Tools Menu

From here we can select Part’d Magic Full ISO tool.

Selecting Part’d Magic Full ISO will start the process of booting the ISO to a live environment

 As Clonezilla is in the menu, I will cover it quickly. 

What’s required? or ISO or * I had a version earlier than the 20161024 and had no mouse, it just sat in the middle of the screen. 

Create a Clonezilla folder in the following location RemoteInstall\boot\x64\linux

Create a Clonezilla folder in the {drive:\Linux-distributions}
Extract the ISO or zip file to the Clonezilla folder. Copy the Live folder to the RemoteInstall\boot\x64\linux\Clonezilla folder.

Copy the vmlinuz file from the live folder back up to the RemoteInstall\boot\x64\linux\Clonezilla folder

This needs to be done as kernel load line for clonezilla looks like this: Kernel Linux/Clonezilla/vmlinuz


Edit the to this: Kernel Linux/Clonezilla/live/vmlinuz and it will work.


Good luck


5655total visits,8visits today