You are not logged in.

#1 2011-10-20 02:14:32

Totony
Member
Registered: 2011-07-26
Posts: 16

UEFI-DUET image booting with GRUB2 (using syslinux memdisk) RAM

Hi,

Changing my hard drive from MBR to GPT, I wanted to install Windows 7 (64 bits).
Going through the installation and all, I get the "Cannot install on the disk because the disk is GPT", so I check a bit everywhere, find out that we can't install Windows 7 on a GPT disk if the system doesn't have a UEFI firmware.

Searching a bit more, I find two ways to get Windows to work :
First one is to trick Windows into thinking the disk is MBR (hybrid)
Second one is to use an emulator (UEFI-DUET).

Choosing the second one, because first one could ruin a lot of things and all, I try to install UEFI-DUET on my computer.

I barely follow this link www.rodsbooks.com/bios2uefi/
And I get an image of the emulator from this link https://gitorious.org/tianocore_uefi_du … all/master

So, I got it to work and all, UEFI is booting after GRUB using memdisk, that works well.
When the UEFI boot option comes up, I see 4096 Mb of RAM and my other specs (in the boot screen), BUT, when Windows 7 (that I installed) or Archlinux (that I booted via grub2) starts, I only have around 1300 Mb available, the missing RAM is supposely reserved for the system.
Though, I have all my RAM available if I start Archlinux without UEFI-DUET.

So, I get a 1.3 Gb RAM Windows 7 running (which is terribly laggy).

Anyone knows if UEFI-DUET has some options I could set or knows some tweak I could do to get all that RAM back ?
(What I find strange in all this is that UEFI-DUET detects all the RAM, but doesn't seem to give it to the Operating system).

Note : My ESP (Partition for UEFI bootloaders and all) got all fucked up, but still got the files I need to start the bootloaders I want (if that changes something).
(My ESP is ~100 Mb).

Thanks for the answers,
Totony.

P.S. : If what I'm saying is not understandable, tell me what you don't understand so I can clarify it a bit.
P.S. 2 : I REALLY didn't know where to ask this question, so if someone has any place where this could be answered, please let it in the answers. (I thought maybe someone had had this problem before in the Archlinux community).

Last edited by Totony (2011-10-20 02:16:49)

Offline

#2 2011-10-20 10:51:31

the.ridikulus.rat
Member
From: Indiana, USA
Registered: 2011-10-04
Posts: 765

Re: UEFI-DUET image booting with GRUB2 (using syslinux memdisk) RAM

Thats a problem with grub2+memdisk combination. Better go for Migle's BootDuet (from partition) or syslinux+memdisk. The duet-installer zip contains all the necessary files.

Offline

#3 2011-10-20 10:54:35

the.ridikulus.rat
Member
From: Indiana, USA
Registered: 2011-10-04
Posts: 765

Re: UEFI-DUET image booting with GRUB2 (using syslinux memdisk) RAM

Totony wrote:

P.S. 2 : I REALLY didn't know where to ask this question, so if someone has any place where this could be answered, please let it in the answers. (I thought maybe someone had had this problem before in the Archlinux community).

http://www.insanelymac.com/forum/index. … pic=186440

Offline

#4 2011-10-20 23:18:09

Totony
Member
Registered: 2011-07-26
Posts: 16

Re: UEFI-DUET image booting with GRUB2 (using syslinux memdisk) RAM

Thanks for your help.
But now I have another problem : How can I make Grub chainload syslinux ? It doesn't seem to work (saying " Invalid filename `' ").

Offline

#5 2011-10-25 12:49:22

the.ridikulus.rat
Member
From: Indiana, USA
Registered: 2011-10-04
Posts: 765

Re: UEFI-DUET image booting with GRUB2 (using syslinux memdisk) RAM

Totony wrote:

Thanks for your help.
But now I have another problem : How can I make Grub chainload syslinux ? It doesn't seem to work (saying " Invalid filename `' ").

Forget about chainloading syslinux from grub. Use BootDuet bootsectors https://github.com/migle/BootDuet to setup Efildr20 in a FAT32 partition and then chainload that partition from grub2.

EDIT: Continue about this topic in the insanelymac forum thread (you can find me as "skodabenz" there). I maintain the gitorious repos and compile the DUET binaries you mentioned (https://gitorious.org/~the-ridikulus-rat). DUET has nothing to do with Archlinux.

Last edited by the.ridikulus.rat (2011-10-25 12:54:29)

Offline

Board footer

Powered by FluxBB