|
From: | Alexei Podtelezhnikov |
Subject: | Re: Format option for chainloading GRUB from BOOTMGR |
Date: | Tue, 6 Aug 2013 21:56:05 -0400 |
В Mon, 5 Aug 2013 13:30:04 -0400
Alexei Podtelezhnikov <address@hidden> пишет:
> 1) Create core.img with **full** direct unmounted path to grub directory
> Hi all,
>
> Thanks to ideas in [1], I managed to chainload GRUB2 core.img from Windows
> 7 BOOTMGR. Here is the three steps.
>
> starting from partition, for example> grub2-mkimage --output=./core.img --format=i386-pc --prefix=*(hd0,1)*/grub2
>
> biosdisk part_msdos ext2
>
More robust is to use embedded config to search for partition UUID.
Hard disk enumeration may change between reboots.
Adding something like i386-pc-lnx is relatively trivial from technical
PoV. The main problem is that we need to keep boot code and /boot/grub
directory in think - i.e. both must be updated in one step. Does BCD
configuration need update after grub2.img gets updated?
[Prev in Thread] | Current Thread | [Next in Thread] |