1.准備工作=>Universal-usb-installer、下載最新版的kali-linux(最新的未必是最好用的bug 太多)、>8GU盤、BOOTICEx86.exe
2.先格式化U盤,然后用Universal-usb-installer 將kali linux系統刻錄到U盤
3.打開BOOTICEx86.exe,選擇U盤,然后點擊主引導記錄M,點擊第二個grub4dosxxxx,再點擊安裝配置就好了
4.把GRLDR和meau.lst復制粘貼到我們的U盤根分區就好了
1 GRLDR 代碼部分如下: 2 pxe detect 3 configfile 4 default 0 5 timeout 0 6 7 title find /menu.lst 8 errorcheck off 9 configfile /menu.lst 10 if "%@root%"=="(ud)" && calc *0x82A0=*0x82b9&0xff 11 errorcheck on 12 commandline 13 14 title cmd 15 commandline 16 17 title reboot 18 reboot 19 20 title shutdown 21 halt
1 meau.lst 代碼部分如下: 2 color blue/green yellow/red white/magenta white/magenta 3 timeout 30 4 ## menu border color 5 color border=0xEEFFEE 6 ## set vbe mode 7 ##graphicsmode -1 640 480:800 8 ## loading splashimage 9 ##splashimage /boot/grub/splashimage.xpm || splashimage /boot/grub/splashimage.bmp 10 default 0 11 ## Menu AutoNumber 12 ##write 0x8274 0x2001 13 14 title Kali linux(686-pae) 15 find --set-root /g2ldr.mbr 16 kernel /live/vmlinuz boot=live noconfig=sudo username=root hostname=kali 17 initrd /live/initrd.img 18 19 title Kali linux(686-pae persistence) 20 find --set-root /g2ldr.mbr 21 kernel /live/vmlinuz boot=live noconfig=sudo username=root hostname=kali persistence 22 initrd /live/initrd.img 23 ##boot 24 25 title Kali linux(686-pae failsafe) 26 find --set-root /g2ldr.mbr 27 kernel /live/vmlinuz boot=live config memtest noapic noapm nodma nomce nolapic nomodeset nosmp nosplash vga=normal 28 initrd /live/initrd.img 29 30 title Kali linux(forensic mode) 31 find --set-root /g2ldr.mbr 32 kernel /live/vmlinuz boot=live noconfig=sudo username=root hostname=kali noswap noautomount 33 initrd /live/initrd.img 34 35 title Kali linux install 36 find --set-root /g2ldr.mbr 37 kernel /install/gtk/vmlinuz vga=788 -- quiet 38 initrd /install/gtk/initrd.gz 39 40 title Kali linux install(graphical) 41 find --set-root /g2ldr.mbr 42 kernel /install/gtk/vmlinuz video=vesa;ywrap,mtrr vga=788 -- quiet 43 initrd /install/gtk/initrd.gz 44 45 title Kali linux install(with speech synthesis) 46 find --set-root /g2ldr.mbr 47 kernel /install/gtk/vmlinuz video=vesa;ywrap,mtrr vga=788 speakup.synth=soft -- quiet 48 initrd /install/gtk/initrd.gz 49 50 title CMD 51 commandline 52 53 title reboot 54 reboot 55 56 title shutdown 57 halt
5.修改電腦bios從U盤啟動我們的系統(此時的U盤是不可寫的就是裝了軟件下次重啟就=沒裝,所以最好裝到U盤)安裝步驟可以參考http://webware.biz/?p=3379這個網站
