On Fri, Apr 6, 2012 at 23:39, Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> wrote:
On 04/05/2012 07:01 PM, Gerardo Exequiel Pozzi wrote:
On 04/05/2012 03:38 PM, Gerardo Exequiel Pozzi wrote:
--- /dev/null +++ b/configs/releng/efiboot/EFI/boot/startup.nsh @@ -0,0 +1,10 @@ +echo -off + +for %m in (0 9) + if exist fs%m:\EFI\archiso\vmlinuz.efi then + fs%m: + cd fs%m:\EFI\archiso + echo "Launching Arch Linux ISO Kernel fs%m:\EFI\archiso\vmlinuz.efi" + vmlinuz.efi archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% initrd=\EFI\archiso\archiso.img + endif +endfor
oops, "in" should be "run" for using (0 9)
-echo -off +@echo -off
;)
-- Gerardo Exequiel Pozzi \cos^2\alpha + \sin^2\alpha = 1
I tries the testing enabled releng iso and created a FAT32 USB. It boots successfully (in my system it was fs2:). I was thinking about maybe implementing efistub + shell (like Archiso) or efistub + rEFInd in AIF. I think its easy, just have this the same loop in startup.nsh but this time launch the kernel with the user's parameters. But I think for a HDD/SSD boot, rEFInd is better. Regards. Keshav