Gparted in PXE

From RVM Wiki
Revision as of 08:30, 9 September 2010 by Gabriele.vivinetto (talk | contribs) (New page: Gparted consente di effettuare il resize di partizioni NTFS ==Scaricamento== <pre> cd /tmp/ mkdir gparted cd gparted wget -c --bind-address=192.168.0.231 "http://downloads.sourceforge.ne...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Gparted consente di effettuare il resize di partizioni NTFS

Scaricamento

cd /tmp/
mkdir gparted
cd gparted
wget -c --bind-address=192.168.0.231 "http://downloads.sourceforge.net/project/gparted/gparted-live-stable/0.6.2-2/gparted-live-0.6.2-2.zip?use_mirror=switch" -O gparted-live-0.6.2-2.zip
unzip gparted-live-0.6.2-2.zip -d gparted

Installazione

sudo mkdir /files/tftpboot/gparted/
sudo cp -v /tmp/gparted/live/{vmlinuz,initrd.img} /files/tftpboot/gparted/
sudo cp -v /tmp/gparted/live/filesystem.squashfs /files/tftpboot/gparted/

Configurazione PXE

cd /files/tftpboot/

cat | sudo tee -a /files/tftpboot/pxelinux.cfg/default > /dev/null <<EOFile
label gparted
kernel gparted/vmlinuz
append initrd=gparted/initrd.img boot=live union=aufs noswap noprompt vga=788 fetch=tftp://192.168.29.254/gparted/filesystem.squashfs
EOFile
echo | sudo tee -a cd /files/tftpboot/boot.txt > /dev/null <<EOFile
gparted    Boot into Gparted partition editor
EOFile

Riferimenti