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盘)
时间: 2024-10-12 12:57:24