bt4怎样安装到硬盘,并在开机时能从硬盘启动bt4
- 提问者网友:单纯说谎家
- 2021-03-20 13:24
- 二级知识专家网友:绝望伪装
- 2021-03-20 14:56
X:
CD BOOT
CD DOS
BT4.BAT
(X为你放BT4的盘符)
- 1楼网友:茫然不知崩溃
- 2021-03-20 16:30
2.创建grub启动条目,两种方法: a.编辑bcd bcdedit /create /d "grub" /application bootsector 回显: 项 {5e098857-4818-11de-b43e-001eec90feb6} 成功创建。 接着用下面的指令来设置引导参数,{id}替换为上面回显的id,建议用复制粘贴 bcdedit /set {id} device boot bcdedit /set {id} path \grldr.mbr bcdedit /displayorder {id} /addlast 设置等待时间 bcdedit /timeout 5 ( 如果要卸载,运行 bcdedit 查看grub的{id}后, bcdedit /delete {id} ) ( 以上做成批命令,简化操作: 安装grub.bat bcdedit /export "c:\boot\grub for bcd backup" for /f "tokens=1,2,* delims={}" %%i in ('bcdedit /create /d "grub" /application bootsector') do set grubid=%%j bcdedit /set {%grubid%} device boot bcdedit /set {%grubid%} path \grldr.mbr bcdedit /displayorder {%grubid%} /addlast bcdedit /timeout 3
卸载grub.bat attrib -h "c:\boot\grub for bcd backup*" del "c:\boot\grub for bcd backup*" ) b.增加boot.ini vista虽然去掉了c:\boot.ini,但可以手工添加一个,仍然有效,内容为: [boot loader] timeout=3 default=multi(0)disk(0)rdisk(0)partition(1)\windows [operating systems] c:\grldr.mbr="blacktrack 4 -- start by grub4dos"
3.修改c:\menu.lst,增加 title bt4 find --set-root /boot/vmlinuz kernel /boot/vmlinuz root=/dev/ram0 vga=791 initrd /boot/initrd.gz ramdisk_size=128000 boot
4.下载bt4的iso文件解压到任意盘的根目录下;
5.重启,vista启动选项选grub,到grub动选项选bt4,enjoy!
* 所有批命令请以管理员身份运行之。
附
我用的menu.lst: color black/cyan yellow/cyan timeout=5 default=0
title bt4 find --set-root /boot/vmlinuz kernel /boot/vmlinuz root=/dev/ram0 vga=791 initrd /boot/initrd.gz ramdisk_size=128000 boot
# vistape's bootmgr should be renamed to bootmgrpe because vista has the same file. # vistape should be located at a different disk as vista. title vistape find --set-root /bootmgrpe chainloader /bootmgrpe boot
title dos 98 find --set-root /dos98.ima map --mem /dos98.ima (fd0) map --hook chainloader (fd0)+1 rootnoverify (fd0) map --floppies=1 boot
title xp find --set-root /ntldr chainloader /ntldr boot
title vista find --set-root /bootmgr chainloader /bootmgr boot