victor888 发表于 2015-1-22 12:18:13

chenall,希望你能为G4D加入GRUB2的引导EFI文件的功能

如题,不点老了,干不动了,你还年轻有为,我是无能为力,因为不懂C。
我知道,这可能很艰难,但一旦成功,则意味着你为G4D延续了生命。

大家支持啊!

captain_g 发表于 2015-1-22 13:06:23

时代已经大不同了,搞机折腾的环境与热衷人群的规模已经日薄西山;

现在的操作系统已非早期那样羸弱,人们对新系统的感觉似乎已难有兴奋,或许不久的将来WINDOWS也不得不免费;

搞了那么多的启动盘,还有PE系统,究竟拯救过自己几次?当时也许是必须的,缘于对崩溃和宝贵数据的担忧,但静心想来,花费的时间不算精力,也可重装系统千遍,总觉得有点 NO ZUO NO DIE;

当我们身边到处都充斥着智能手机、平板电脑、笔电、台式机的时候,……

除了对技术的专研与挑战,还有无法解释的兴趣,剩下的理由是,……

2013abcdefg 发表于 2015-1-22 16:27:43

时代已经大不同了,好有切身感受. 我已经转行不做电脑了. 中关村也关了.这也许就是时代!

friend_8179 发表于 2015-1-22 18:12:12



很久就不整PE了,现在基本用不上

xypcmac 发表于 2015-1-23 15:58:35

对于技术的探索还是支持的!

细细哥~ 发表于 2015-1-23 23:51:26

这个问题太猛了!就是说:开发一个可以引导GRUB4DOS的EFI文件。

victor888 发表于 2015-1-25 14:09:07

CHENALL吓跑了。

2013abcdefg 发表于 2015-1-25 15:51:29

应该说这是一项艰巨的任务! 不是一般人能承担的! 能承担的人必是时代的领导人物

2011902 发表于 2015-1-25 19:46:29

电脑厂商为了打死grub4dos,经过多年研究终于研制出UEFI这玩儿,一举将想要永生的grub4dos干掉。

细细哥~ 发表于 2015-1-25 21:33:34

本帖最后由 细细哥~ 于 2015-1-27 21:06 编辑

我觉得楼主的标题没取好。。。
GRUB4DOS→clover→UEFI BIOS→引导EFI文件

yjd 发表于 2015-1-26 11:54:19

现在都不折腾了。下现成的。偶尔来逛逛。

2012xiefi 发表于 2016-8-11 14:14:12

刚看到一篇
UEFI Boot from grub4dos
Started by steve6375 , May 16 2014 05:15 PM
Posted 16 May 2014 - 05:15 PM
I have found a way to boot from grub4dos to Clover (and then UEFI boot).

No utilities are required (other than a recent version 2013/2014 of grub4dos).

Here is a menu.lst - it assumes you have a FAT32 grub4dos USB drive which has grub4dos MBR bootcode installed.


iftitle Run Clover UEFI Boot Menu\n Run this if you wish to use Clover to UEFI boot
set CL=0
## boot7 is default boot file
cat --locate="BOOT7" --length=10 --skip=0x58 ()+1 > nul && set /a CL=%CL%+1 > nul
if "%CL%"=="1" echo Information: Clover is already installed to the PBR
## configfile /menu.lst
echo ffffffffff > (md)0x350+1
dd if=(hd0,0)+1 of=(md)0x350+1 > nul
dd if=()/clover/boot1f32alt7 of=(md)0x350+1 skip=87 seek=87 bs=1 > nul
dd if=()/clover/boot1f32alt7 of=(md)0x350+1 count=3 bs=1 > nul
#cat --hex (md)0x350+1 && pause
if not "%CL%"=="1" cat --locate="SYSLINUX" --length=10 --skip=0x2 ()+1 > nul && pause PROBLEM: SYSLINUX PBR DETECTED - Cannot install Clover to PBR... && configfile /menu.lst
if not "%CL%"=="1" dd if=(md)0x350+1 of=(hd0,0)+1 > nul && pause --wait=2 PBR updated with Clover boot code
chainloader /clover/boot0md || chainloader /clover/boot0ss || chainloader /clover/boot0af
# User can press 2 for 3 for 32-bit UEFI, 6 for 64-bit UEFI or 1 for Chameleon - within 2 seconds
# boot0md gives a boot0 message and is slower - boot0ss is silent with no message


Full details in my blog post here.
The code still needs tidying up, but I thought I would post to get comments. Using this you can UEFI boot directly from grub4dos.
I created the boot1f32alt7 file myself - it is not a standard Clover file (the standard boot1f32alt file loads the file \boot which we cannot have if the Windows \BOOT folder is in the same partition).
The dd code could probably be simplified to directly patch the PBR, but I wanted to be able to check it first before I allowed it to patch the PBR!
Attached Files
Attached FileBOOT1F32ALT7.zip   623bytes   891 downloads

http://reboot.pro/topic/19809-uefi-boot-from-grub4dos/

JCDN 发表于 2016-8-12 11:31:41

2012xiefi 发表于 2016-8-11 14:14
刚看到一篇
UEFI Boot from grub4dos
Started by steve6375 , May 16 2014 05:15 PM


没看太懂,用grub启动efi?grub直接启动系统了,为什么还要绕一下?还是我误解了?

应该是细细哥前面说的那个吧,efi引导grub,确切的说,符合efi规范的grub

有阴也有阳 发表于 2016-8-27 01:30:34

本帖最后由 有阴也有阳 于 2016-8-27 01:44 编辑

      愿望是好的,但却不大可能实现,grub——grub2——grub4dos,grub2还能既支持BIOS,又支持UEFI,

而在grub2基础上进一步开发、研发的grub4dos则极大地强化了、发展了、提高了、丰富了grub2在BISO下使

用的各种功能性,不仅仅是量变,而且是质变,让人叹为观止——这方面是grub与grub2所不能比拟的,但grub4dos

却因此而远离了对UEFI启动的支持,可以说是彻底的告别了UEFI启动,好比现在的grub4dos是羊,UEFI启动是

狗,狗肉是贴不到羊身上的,又好比BISO是驴,UEFI是马,grub2是骡子,那么在grub2基础上研发出来的grub4dos

的发展变化已经彻底摆脱了骡子的两面性,变成了一头彻彻底底的驴子,跟马连边都不沾了......,现在要回过头来

在grub4dos中加入支持UEFI启动的功能已无可能,这如同在酸中加入碱,在正电中加入负电,在东风中加入西风......,

是自相矛盾的。

yynq 发表于 2016-10-10 14:16:27

有阴也有阳 发表于 2016-8-27 01:30
愿望是好的,但却不大可能实现,grub——grub2——grub4dos,grub2还能既支持BIOS,又支持UEFI,
...

应该是    grub1 —— grub4dos
             grub1 —— grub2

grub4dos不是在grub1基础上进一步开发、研发的吗?

页: [1]
查看完整版本: chenall,希望你能为G4D加入GRUB2的引导EFI文件的功能