fszqwl 发表于 2025-1-19 10:25
title 0 /EFI/Microsoft/Boot/bootmgfw.efi
find --set-root /EFI/Microsoft/Boot/bootmgfw.efi
chainl ...
fszqwl 发表于 2025-1-19 10:25
title 0 /EFI/Microsoft/Boot/bootmgfw.efi
find --set-root /EFI/Microsoft/Boot/bootmgfw.efi
chainl ...
fszqwl 发表于 2025-1-19 15:00
用G4E 中的bootx64.efi 引导 在不手动关闭secure boot 如何认证或跳过 bios中secure boot(安全引导)
gmy 发表于 2025-3-24 15:32
楼主,我也正想问这个问题,你找到答案了吗?
hilsonma 发表于 2025-3-24 15:55
2楼和9楼的回答你没有看明白吧。
uefi环境下是不能转扇区引导的,只能转efi文件引导
所以uefi下要启动 ...
2011yaya2007777 发表于 2025-3-24 16:26
可以在要启动的根分区,放置一个空文件,比如111.txt ,然后:find --set-root /111.txt
gmy 发表于 2025-3-24 16:34
以下是另外一个网友的G4D代码,我改了一下,成功了:
title WinXP/Vista/7/8/10
find --set-root --ignor ...
hilsonma 发表于 2025-3-24 17:54
如果U盘也是bootmgr引导并且被识别为硬盘的话,那么find 的对象就改成 /Windows
gmy 发表于 2025-3-24 19:21
试了几台XP和Win7的老电脑,第二个代码成功了。但XP下虽然成功了,但中途仍有错误代码,显示8屏之多。我 ...
窄口牛 发表于 2025-3-24 20:03
g4e,启动XP?那就得是64位的XP,用efi启动;很明显你这是legacy的XP。
hilsonma 发表于 2025-3-24 17:54
如果U盘也是bootmgr引导并且被识别为硬盘的话,那么find 的对象就改成 /Windows
不点 发表于 2025-3-25 10:32
bootmgr 不需要交换盘号。
ntldr 才需要交换盘号。
第二条 find 命令可以用另外一条命令代替(前不久我发过帖子)
hilsonma 发表于 2025-3-25 11:02
感谢指导斧正。
hilsonma 发表于 2025-3-25 11:02
感谢指导斧正。
不点 发表于 2025-3-25 12:45
找到了,在这儿:
http://bbs.wuyou.net/forum.php?mod=viewthread&tid=444092&page=1#pid5542700
hilsonma 发表于 2025-3-25 13:13
非常感谢。
总结一下:
不点 发表于 2025-3-25 13:28
我已经更新了帖子,补充了 “不可以 find Windows”的内容。
因为 Windows 所在分区,不一定是 ntldr ...
不点 发表于 2025-3-25 13:28
我已经更新了帖子,补充了 “不可以 find Windows”的内容。
因为 Windows 所在分区,不一定是 ntldr ...
只让 find 命令搜索主分区
hilsonma 发表于 2025-3-25 14:01
这部分内容我已经看了,但是暂时是无解的。
gmy 想做通用的pe引导盘,但现在没有找到一个通用的确定wi ...
不点 发表于 2025-3-25 14:12
办法总比问题多。
要查找 ntldr 的时候,设法跳过 U 盘即可。可以先确定 U 盘的特征,比如,卷标,或 ...
不点 发表于 2025-3-25 14:12
办法总比问题多。
要查找 ntldr 的时候,设法跳过 U 盘即可。可以先确定 U 盘的特征,比如,卷标,或 ...
"find [--set-root[=DIR]] [--devices=DEVLIST] [--ignore-floppies] [--ignore-cd] [FILENAME] [CONDITION]",
"Search for the filename FILENAME in all of partitions and print the list of"
" the devices which contain the file and suffice CONDITION. CONDITION is a"
" normal grub command, which return non-zero for TRUE and zero for FALSE."
" DEVLIST specify the search devices and order,the default DEVLIST is upnhcf."
" DEVLIST must be a combination of these letters (u, p, n, h, c, f)."
" If the option --set-root is used and FILENAME is found on a device, then"
" stop the find immediately and set the device as new root."
" If the option --ignore-floppies is present, the search will bypass all"
" floppies. And --ignore-cd will skip (cd)."
wintoflash 发表于 2025-3-25 14:30
已知当前U盘的情况下确实可以通过CONDITION来排除u盘。
但是,假如说用户同时插入了多个U盘呢?
hilsonma 发表于 2025-3-25 14:25
知道 find 后面有个参数 condition 但不懂怎么用,也没有见过这样的应用实例。
hilsonma 发表于 2025-3-25 13:13
非常感谢。
总结一下:
不点 发表于 2025-3-25 13:28
我已经更新了帖子,补充了 “不可以 find Windows”的内容。
因为 Windows 所在分区,不一定是 ntldr ...
szwp 发表于 2025-3-25 22:31
玩vhd前,曾经将系统装在逻辑分区里,想装的系统太多,主分区不够用
不点 发表于 2025-3-26 08:19
您的发言,引起我的思考。
反而觉得,find 在搜索 ntldr 时,恰恰正是应该只搜索主分区!
szwp 发表于 2025-3-26 08:46
当年用的引导软件是spfdisk,是一个分区软件,也是一个引导器。可以做到各系统之间,其它系统分区隐藏, ...
不点 发表于 2025-3-26 10:18
不管是哪个分区软件、引导软件,使用的规范都是同一个:是 PC 的总司令微软制定的规范。
无论 ntldr ...
szwp 发表于 2025-3-26 10:29
自用和给别人用区别太大,需要考虑的东西太多了
不点 发表于 2025-3-26 10:38
其实这里讨论的重点是 hilsonma 的 find Windows 方案的可行性。
结论是不可行。当然了,如果对失败情 ...
欢迎光临 无忧启动论坛 (http://wuyou.net/) | Powered by Discuz! X3.3 |