Booten vom Netzwerk: Clonezilla 1.2.6-59 via PXE starten
Die folgende Anleitung zeigt, wie Sie Clonezilla (http://www.clonezilla.org) in Ihren PXELINUX PXE-Server implementieren können. Sollten Sie noch keinen PXE-Server eingerichtet haben, lesen Sie bitte die Anleitung CentOS 5: PXE-Server mit graphischem Bootmenü.
Zuerst laden Sie sich die aktuellen Clonezilla ISO-Images herunter. Momentan ist die aktuelle Version von Clonezilla die Version 1.2.6-59.
[root@centos5 ~]# wget http://downloads.sourceforge.net/project/clonezilla/clonezilla_live_stable/1.2.6-59/clonezilla-live-1.2.6-59-i686.iso http://downloads.sourceforge.net/project/clonezilla/clonezilla_live_stable/1.2.6-59/clonezilla-live-1.2.6-59-amd64.iso
Anschließend mounten Sie das i686 ISO-Image.
[root@centos5 ~]# mount -o loop clonezilla-live-1.2.6-59-i686.iso /mnt
Erstellen Sie jetzt ein neues Verzeichnis unter /tftpboot.
[root@centos5 ~]# mkdir -p /tftpboot/clonezilla1.2.6-59/i686
Kopieren Sie in dieses Verzeichnis die folgenden drei Dateien aus dem ISO-Image.
[root@centos5 ~]# cp -a /mnt/live/filesystem.squashfs /mnt/live/initrd.img /mnt/live/vmlinuz /tftpboot/clonezilla1.2.6-59/i686/
Jetzt können Sie das ISO-Image wieder aushängen.
[root@centos5 ~]# umount /mnt
Wiederholen Sie diese Schritte auch für das amd64 ISO-Image.
[root@centos5 ~]# mount -o loop clonezilla-live-1.2.6-59-amd64.iso /mnt
[root@centos5 ~]# mkdir -p /tftpboot/clonezilla1.2.6-59/amd64
[root@centos5 ~]# cp -a /mnt/live/filesystem.squashfs /mnt/live/initrd1.img /mnt/live/vmlinuz1 /tftpboot/clonezilla1.2.6-59/amd64/
[root@centos5 ~]# umount /mnt
[root@centos5 ~]# mkdir -p /tftpboot/clonezilla1.2.6-59/amd64
[root@centos5 ~]# cp -a /mnt/live/filesystem.squashfs /mnt/live/initrd1.img /mnt/live/vmlinuz1 /tftpboot/clonezilla1.2.6-59/amd64/
[root@centos5 ~]# umount /mnt
Öffnen Sie jetzt die Datei /tftpboot/pxelinux.cfg/default und erweitern diese um die nachfolgenden Zeilen.
[root@centos5 ~]# vi /tftpboot/pxelinux.cfg/default
label clonezilla1.2.6-59-i686
menu label Clonezilla Live 1.2.6-59-i686
kernel /clonezilla1.2.6-59/i686/vmlinuz
append initrd=/clonezilla1.2.6-59/i686/initrd.img boot=live union=aufs noswap noprompt gfxpayload=1024x768x16,1024x768 fetch=tftp://192.168.10.1/clonezilla1.2.6-59/i686/filesystem.squashfs
label clonezilla1.2.6-59-amd64
menu label Clonezilla Live 1.2.6-59-amd64
kernel /clonezilla1.2.6-59/amd64/vmlinuz1
append initrd=/clonezilla1.2.6-59/amd64/initrd1.img boot=live union=aufs noswap noprompt gfxpayload=1024x768x16,1024x768 fetch=tftp://192.168.10.1/clonezilla1.2.6-59/amd64/filesystem.squashfs
menu label Clonezilla Live 1.2.6-59-i686
kernel /clonezilla1.2.6-59/i686/vmlinuz
append initrd=/clonezilla1.2.6-59/i686/initrd.img boot=live union=aufs noswap noprompt gfxpayload=1024x768x16,1024x768 fetch=tftp://192.168.10.1/clonezilla1.2.6-59/i686/filesystem.squashfs
label clonezilla1.2.6-59-amd64
menu label Clonezilla Live 1.2.6-59-amd64
kernel /clonezilla1.2.6-59/amd64/vmlinuz1
append initrd=/clonezilla1.2.6-59/amd64/initrd1.img boot=live union=aufs noswap noprompt gfxpayload=1024x768x16,1024x768 fetch=tftp://192.168.10.1/clonezilla1.2.6-59/amd64/filesystem.squashfs
Damit sind jetzt die benötigten Bootdateien auf Ihrem PXE-Server hinterlegt und die entsprechenden Einträge im Bootmenü erstellt worden.
Dieser Eintrag wurde am 20.03.2011 erstellt und zuletzt am 24.01.2016 bearbeitet.
Direkter Link zu dieser Seite: http://www.gtkdb.de/index_7_1212.html
[ Zur Startseite ] [ Zur Kategorie ]
© 2004-2021 by Georg Kainzbauer