* [Linux-ia64] Command line options to elilo from bootmanager
@ 2002-04-17 16:20 Michael Madore
2002-04-17 16:23 ` Richard Hirst
2002-04-17 16:58 ` Michael Madore
0 siblings, 2 replies; 3+ messages in thread
From: Michael Madore @ 2002-04-17 16:20 UTC (permalink / raw)
To: linux-ia64
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.
Mike
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Linux-ia64] Command line options to elilo from bootmanager
2002-04-17 16:20 [Linux-ia64] Command line options to elilo from bootmanager Michael Madore
@ 2002-04-17 16:23 ` Richard Hirst
2002-04-17 16:58 ` Michael Madore
1 sibling, 0 replies; 3+ messages in thread
From: Richard Hirst @ 2002-04-17 16:23 UTC (permalink / raw)
To: linux-ia64
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Linux-ia64] Command line options to elilo from bootmanager
2002-04-17 16:20 [Linux-ia64] Command line options to elilo from bootmanager Michael Madore
2002-04-17 16:23 ` Richard Hirst
@ 2002-04-17 16:58 ` Michael Madore
1 sibling, 0 replies; 3+ messages in thread
From: Michael Madore @ 2002-04-17 16:58 UTC (permalink / raw)
To: linux-ia64
Richard Hirst wrote:
>
> 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
Thanks Richard, that works for me.
Mike
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-04-17 16:58 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-17 16:20 [Linux-ia64] Command line options to elilo from bootmanager Michael Madore
2002-04-17 16:23 ` Richard Hirst
2002-04-17 16:58 ` Michael Madore
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox