[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] bless command
From: |
Vladimir 'phcoder' Serbinenko |
Subject: |
Re: [PATCH] bless command |
Date: |
Sat, 29 Aug 2009 10:06:19 +0200 |
> Hi,
>
> After more testing, I believe the booting process works like this:
>
> One important difference between openfirmware and efi is that
> openfirmware stores file path in nvram, while efi stores device path.
> The default boot file for openfirmware is like this:
>
> device:\\+tbxi
>
> Which means the files which +tbxi attribute in the blessed directory.
>
> But efi only store the boot device (uuid), so it needs to use the
> blessed file to boot.
>
> So to distinguish these two situation, we can have too options for bless:
>
> bless [--bootinfo PATH_TO_BOOTX] [[--bootefi PATH_TO_BOOTEFI]
>
> --bootinfo set the blessed directory plus +tbxi, while --bootefi set
> the blessed file, this way we could specify different boot files for
> openfirmware and efi, something like this:
>
> bless --bootinfo /grub.elf --bootefi grub.efi
The --botinfo and --bootefi in this case are independent. I don't see
why it would be stuffed in the same command. What about:
blessefi - change blessed file
blessofw - change blessed directory +tbxi
blessdir - change blessed directory
>
> --
> Bean
>
> gitgrub home: http://github.com/grub/grub/
> my fork page: http://github.com/bean123/grub/
>
>
> _______________________________________________
> Grub-devel mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/grub-devel
>
--
Regards
Vladimir 'phcoder' Serbinenko
Personal git repository: http://repo.or.cz/w/grub2/phcoder.git
- Re: [PATCH] bless command, Vladimir 'phcoder' Serbinenko, 2009/08/28
- Re: [PATCH] bless command, Michal Suchanek, 2009/08/28
- Re: [PATCH] bless command, Bean, 2009/08/28
- Re: [PATCH] bless command, Vladimir 'phcoder' Serbinenko, 2009/08/29
- Re: [PATCH] bless command, Bean, 2009/08/29
- Re: [PATCH] bless command, Michal Suchanek, 2009/08/29
- Re: [PATCH] bless command, Vladimir 'phcoder' Serbinenko, 2009/08/29
- Re: [PATCH] bless command, Bean, 2009/08/29
- Re: [PATCH] bless command, Michal Suchanek, 2009/08/29
- Re: [PATCH] bless command,
Vladimir 'phcoder' Serbinenko <=