Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing partitions (fs:ext4) in disk choice on Windows #291

Closed
1 task done
Mahantor opened this issue Aug 30, 2024 · 4 comments
Closed
1 task done

Missing partitions (fs:ext4) in disk choice on Windows #291

Mahantor opened this issue Aug 30, 2024 · 4 comments
Labels
bug Something isn't working enhancement New feature or request windows Windows related

Comments

@Mahantor
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Description

I can't select the drive where I installed Linux
This drive with a volume of 60 gigs and EXT format is marked as partition 5 in the photo
What is the solution???
Screenshot 2024-08-30 092301

Environment

  • Application version:1.40
  • Operating system:windows 11 24H2
  • EFI/BIOS/Motherboard vendor:Ausus PRIME B660M-K D4
  • EFI/BIOS version: BIOS 3403

Raw EFI data

1.json

Additional information

Screenshot 2024-08-30 093533

Steps to reproduce

No response

@Mahantor Mahantor added the bug Something isn't working label Aug 30, 2024
@Neverous
Copy link
Owner

Interesting. Must have an issue with reading this partition's information somehow.
Can you run diskpart.exe and in it list volume and share the outputs?

Btw. I'm quite sure the UEFI doesn't support ext filesystem and what you actually need to point it to is EFI ESP partition (HarddiskVolume1) and Linux bootloader that should've installed there but maybe your distro is doing something different?

@Mahantor
Copy link
Author

Interesting. Must have an issue with reading this partition's information somehow. Can you run diskpart.exe and in it list volume and share the outputs?
diskpart.txt
"The drive where Linux is installed is a 60 GB drive that does not show up in diskpart, but if you look at the picture I uploaded, Disk 0 Partition 5 is my Linux partition."

@Mahantor
Copy link
Author

Btw. I'm quite sure the UEFI doesn't support ext filesystem and what you actually need to point it to is EFI ESP partition (HarddiskVolume1) and Linux bootloader that should've installed there but maybe your distro is doing something different?

"I don't understand what you mean by 'not supported.' The only issue right now is that the drive in question, formatted as ext4, is not visible, accessible, or addressable in Windows 11, so I can't use this software to assign an address. What I managed to do was extract the grub files from this Linux drive using some methods and add them to the EFI drive, which worked correctly. Then, I added the Linux boot entry with EasyUEFI, but it was very time-consuming and difficult."

@Neverous
Copy link
Owner

Neverous commented Aug 30, 2024

The drive where Linux is installed is a 60 GB drive that does not show up in diskpart

That's not good then, that means that the Windows doesn't really see it as valid partition 🤔 will have to investigate. As far as I know I'm using the same methods (system APIs) to ask the system for partitions as diskpart. Will have to look into how the Disk Management gets its information to be able to get that then. Though again it's not that useful as UEFI cannot use that partition anyway either, so it's just for completeness/parity with Disk Management.

I don't understand what you mean by 'not supported.'

Exactly what you had to do. UEFI only mandates support for FAT so you had to move the incorrectly placed bootloader (grub in this case) to ESP partition from that Linux system ext4 partition and then you could point the UEFI Firmware at it.
I think in EasyUEFI you probably just chose the grub binary on the ESP drive with some wizard that just let you choose the file on disk right?
EFIBootEditor so far doesn't have such functionality - it's just enabling reading/writing all the low level stuff with GUI. So for example if you look right now with it, you should see the entry EasyUEFI created (with the detailed device path used like HD, FilePath, End etc.) and you'd have to create all that yourself in here if not for EasyUEFI wizard.

Don't know how you've installed the Linux system. But assuming it had some installation wizard (or instructions) it might be worth it to open an issue there somewhere to mention that it installs bootloader incorrectly on UEFI systems (unless this was just some random error).

@Neverous Neverous added enhancement New feature or request windows Windows related labels Aug 30, 2024
@Neverous Neverous changed the title the software cant find EXT Drive Missing partitions (fs:ext4) in disk choice on Windows Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request windows Windows related
Projects
None yet
Development

No branches or pull requests

2 participants