Git Product home page Git Product logo

Comments (7)

Masamune3210 avatar Masamune3210 commented on July 22, 2024

Considering the project is named uefi-ntfs, I would venture to say yeah, legacy boot is prob unsupported

from uefi-ntfs.

pbatard avatar pbatard commented on July 22, 2024

and is this purely intended to boot in UEFI mode only?

Yes.

Legacy does not need anything like this, because NTFS is supported by default from the MBR → VBR sequence of the Microsoft bootloaders.

Therefore, if you think you need a legacy version of this, I'm afraid that you are clearly misunderstanding whatever issue you think this would solve...

from uefi-ntfs.

RaXorX avatar RaXorX commented on July 22, 2024

@pbatard No, I wasn't saying I need a legacy version of this, what I was trying to say that legacy boot doesn't work if I make my USB UEFI:NTFS capable first. It boots fine in UEFI but not in legacy, not that I want a legacy version of this. I am not sure why it does so, pretty sure in the past it has worked fine for me but doesn't seem to be the case now.

Ay, never mind. Sorry for this the thing I was trying to use didn't like that boot flag on ntfs partition but removing it makes it useless in uefi mode.

from uefi-ntfs.

pbatard avatar pbatard commented on July 22, 2024

legacy boot doesn't work if I make my USB UEFI:NTFS capable first

Well, of course that won't work if you only apply UEFI:NTFS, because all you're doing when creating the UEFI:NTFS partition is taking care of UEFI boot. You are not doing anything even remotely related to BIOS/Legacy boot if you are applying UEFI:NTFS. Again, BIOS boot and UEFI boot are completely orthogonal things, so you can't just solve one, and expect the other to magically work. You must manually install something for each, if you want both UEFI and BIOS boot to work.

In this case, if you want BIOS boot to work alongside UEFI:NTFS, and in parallel to writing the UEFI:NTFS separate partition, you must:

  1. Make sure your drive is partitioned as MBR, not GPT (since GPT is incompatible with BIOS boot).
  2. Install a Master Boot Record bootloader in the MBR (such as the Windows MBR bootloader) and make sure the volume you want to boot has a boot flag.
  3. Install a Volume Boot Record bootloader in the NTFS partition (such as the Windows VBR bootloader, that looks for bootmgr and hands control over to it) or a secondary bootloader in the free space after the MBR (such as GRUB) or whatever your MBR bootloader code needs to complete the boot process.

In other words, if BIOS boot doesn't work, then you missed something from either 1, 2 or 3. But please understand that none of these have anything to do or are impacted by UEFI:NTFS. They're a completely isolated matter. And installing UEFI:NTFS on its own will not hinder BIOS boot, unless you are doing something wrong in the installation process, that's unrelated to UEFI:NTFS.

from uefi-ntfs.

RaXorX avatar RaXorX commented on July 22, 2024

Yes I realized that. My code of conduct was to use a aio-bootloader (just a grub based bootloader known as aioboot). Unfortunately I realized it was because it works without a boot flag and hence, when I used UEFI NTFS it marked the NTFS partition as bootable. Now, since the UEFI partition isn't boot marked, it still worked for UEFI. It would boot to the UEFI partition, hand it over to the ntfs selecting the boot files automatically and boot through it.
Now when i booted in legacy, the problem occured because aioboot hates a partition marked as boot, seems the dev has put it that way for some reason. That's why it was not booting in legacy.
Removing the boot flag made it boot into legacy but then uefi stopped working. So it's not UEFI:NTFS's fault, I admit it there. I wonder if I could do something still though to make it boot into uefi if I removed the boot flag though.

from uefi-ntfs.

Masamune3210 avatar Masamune3210 commented on July 22, 2024

Well the uefi itself doesnt care about the boot flag iirc, it just runs whatever efi file its told to load, as long as the uefi has the drivers for the filesystem the efi loader is on the rest is up to the loader itself

from uefi-ntfs.

RaXorX avatar RaXorX commented on July 22, 2024

@Masamune3210 That is weird then. Once i remove the boot flag it fails to boot for me in uefi. But then again I am using unconventional methods/bootloaders in the first place and not a direct bootable usb via rufus.
EDIT: I just tried it again, was weird that uefi boot wasn't working before but now they both do. Thanks a lot.

from uefi-ntfs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.