Dear Folks,
On 20/11/13 09:53 +1100, Nick Urbanik wrote:
Dear Folks,
I installed Fedora 19 on my son's laptop, and it worked beautifully
with the already installed Windows 8. Then foolishly, I upgraded the
Windows 8 to Windows 8.1. Now it boots straight to Windows 8.1 and
grub does not appear.
I disabled secure boot in the firmware.
I do not even know which version of grub was booting the UEFI system
before; it just worked.
Now I need to know.
Can anyone suggest:
1. What grub would the Fedora 19 installer have provided to boot it
and Windows 8? (grub2, grub-efi,...)
2. Can anyone point to any documentation on how to fix this?
I am a little nervous on this, as I once attempted to upgrade an F18
UEFI stand alone system from grub-efi to grub2 with the result that I
could not boot the machine, and wound up re-installing Fedora.
I have a live disk, can boot the machine with that, and have some
experience with grub and non-EFI systems.
After much poking around, and seeing
http://askubuntu.com/questions/240496/how-to-show-grub-after-install-ubuntu-over-windows-8
and reading documentation, I did this from a Fedora 19 Live CD;
gdisk to see the partition layout, then efibootmgr to fix it:
[liveuser@localhost ~]$ sudo gdisk /dev/sda
...
Command (? for help): p
Disk /dev/sda: 976773168 sectors, 465.8 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 8EB52CEC-C6A8-4A63-8AB3-3675A2AB07DE
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 976773134
Partitions will be aligned on 2048-sector boundaries
Total free space is 2029 sectors (1014.5 KiB)
Number Start (sector) End (sector) Size Code Name
1 2048 821247 400.0 MiB 2700 Basic data partition
2 821248 1435647 300.0 MiB EF00 EFI system partition
3 1435648 1697791 128.0 MiB 0C01 Microsoft reserved part
4 1697792 223358975 105.7 GiB 0700 Basic data partition
5 223358976 224075775 350.0 MiB 2700
6 224075776 937428991 340.2 GiB 8E00
7 937428992 976773119 18.8 GiB 2700 Basic data partition
Command (? for help): q
...
[liveuser@localhost ~]$ mount |grep -i efi
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
[liveuser@localhost ~]$ sudo efibootmgr -c -p 2 -d /dev/sda -l "\EFI\fedora\grubx64.efi" -L "Fedora"
** Warning ** : Boot0002 has same label Fedora
BootCurrent: 0000
Timeout: 2 seconds
BootOrder: 0003,0000,0001,0002
Boot0000* ATAPI CDROM: HL-DT-ST DVDRAM GT51N
Boot0001* Windows Boot Manager
Boot0002* Fedora
Boot0003* Fedora
[liveuser@localhost ~]$
Now grub works, and both Fedora and Windows 8.1 boot.
--
Nick Urbanik http://nicku.org 808-71011 nick.urbanik@xxxxxxxxxxxxxxx
GPG: 7FFA CDC7 5A77 0558 DC7A 790A 16DF EC5B BB9D 2C24 ID: BB9D2C24
I disclaim, therefore I am.
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
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