[arch-releng] aif profile for EFI/GPT with grub2, dm_crypt+lvm2 on SSD, archiso EFI?
Gerardo Exequiel Pozzi
vmlinuz386 at yahoo.com.ar
Fri Apr 6 10:04:49 EDT 2012
On 04/06/2012 06:42 AM, Dieter Plaetinck wrote:
> based on a script somebody made
> https://bbs.archlinux.org/viewtopic.php?id=129885
> I wrote a profile for aif -p automatic:
> http://pastie.org/3737804
> For creating the filesystems, i leverage the aif functionality (it supports everything needed).
> For partitioning and installing the bootloader I use 2 custom functions as aif currently does not support gpt/efi/grub2
Nice :)
Do you need grub2 installed on live-enviroment? In such case we need to
replace grub with grub2.
>
> The install seems to run fine, but since archiso currently boots through bios, i cannot make the efi entries with efibootmgr (no efi vars after loading efivars module).
Do you want to include this tool (efibootmgr) in live-enviroment?
> I saw the recent patches for archiso EFI support, what's the current status of that?
STATUS: Working (1) / Waiting for feedback (2) / Waiting for Linux-3.3
hits [core] (3)
(1) Its works: there is no boot manager, just an efi-shell that executes
an startup.nsh for passing boot parameters to the kernel. Using this
method, at least until EFI_STUB supports linux.conf in mainline, anyway
doing in this way is better because you can "edit" boot parameters.
(2) Such patch increments in 20 MiB each of: netinstall-x86_64,
core-x86_64, netinstall-dual and core-dual. The question is: all these
ISOs should be EFI-enabled for "El Torito"?
(3) Can be pushed now, will boot for EFI, but vmlinuz from [core] is not
an EFI apps, you will get an EFI-shell.
> Is there a method to create a usb stick similar as described here
> https://wiki.archlinux.org/index.php/USB_Installation_Media#Without_overwriting_the_USB_drive
> that is: an EFI-booting usb stick with archiso, which you can easily mount to put custom files on?
Sure, skip the steps of installing syslinux-mbr, extlinux and marking
partition active, since they are not needed for EFI.
Just unpack <ISO>/EFI/archiso/efiboot.img on <USB-KEY>/EFI and enjoy.
>
> If only I can figure out how to make the system boot, I think I'm pretty close :)
>
> Dieter
>
--
Gerardo Exequiel Pozzi
\cos^2\alpha + \sin^2\alpha = 1
More information about the arch-releng
mailing list