<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.fogproject.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Spellerr</id>
		<title>FOG Project - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.fogproject.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Spellerr"/>
		<link rel="alternate" type="text/html" href="https://wiki.fogproject.org/wiki/index.php?title=Special:Contributions/Spellerr"/>
		<updated>2026-05-09T23:09:59Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https://wiki.fogproject.org/wiki/index.php?title=Include_GParted&amp;diff=3212</id>
		<title>Include GParted</title>
		<link rel="alternate" type="text/html" href="https://wiki.fogproject.org/wiki/index.php?title=Include_GParted&amp;diff=3212"/>
				<updated>2011-05-01T14:48:45Z</updated>
		
		<summary type="html">&lt;p&gt;Spellerr: Fixed an inconsistent space, clarified step #6, and added to Dukeokanabec's note reporting a step which is required for GParted to work.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The GParted application enables you to change the partition organization on a disk device while preserving the contents of the partitions.&lt;br /&gt;
(taken from [http://gparted.sourceforge.net/ GParted's Homepage]) &lt;br /&gt;
&lt;br /&gt;
With GParted you can accomplish the following tasks:&lt;br /&gt;
*Create a partition table on a disk device.&lt;br /&gt;
*Enable and disable partition flags such as boot and hidden.&lt;br /&gt;
*Perform actions with partitions such as:&lt;br /&gt;
**create or delete&lt;br /&gt;
**resize or move&lt;br /&gt;
**check&lt;br /&gt;
**label&lt;br /&gt;
**copy and paste&lt;br /&gt;
&lt;br /&gt;
==Steps to integrate GParted into FOG as a PXE boot option==&lt;br /&gt;
1.) Be sure you are logged in to your server as root. Switch to the tmp directory:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /tmp&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2.) Get the latest version of GParted from [http://sourceforge.net/projects/gparted/files/ here] (make sure you download &amp;quot;gparted-live-&amp;lt;version&amp;gt;.zip&amp;quot; - substitute &amp;lt;version&amp;gt; with the latest version of GParted)&lt;br /&gt;
&lt;br /&gt;
3.) After that we unzip the parts of GParted we need:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir -p /tmp/gparted; unzip gparted-live-*.zip -d /tmp/gparted/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
(Replace gparted-live-*.zip with the file name you just downloaded).&lt;br /&gt;
&lt;br /&gt;
4.) Create the directories in the appropriate places:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir /tftpboot/fog/gparted&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now copy the relevant PXE boot files to the directory just created:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cp /tmp/gparted/live/{vmlinuz1,initrd1.img} /tftpboot/fog/gparted/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5.) Copy /tmp/gparted/live/filesystem.squashfs to your http server's DocumentRoot (usually located at /var/www):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cp /tmp/gparted/live/filesystem.squashfs /var/www/fog/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
6.) Open FOG's PXE menu config file:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
nano /tftpboot/pxelinux.cfg/default&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
7.) Copy these lines to the end of that file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 LABEL GParted&lt;br /&gt;
        kernel fog/gparted/vmlinuz1&lt;br /&gt;
        append initrd=fog/gparted/initrd1.img boot=live union=aufs noswap noprompt vga=788 fetch=http://&amp;lt;My HTTP server IP&amp;gt;/fog/filesystem.squashfs&lt;br /&gt;
        MENU LABEL GParted Live&lt;br /&gt;
        TEXT HELP&lt;br /&gt;
        The GParted application is the GNOME partition editor for creating, reorganizing, and deleting disk partitions.&lt;br /&gt;
        ENDTEXT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' Replace &amp;lt;My HTTP server IP&amp;gt; with the IP address of your http server (usually your FOG server), e.g. your &amp;quot;append&amp;quot; line might look like this when you've inserted your server's IP address if your server's IP is 192.168.1.1:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
append initrd=fog/gparted/initrd1.img boot=live union=aufs noswap noprompt vga=788 fetch=http://192.168.1.1/fog/filesystem.squashfs&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
'''NOTE:''' In FOG's PXE menu config file, (/tftpboot/pxelinux.cfg/default) the word '''config''' may be required on the append line. [[Dukeokanabec]] reported that '''config''' was required for him while installing GParted version 0.7.0-4. [[Spellerr]] also reported that '''config''' was required for him while installing GParted version 0.8.0-1, and excluding '''config''' resulted in GParted prompting for a password. Per GParted instructions linked below they added the word config to the PXE menu entry and it worked fine, like this:&lt;br /&gt;
&lt;br /&gt;
       LABEL GParted&lt;br /&gt;
        kernel fog/gparted/vmlinuz1&lt;br /&gt;
        append initrd=fog/gparted/initrd1.img boot=live '''config''' union=aufs noswap noprompt vga=788 fetch=&amp;lt;fog I.P&amp;gt;/fog/filesystem.squashfs&lt;br /&gt;
       MENU LABEL GParted Live&lt;br /&gt;
        TEXT HELP&lt;br /&gt;
        The GParted application is the GNOME partition editor for creating,...&lt;br /&gt;
        ENDTEXT&lt;br /&gt;
&lt;br /&gt;
For more information (GParted's PXE instructions) see [http://gparted.sourceforge.net/livepxe.php here]&lt;br /&gt;
&lt;br /&gt;
= Additional warning =&lt;br /&gt;
If you manually edit the default file under pxelinux.cfg as mentioned above all your changes will be lost when you rebuild the PXE Boot Menu from the Web-Gui.&lt;br /&gt;
To avoid this, the changes from above also need to be added to the generatePXEMenu() function in commons/functions.include.php file in the $strMenu variable.&lt;/div&gt;</summary>
		<author><name>Spellerr</name></author>	</entry>

	</feed>