Re: [Linux-ia64] Command line options to elilo from bootmanager

From: Richard Hirst <rhirst_at_linuxcare.com>
Date: 2002-04-18 02:23:05
On Wed, Apr 17, 2002 at 09:20:50AM -0700, Michael Madore wrote:
> Hi,
> 
> Is it possible to pass command line options to elilo from the boot
> manager menu?  For example, I would like to invoke elilo from the boot
> manager with an alternate configuration file.  I tried using efibootmgr
> like so:
> 
> efibootmgr -L linux-ram -l "elilo.efi -C elilo-ram.conf" -c -d /dev/sda
> -p 2"
> 
> but apparently, EFI treats the "-C elilo-ram.conf" as part of the
> bootloader command.

efibootmgr -c -d $BOOTDISK -p $BOOTPART -w -L "Debian GNU/Linux" \
	-l \\EFI\\debian\\elilo.efi -u -- elilo -C \\EFI\\debian\\elilo.conf

is what I use.  The trick is to supply a dummy 'elilo' for argv[0],
and all args after '--' are passed as arguments to elilo.efi

Richard
Received on Wed Apr 17 09:41:39 2002

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:08 EST