Re: fedup 18->19 and GRUB upgrade several seconds

2013-12-09 Thread Dave Mitchell
On Sun, Dec 08, 2013 at 10:42:19AM -0700, Chris Murphy wrote:
> 
> On Dec 8, 2013, at 3:56 AM, Dave Mitchell  wrote:
> 
> > On Sat, Nov 23, 2013 at 04:35:28PM +, Dave Mitchell wrote:
> >> I'm currently preparing to fedup an F18 system to F19, looking at these
> >> instructions:
> >> 
> >> http://docs.fedoraproject.org/en-US/Fedora/19/html/Installation_Guide/ch18s02.html
> >> 
> >> The bit about updating the GRUB bootloader has got gotten me confused.
> >> My system is a newish x86_64 laptop, with F18 as the only thing on it,
> >> installed from scratch (no upgrades etc).
> >> 
> >> The instructions say to look in  /var/log/anaconda/anaconda.program.log
> >> where you'll find a command similar to
> >> 
> >>efibootmgr -c -w -L Fedora -d /dev/sdX -p Y -l \EFI\redhat\grub.efi
> >> 
> >> then later on, run
> >> 
> >>efibootmgr -c -w -L Fedora -d /dev/sdX -p Y -l 
> >> '\EFI\fedora\grubx64.efi' -b bootnumber
> >> 
> >> Now, the command I see in the anaconda log is in fact:
> >> 
> >>efibootmgr -c -w -L Fedora -d /dev/sda -p 1 -l \EFI\fedora\shim.efi
> >> 
> >> This differs from the example in the docs by '-p 1' verses '-p Y' and 
> >> 'shim.efi' verses 'grub.efi'.
> >> 
> >> So, what values should I give for the -p and -l options?
> >> 
> >> Also, its not entirely clear what 'bootnumber' value for the -b arg should
> >> be; should this the same number as used to delete the old boot entry in
> >> the previous step?
> > 
> > No feedback so far. Anyone?
> 
> The Y in the instructions, I think, is intended to be a variable because
> it can differ.

Ah yes, I see now thanks, it follows on from the X in sdX.

> what you want is the one with 1. However, running this command in shell
> compared to from anaconda, \E is still an E so you actually need to use
> two backslashes.
> 
> efibootmgr -c -w -L Fedora -d /dev/sda -p 1 -l \\EFI\\fedora\\shim.efi
> 
> To confirm you can use
> 
> efibootmgr -v

Any idea whether I should be using shim.efi or grubx64.efi (or even grub.efi)?

-- 
Never do today what you can put off till tomorrow.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: fedup 18->19 and GRUB upgrade several seconds

2013-12-08 Thread Chris Murphy

On Dec 8, 2013, at 3:56 AM, Dave Mitchell  wrote:

> On Sat, Nov 23, 2013 at 04:35:28PM +, Dave Mitchell wrote:
>> I'm currently preparing to fedup an F18 system to F19, looking at these
>> instructions:
>> 
>> http://docs.fedoraproject.org/en-US/Fedora/19/html/Installation_Guide/ch18s02.html
>> 
>> The bit about updating the GRUB bootloader has got gotten me confused.
>> My system is a newish x86_64 laptop, with F18 as the only thing on it,
>> installed from scratch (no upgrades etc).
>> 
>> The instructions say to look in  /var/log/anaconda/anaconda.program.log
>> where you'll find a command similar to
>> 
>>efibootmgr -c -w -L Fedora -d /dev/sdX -p Y -l \EFI\redhat\grub.efi
>> 
>> then later on, run
>> 
>>efibootmgr -c -w -L Fedora -d /dev/sdX -p Y -l '\EFI\fedora\grubx64.efi' 
>> -b bootnumber
>> 
>> Now, the command I see in the anaconda log is in fact:
>> 
>>efibootmgr -c -w -L Fedora -d /dev/sda -p 1 -l \EFI\fedora\shim.efi
>> 
>> This differs from the example in the docs by '-p 1' verses '-p Y' and 
>> 'shim.efi' verses 'grub.efi'.
>> 
>> So, what values should I give for the -p and -l options?
>> 
>> Also, its not entirely clear what 'bootnumber' value for the -b arg should
>> be; should this the same number as used to delete the old boot entry in
>> the previous step?
> 
> No feedback so far. Anyone?


The Y in the instructions, I think, is intended to be a variable because it can 
differ. what you want is the one with 1. However, running this command in shell 
compared to from anaconda, \E is still an E so you actually need to use two 
backslashes.

efibootmgr -c -w -L Fedora -d /dev/sda -p 1 -l \\EFI\\fedora\\shim.efi

To confirm you can use

efibootmgr -v


Chris Murphy
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: fedup 18->19 and GRUB upgrade several seconds

2013-12-08 Thread Dave Mitchell
On Sat, Nov 23, 2013 at 04:35:28PM +, Dave Mitchell wrote:
> I'm currently preparing to fedup an F18 system to F19, looking at these
> instructions:
> 
> http://docs.fedoraproject.org/en-US/Fedora/19/html/Installation_Guide/ch18s02.html
> 
> The bit about updating the GRUB bootloader has got gotten me confused.
> My system is a newish x86_64 laptop, with F18 as the only thing on it,
> installed from scratch (no upgrades etc).
> 
> The instructions say to look in  /var/log/anaconda/anaconda.program.log
> where you'll find a command similar to
> 
> efibootmgr -c -w -L Fedora -d /dev/sdX -p Y -l \EFI\redhat\grub.efi
> 
> then later on, run
> 
> efibootmgr -c -w -L Fedora -d /dev/sdX -p Y -l '\EFI\fedora\grubx64.efi' 
> -b bootnumber
> 
> Now, the command I see in the anaconda log is in fact:
> 
> efibootmgr -c -w -L Fedora -d /dev/sda -p 1 -l \EFI\fedora\shim.efi
> 
> This differs from the example in the docs by '-p 1' verses '-p Y' and 
> 'shim.efi' verses 'grub.efi'.
> 
> So, what values should I give for the -p and -l options?
> 
> Also, its not entirely clear what 'bootnumber' value for the -b arg should
> be; should this the same number as used to delete the old boot entry in
> the previous step?

No feedback so far. Anyone?

-- 
More than any other time in history, mankind faces a crossroads. One path
leads to despair and utter hopelessness. The other, to total extinction.
Let us pray we have the wisdom to choose correctly.
-- Woody Allen
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


fedup 18->19 and GRUB upgrade several seconds

2013-11-23 Thread Dave Mitchell
I'm currently preparing to fedup an F18 system to F19, looking at these
instructions:

http://docs.fedoraproject.org/en-US/Fedora/19/html/Installation_Guide/ch18s02.html

The bit about updating the GRUB bootloader has got gotten me confused.
My system is a newish x86_64 laptop, with F18 as the only thing on it,
installed from scratch (no upgrades etc).

The instructions say to look in  /var/log/anaconda/anaconda.program.log
where you'll find a command similar to

efibootmgr -c -w -L Fedora -d /dev/sdX -p Y -l \EFI\redhat\grub.efi

then later on, run

efibootmgr -c -w -L Fedora -d /dev/sdX -p Y -l '\EFI\fedora\grubx64.efi' -b 
bootnumber

Now, the command I see in the anaconda log is in fact:

efibootmgr -c -w -L Fedora -d /dev/sda -p 1 -l \EFI\fedora\shim.efi

This differs from the example in the docs by '-p 1' verses '-p Y' and 
'shim.efi' verses 'grub.efi'.

So, what values should I give for the -p and -l options?

Also, its not entirely clear what 'bootnumber' value for the -b arg should
be; should this the same number as used to delete the old boot entry in
the previous step?


-- 
You never really learn to swear until you learn to drive.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org