Dual boot no working

I installed Fedora Kde spin to an empty space on one of my drives but when trying to boot into fedora it just goes into windows automatically, I’ve disabled secureboot, and still it doesnt boot into fedora, right now im on the live fedora kde from the usb I installed fedora from.

Im using a Lenovo Ideapad S340

Did you check boot in BIOS?

what do I need to see?

Fedora must be in first for loading in boot

1 Like

I went into bios and set it to the top of the list, but even then my laptop boots into windows

Probably Grub is not instaled properly

How to Dual Boot Fedora 40 and Windows 10/11

I followed this exact video on dualbooting, if grub didnt install properlly, how do I do that?

Did you remember how you set up the partitions for Fedora? When installing, did you re-use the existing EFI partition from Windows? That’s what you want, make sure to point /boot/efi to that existing partition without formatting it. There a checkbox for that.

From a live CD, can you show us the outputs of commands below to better understand your partition layout.

fdisk -l
lsblk -f -p

If the problem is grub, the steps are
1.) boot live system
2.) chroot into installed Fedora system
3.) reinstall grub, generate grub config

Here is the guide from Fedora docs:

Here is another example on how to chroot and reinstall grub. Be careful to always match the partition names accordingly. Btrfs yes/no luks-LVM yes/no make a difference for the steps. Setting up chroot from a live image in Fedora. Regenerate grub2 for Fedora. · GitHub

Added dual-boot, grub, uefi and removed kde

I set appart a 250 gb partition on a hdd for the fedora install, when installing I let Fedora rewrite those 250 gb of space.

Disk /dev/sda: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: TOSHIBA MQ01ABD1
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0xd3b9fea3

Device     Boot      Start        End    Sectors   Size Id Type
/dev/sda1             2048 1441519615 1441517568 687.4G  7 HPFS/NTFS/exFAT
/dev/sda2  *    1441521664 1442750463    1228800   600M  6 FAT16
/dev/sda3       1442750464 1444847615    2097152     1G 83 Linux
/dev/sda4       1444847616 1953523711  508676096 242.6G  f W95 Ext'd (LBA)
/dev/sda5       1444849664 1953523711  508674048 242.6G 83 Linux


Disk /dev/sdb: 7.21 GiB, 7743995904 bytes, 15124992 sectors
Disk model: USB DISK Pro    
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: CE026C2D-2070-4C42-91B0-17222284B149

Device        Start      End  Sectors  Size Type
/dev/sdb1      2048 15059415 15057368  7.2G Microsoft basic data
/dev/sdb2  15059416 15124951    65536   32M Microsoft basic data


Disk /dev/dm-0: 2.46 GiB, 2645645312 bytes, 5167276 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 25134FA5-7083-4235-BD18-34CC29B0C04F

Device        Start     End Sectors  Size Type
/dev/dm-0p1      64 5141063 5141000  2.5G Microsoft basic data
/dev/dm-0p2 5141064 5166611   25548 12.5M EFI System
/dev/dm-0p3 5166612 5167211     600  300K Microsoft basic data


Disk /dev/loop0: 2.29 GiB, 2459852800 bytes, 4804400 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop1: 8.79 GiB, 9439281152 bytes, 18436096 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop2: 32 GiB, 34359738368 bytes, 67108864 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mapper/live-rw: 8.79 GiB, 9439281152 bytes, 18436096 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mapper/live-base: 8.79 GiB, 9439281152 bytes, 18436096 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/zram0: 7.44 GiB, 7990149120 bytes, 1950720 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

i did sudo fdisk -l

I imagine I have to change that asterisk on /dev/sda2 to /dev/sda5 because that’s where supposedly the grub bootloader is, right? Correct me if I’m wrong.

sda2 is your single ESP mounted at /boot/efi
sda3 is your Linux boot partition mounted at /boot

Either reinstall Fedora making sure to use those two partitions (do not format sda2, do format sda3)

Or follow the grub recovery from the docs linked above.

I’m going to suggest that the OP look closely through this discussion thread for some additional discussion and strategies for sorting out problems with bootloaders. There’s a huge amount of information in there.

Good luck, OP!

Windows uses “fastboot”, which is just hybernation, to bypass the normal boot process and load Windows. Windows 10 allowed me to disable fastboot. In Windows 11 I don’t see a way to disable fastboot, but hidden in the Settings there is System Rescue that has an option to boot another OS. I can use that to get the grub2 menu, and choose Fedora or UEFI settings where I can set Fedora to make Fedora the first to boot. The last Windows updates left the system hybernating again.

This is a great reminder to me how long it’s been since I booted, and therefore updated, Windows. :slight_smile: