Re: [Mageia-dev] Booting on GPT + UEFI + Secure Boot...

2013-01-08 Thread Olivier Thauvin
* Liam R E Quin (l...@holoweb.net) wrote:
 On Mon, 2013-01-07 at 17:01 +0100, Olivier Thauvin wrote:
 
  I found the key of the issue: grub has not install because block number
  is to big (my /boot is at 1,6TB from the start of the disk).
 
 With my HP Elitebook I found that all the partitions were allocated, so
 I booted in Windows 7 (this was 2 years ago) and used the program that
 came with Windows to resize the partitions and move them around a bit.

I did succeed to setup grub2-efi on my mageia2.
But I want cauldron on it and since upgrading mga2 = cauldron is no
longer possible I decided to try to install cauldron.

The system is installed with grub2-efi but the boot failed with all
kernel I've tried: cannot mount /proc - mount return error, no such
file or directory.

Any idea ?

-- 

Olivier Thauvin
CNRS  -  LATMOS
♖ ♘ ♗ ♕ ♔ ♗ ♘ ♖


pgp6M5wSoKTO6.pgp
Description: PGP signature


Re: [Mageia-dev] Booting on GPT + UEFI + Secure Boot...

2013-01-08 Thread Pascal Terjan
On Tue, Jan 8, 2013 at 2:01 PM, Olivier Thauvin
nanar...@nanardon.zarb.org wrote:
 * Liam R E Quin (l...@holoweb.net) wrote:
 On Mon, 2013-01-07 at 17:01 +0100, Olivier Thauvin wrote:

  I found the key of the issue: grub has not install because block number
  is to big (my /boot is at 1,6TB from the start of the disk).

 With my HP Elitebook I found that all the partitions were allocated, so
 I booted in Windows 7 (this was 2 years ago) and used the program that
 came with Windows to resize the partitions and move them around a bit.

 I did succeed to setup grub2-efi on my mageia2.
 But I want cauldron on it and since upgrading mga2 = cauldron is no
 longer possible I decided to try to install cauldron.

 The system is installed with grub2-efi but the boot failed with all
 kernel I've tried: cannot mount /proc - mount return error, no such
 file or directory.

 Any idea ?

Yes, it seems a cauldron bug :)


Re: [Mageia-dev] Booting on GPT + UEFI + Secure Boot...

2013-01-08 Thread Colin Guthrie
'Twas brillig, and Olivier Thauvin at 08/01/13 14:01 did gyre and gimble:
 But I want cauldron on it and since upgrading mga2 = cauldron is no
 longer possible I decided to try to install cauldron.

Why is this no longer possible?

Col

-- 

Colin Guthrie
colin(at)mageia.org
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited http://www.tribalogic.net/
Open Source:
  Mageia Contributor http://www.mageia.org/
  PulseAudio Hacker http://www.pulseaudio.org/
  Trac Hacker http://trac.edgewall.org/


Re: [Mageia-dev] Booting on GPT + UEFI + Secure Boot...

2013-01-08 Thread Olivier Thauvin
* Colin Guthrie (mag...@colin.guthr.ie) wrote:
 'Twas brillig, and Olivier Thauvin at 08/01/13 14:01 did gyre and gimble:
  But I want cauldron on it and since upgrading mga2 = cauldron is no
  longer possible I decided to try to install cauldron.
 
 Why is this no longer possible?

This mga2 has been installed yesterday:
urpmi --auto-update --skip '/filesystem|ncurses/' = urpmi ran during 10
minutes without doing nothing the I did stop it.

urpmi urpmi --skip '/filesystem|ncurses/' = pull perl - glibc -
and it complain the rpmlib(...) was necessary.

I guess any new binary will pull the latest glibc.

That's true I haven't check if my rpm version was the last but since I
did an network install I hope rpms from updates were installed.


-- 

Olivier Thauvin
CNRS  -  LATMOS
♖ ♘ ♗ ♕ ♔ ♗ ♘ ♖


pgp5_OKPOkWlQ.pgp
Description: PGP signature


Re: [Mageia-dev] Booting on GPT + UEFI + Secure Boot...

2013-01-08 Thread Olivier Thauvin
* Pascal Terjan (pter...@gmail.com) wrote:
 On Tue, Jan 8, 2013 at 2:01 PM, Olivier Thauvin
 nanar...@nanardon.zarb.org wrote:
  The system is installed with grub2-efi but the boot failed with all
  kernel I've tried: cannot mount /proc - mount return error, no such
  file or directory.
 
  Any idea ?
 
 Yes, it seems a cauldron bug :)

Well I worked around the problem using by force util-linux from mga2 in
rescue mode.

So some notes here about installer, in my case legacy grub1 was not
usuable so I used grub2 + efi.

Two things are need:
- detect the fat32 partition containing EFI/ directory if any or create
  it, copy on it the grub2-efi boot code (done %post of grub2)
- enabling the grub2 boot code, this step is also done in %post fo
  grub2-efi but it doesn't work in rescue mode because 'efivars' kernel module 
is not load

Once this is done the grub2 configuration is perfectly updated when I
install a new kernel.

I can boot windows or mageia by setting the boot order in UEFI.

Regards.

-- 

Olivier Thauvin
CNRS  -  LATMOS
♖ ♘ ♗ ♕ ♔ ♗ ♘ ♖


pgpAsA6Tlica4.pgp
Description: PGP signature


[Mageia-dev] Booting on GPT + UEFI + Secure Boot...

2013-01-07 Thread Olivier Thauvin
Hello again,

I just buy a wonderfull HP ENVY23 smartscreen.

It has:
- Windows 8 (I'd like to keep it)
- GPT Formated disk (2T)
- UEFI
- SecureBoot

I am trying to install a Mageia on it:
I disabled secure boot.
I succeed to boot using PXE (using legacy boot) and to install mageia2,
but it failed to boot on Mageia using legacy boot.

So questions:
- is it possible to boot Mageia using legacy boot on GPT disk ?
- is it possible to boot Mageia using UEFI ?

Regards.

-- 

Olivier Thauvin
CNRS  -  LATMOS
♖ ♘ ♗ ♕ ♔ ♗ ♘ ♖


pgpodb2xkd9h2.pgp
Description: PGP signature


Re: [Mageia-dev] Booting on GPT + UEFI + Secure Boot...

2013-01-07 Thread Pascal Terjan
On Mon, Jan 7, 2013 at 11:31 AM, Olivier Thauvin
nanar...@nanardon.zarb.org wrote:
 Hello again,

 I just buy a wonderfull HP ENVY23 smartscreen.

 It has:
 - Windows 8 (I'd like to keep it)
 - GPT Formated disk (2T)
 - UEFI
 - SecureBoot

 I am trying to install a Mageia on it:
 I disabled secure boot.
 I succeed to boot using PXE (using legacy boot) and to install mageia2,
 but it failed to boot on Mageia using legacy boot.

Do you know how it fails?

 So questions:
 - is it possible to boot Mageia using legacy boot on GPT disk ?

Yes (using grub, not lilo)

 - is it possible to boot Mageia using UEFI ?

I think so but I have never tried. I remember someone reporting success.


Re: [Mageia-dev] Booting on GPT + UEFI + Secure Boot...

2013-01-07 Thread Barry Jackson

On 07/01/13 11:36, Pascal Terjan wrote:

On Mon, Jan 7, 2013 at 11:31 AM, Olivier Thauvin
nanar...@nanardon.zarb.org wrote:

Hello again,

I just buy a wonderfull HP ENVY23 smartscreen.

It has:
- Windows 8 (I'd like to keep it)
- GPT Formated disk (2T)
- UEFI
- SecureBoot

I am trying to install a Mageia on it:
I disabled secure boot.
I succeed to boot using PXE (using legacy boot) and to install mageia2,
but it failed to boot on Mageia using legacy boot.


Do you know how it fails?


So questions:
- is it possible to boot Mageia using legacy boot on GPT disk ?


Yes (using grub, not lilo)


- is it possible to boot Mageia using UEFI ?


I think so but I have never tried. I remember someone reporting success.



The grub2-efi package in Cauldron has a README.efi file that may be 
useful. (Note efibootmgr package referred to is also in Cauldron)
The author of that README file has been using Mageia with grub2-efi on a 
Mac for some time now.





Re: [Mageia-dev] Booting on GPT + UEFI + Secure Boot...

2013-01-07 Thread Eatdirt

On 01/07/2013 12:31 PM, Olivier Thauvin wrote:


So questions:
- is it possible to boot Mageia using legacy boot on GPT disk ?



Yes, was working fine for me with various harddrives of 2T and more (grub)

Cheers,
Chris.



Re: [Mageia-dev] Booting on GPT + UEFI + Secure Boot...

2013-01-07 Thread Olivier Thauvin
* Pascal Terjan (pter...@gmail.com) wrote:
 On Mon, Jan 7, 2013 at 11:31 AM, Olivier Thauvin
 nanar...@nanardon.zarb.org wrote:
  Hello again,
 
  I just buy a wonderfull HP ENVY23 smartscreen.
 
  It has:
  - Windows 8 (I'd like to keep it)
  - GPT Formated disk (2T)
  - UEFI
  - SecureBoot
 
  I am trying to install a Mageia on it:
  I disabled secure boot.
  I succeed to boot using PXE (using legacy boot) and to install mageia2,
  but it failed to boot on Mageia using legacy boot.
 
 Do you know how it fails?

The Bios claim the disk is not bootable and it switch to the next
device (network card or UEFI/windows 8).

 
  So questions:
  - is it possible to boot Mageia using legacy boot on GPT disk ?
 
 Yes (using grub, not lilo)

It's the case, but it's not working.

I did try in rescue mode to reinstall grub but it failed with hd0 not
found.

 
  - is it possible to boot Mageia using UEFI ?
 
 I think so but I have never tried. I remember someone reporting success.

I'll seek archives then.

-- 

Olivier Thauvin
CNRS  -  LATMOS
♖ ♘ ♗ ♕ ♔ ♗ ♘ ♖


pgpAC6OHJB0eW.pgp
Description: PGP signature


Re: [Mageia-dev] Booting on GPT + UEFI + Secure Boot...

2013-01-07 Thread Thomas Backlund

Olivier Thauvin skrev 7.1.2013 15:41:

* Pascal Terjan (pter...@gmail.com) wrote:

On Mon, Jan 7, 2013 at 11:31 AM, Olivier Thauvin
nanar...@nanardon.zarb.org wrote:

Hello again,

I just buy a wonderfull HP ENVY23 smartscreen.

It has:
- Windows 8 (I'd like to keep it)
- GPT Formated disk (2T)
- UEFI
- SecureBoot

I am trying to install a Mageia on it:
I disabled secure boot.
I succeed to boot using PXE (using legacy boot) and to install mageia2,
but it failed to boot on Mageia using legacy boot.


Do you know how it fails?


The Bios claim the disk is not bootable and it switch to the next
device (network card or UEFI/windows 8).



That's because the bootloader installed is not an efi one,
so it will be ignored.




So questions:
- is it possible to boot Mageia using legacy boot on GPT disk ?


Yes (using grub, not lilo)


It's the case, but it's not working.



The gpt part works, the (u)efi part needs a (u)efi capable bootloader
installed in ESP partition on the disk (usually mounted as /boot/efi)

On a Windows7 system I used the fedora grub-efi package following this:
http://www.rodsbooks.com/efi-bootloaders/grub_legacy.html

I havent tested if grub2 is capable of booting it...



I did try in rescue mode to reinstall grub but it failed with hd0 not
found.




- is it possible to boot Mageia using UEFI ?


I think so but I have never tried. I remember someone reporting success.


I'll seek archives then.




I have a Win8 system here too wich I have plans to try and get
all isos to boot in efi mode on and install properly on but
haven't had time to do much of it yet.

--
Thomas




Re: [Mageia-dev] Booting on GPT + UEFI + Secure Boot...

2013-01-07 Thread Olivier Thauvin
* Thomas Backlund (t...@mageia.org) wrote:
 Olivier Thauvin skrev 7.1.2013 15:41:
 * Pascal Terjan (pter...@gmail.com) wrote:
 On Mon, Jan 7, 2013 at 11:31 AM, Olivier Thauvin
 nanar...@nanardon.zarb.org wrote:
 
 Do you know how it fails?
 
 The Bios claim the disk is not bootable and it switch to the next
 device (network card or UEFI/windows 8).
 
 
 That's because the bootloader installed is not an efi one,
 so it will be ignored.

I found the key of the issue: grub has not install because block number
is to big (my /boot is at 1,6TB from the start of the disk).

Regards.

-- 

Olivier Thauvin
CNRS  -  LATMOS
♖ ♘ ♗ ♕ ♔ ♗ ♘ ♖


pgpmfPBGhQKbR.pgp
Description: PGP signature


Re: [Mageia-dev] Booting on GPT + UEFI + Secure Boot...

2013-01-07 Thread Liam R E Quin
On Mon, 2013-01-07 at 17:01 +0100, Olivier Thauvin wrote:

 I found the key of the issue: grub has not install because block number
 is to big (my /boot is at 1,6TB from the start of the disk).

With my HP Elitebook I found that all the partitions were allocated, so
I booted in Windows 7 (this was 2 years ago) and used the program that
came with Windows to resize the partitions and move them around a bit.

-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Ankh: irc.sorcery.net irc.gnome.org freenode/#xml