Fedora Linux Support Community & Resources Center
Prev Previous Post   Next Post Next
  #1  
Old 9th September 2017, 05:55 AM
mac25 Offline
Registered User
 
Join Date: Sep 2017
Location: mexico
Posts: 9
linuxfedorafirefox
Boot Windows 10 in Legacy Mode

Hello,

I installed Fedora 26 from USB on a laptop winth Windows 10 already installed (I assume in UEFI Mode) after disabling UEFI from the BIOS menu and booting in Legacy Mode.
I followed the instructions and installed GRUB2.
After I rebboted into Fedora, I edited /etc/grub.d/40_custom to include the following entry:

menuentry "Windows 10" --class windows --class os {
insmod ntfs
search --no-floppy --set=root --fs-uuid 5E64165E6416396B
ntldr /bootmgr
}

When I reboot, Windows 10 appears in the GRUB menu but when I choose it I get this error message:

file /bootmgr not found

How should I proceed to boot Windows 10 with GRUB?

I include the following information, hoping it would be helpful.

[root@localhost ludwi]# blkid
/dev/sda1: LABEL="Recovery" UUID="82A010E5A010E209" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="21560c0d-bec2-4940-8695-dfd575b09bc5"
/dev/sda2: LABEL="ESP" UUID="4613-32A2" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="9307e321-d914-444a-ba4a-786b2971e00f"
/dev/sda3: PARTLABEL="Microsoft reserved partition" PARTUUID="aab1b645-4bf3-4c0f-8941-7d1a74e34f72"
/dev/sda4: LABEL="Acer" UUID="5E64165E6416396B" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="0ef70ce3-a366-4e8b-8b9a-c4d3fa045522"
/dev/sda5: UUID="28E43024E42FF2AC" TYPE="ntfs" PARTUUID="2bd32c2e-e565-4879-9908-f8e1cf7ba405"
/dev/sda6: LABEL="Push Button Reset" UUID="BAE017E9E017AB21" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="7123f5e4-d184-49b4-a530-23b8dafb5074"
/dev/sda7: PARTUUID="71a3b5d3-5d7a-4739-b3ed-ad4f2e3cc2c0"
/dev/sda8: UUID="1f7c43a8-6acf-49e8-86be-6fc6b0ac070b" TYPE="ext4" PARTUUID="deac5fe6-8e9d-4a8b-8c9c-cd560a7a8368"
/dev/sda9: UUID="6J5AeI-5HyF-zX5f-9rKb-UMvZ-WJPc-UuNVHk" TYPE="LVM2_member" PARTUUID="6e1666b0-cf59-464a-b454-cbbcdf45f511"
/dev/mapper/fedora-root: UUID="93c37e22-5801-47a3-b65d-41be7871bcb3" TYPE="ext4"
/dev/mapper/fedora-swap: UUID="67ec3c10-daaf-4683-a87d-1848cec10521" TYPE="swap"

[root@localhost ludwi]# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 465.8G 0 disk
├─sda1 8:1 0 400M 0 part
├─sda2 8:2 0 300M 0 part
├─sda3 8:3 0 128M 0 part
├─sda4 8:4 0 399.6G 0 part
├─sda5 8:5 0 505M 0 part
├─sda6 8:6 0 16G 0 part
├─sda7 8:7 0 1M 0 part
├─sda8 8:8 0 1G 0 part /boot
└─sda9 8:9 0 47.8G 0 part
├─fedora-root 253:0 0 44.2G 0 lvm /
└─fedora-swap 253:1 0 3.7G 0 lvm [SWAP]
sr0 11:0 1 1024M 0 rom

[root@localhost ludwi]# grep -i efi /etc/fstab

[root@localhost ludwi]# gdisk -l /dev/sda
GPT fdisk (gdisk) version 1.0.1

Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present

Found valid GPT with protective MBR; using GPT.
Disk /dev/sda: 976773168 sectors, 465.8 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): FE40836B-4D02-4FDE-8E2C-DA8848377A53
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 2633 sectors (1.3 MiB)

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 ...
4 1697792 839783843 399.6 GiB 0700 Basic data partition
5 942184448 943218687 505.0 MiB 2700
6 943218688 976773119 16.0 GiB 2700 Basic data partition
7 839784448 839786495 1024.0 KiB EF02
8 839786496 841883647 1024.0 MiB 8300
9 841883648 942184447 47.8 GiB 8E00

[root@localhost ludwi]# ls -l /boot/efi/EFI
total 8
drwxr-xr-x. 2 root root 4096 Jul 5 18:21 BOOT
drwxr-xr-x. 4 root root 4096 Sep 8 19:59 fedora
[root@localhost ludwi]#


[root@localhost ludwi]# grep -i efi /etc/fstab
[root@localhost ludwi]#
Reply With Quote
 

Tags
boot, legacy, mode, windows

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Accidentally set f24 to legacy boot and now can't boot windows Rogue Vendetta Hardware & Laptops 16 31st December 2016 01:53 AM
Legacy BIOS - Not able to dual boot homelybore Installation, Upgrades and Live Media 7 26th August 2015 11:59 AM
Duel booting Windows 7 or 8 and Linux in legacy mode (solved) jonathonp Hardware & Laptops 0 24th November 2014 02:42 AM
[SOLVED] why grub(legacy) is so bad!! ... can't dual boot fedvasu Using Fedora 16 31st July 2011 06:06 PM
Change boot to text mode from graphic mode qhasxeem Installation, Upgrades and Live Media 1 10th July 2004 02:33 AM


Current GMT-time: 12:32 (Thursday, 21-09-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat