2015年8月28日 星期五

PXE 一鍵還原 pxelinux.cfg\default 設定

無法正確下載 Sysnology tftp  filesystem.squashfs 檔案
所以另用它法 http  或  ftp

PXE\tftpboot\clonezilla-live-2.4.2-32-amd64\pxelinux.cfg\default

label clonezilla
MENU DEFAULT
  # MENU HIDE
  MENU LABEL pxelinux Clonezilla DEFAULT 800*600
  # MENU PASSWD
 
  kernel vmlinuz
   #append initrd=initrd.img boot=live union=overlay  username=user config components  noswap edd=on nomodeset nodmraid noeject  ip= net.ifnames=0 quiet nosplash i915.blacklist=yes radeonhd.blacklist=yes nouveau.blacklist=yes vmwgfx.enable_fbdev=1   vga=791 locales=zh_TW.UTF-8 keyboard-layouts=NONE  ocs_prerun1="mount -t cifs -o user=clone //172.22.100.16/images /home/partimag" fetch=tftp://172.22.100.16/filesystem.squashfs


   append initrd=initrd.img boot=live union=overlay  username=user config components  noswap edd=on nomodeset nodmraid noeject  ip= net.ifnames=0 quiet nosplash i915.blacklist=yes radeonhd.blacklist=yes nouveau.blacklist=yes vmwgfx.enable_fbdev=1   vga=791 locales=zh_TW.UTF-8 keyboard-layouts=NONE  ocs_prerun1="mount -t cifs -o user=clone //172.22.100.16/images /home/partimag" fetch=ftp://???:???@172.22.100.16/images/PXE/tftpboot/clonezilla-live-2.4.2-32-amd64/filesystem.squashfs


   #append initrd=initrd.img boot=live union=overlay  username=user config components  noswap edd=on nomodeset nodmraid noeject  ip= net.ifnames=0 quiet nosplash i915.blacklist=yes radeonhd.blacklist=yes nouveau.blacklist=yes vmwgfx.enable_fbdev=1   vga=791 locales=zh_TW.UTF-8 keyboard-layouts=NONE  ocs_prerun1="mount -t cifs -o user=clone //172.22.100.16/images /home/partimag" fetch=http://172.22.100.2/filesystem.squashfs
  TEXT HELP
  * Clonezilla version: 3.16.26-drbl1. (C) 2003-2015, NCHC, Taiwan
  ENDTEXT




一鍵還原

label Clonezilla Live 
MENU LABEL Clonezilla Live Computer ClassA restore 2015-08-18-04-imgca to disk sda shutdown
kernel vmlinuz
append initrd=initrd.img boot=live union=overlay username=user config components  noswap edd=on nomodeset nodmraid noeject locales=zh_TW.UTF-8 keyboard-layouts=NONE ocs_live_run="ocs-sr --batch -g auto -e1 auto -e2 -r -j2 -k -p shutdown restoredisk 2015-08-18-04-imgca sda" ocs_live_extra_param="" ocs_live_batch=yes vga=791 ip= net.ifnames=0 quiet nosplash i915.blacklist=yes radeonhd.blacklist=yes nouveau.blacklist=yes vmwgfx.enable_fbdev=1  ocs_prerun1="dhclient -v eth0" ocs_prerun2="sleep 2" ocs_prerun3="mount -t cifs -o user=clone //172.22.100.16/images /home/partimag" ocs_prerun4="sleep 5" fetch=http://172.22.100.2/filesystem.squashfs 
# append initrd=initrd.img boot=live live-config noswap nolocales edd=on nomodeset ocs_live_run="ocs-live-general" ocs_live_extra_param="" ocs_live_keymap="" ocs_live_batch="no" ocs_lang="" vga=788 nosplash fetch=tftp://172.22.100.16/filesystem.squashfs
  TEXT HELP
  * Clonezilla version: 3.16.26-drbl1. (C) 2003-2015, NCHC, Taiwan
  * One key restore Computer Room A  Disk 1
  ENDTEXT    

沒有留言:

張貼留言