Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 38

Thread: Booting Windows only if USB flash disk is plugged in.

  1. #11
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Booting Windows only if USB flash disk is plugged in.

    Most systems require you to have UEFI first or UEFI only setting. A very few seemed to need legacy on, but UEFI still set as default boot.
    My Asus motherboard would not boot in UEFI mode, even with 'UEFI or Legacy' mode. The only UEFI mode that worked was 'UEFI only'.

    You are using Supergrub, not grub. That is why you have an orange background. Not sure then if it is trying to boot in BIOS or UEFI mode. But UEFI and BIOS are on compatible. Once you start booting in one mode or the other, you cannot switch mode. Or grub only boots other installs in same boot mode.
    A few boot loaders can take advantage of UEFI's one time reboot feature to reboot into another boot mode. Grub does not.

    Grub only boots working Windows. So boot Windows from UEFI boot menu in UEFI mode, must have legacy off. Then fix Windows.
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  2. #12
    Join Date
    Oct 2019
    Beans
    40

    Re: Booting Windows only if USB flash disk is plugged in.

    I tried to create the supergrub with Rufus to boot while in pure UEFI mode. Now the option is there in Rufus and it works with Win8.1 installation media but it did not work with SuperGrub.

    I will search for other methods.

  3. #13
    Join Date
    Oct 2019
    Beans
    40

    Re: Booting Windows only if USB flash disk is plugged in.

    I managed to create a USB flash disk with super grub 2 on UEFI and I got errors. It works when secureboot is disabled from UEFI/BIOS

    I added the image to view the errors.

    https://www.dropbox.com/s/nzczfkb8kv..._0001.jpg?dl=0

    This is on NTFS and I got similar error on FAT32

  4. #14
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Booting Windows only if USB flash disk is plugged in.

    I know grub had issues booting Windows if UEFI Secure boot on.
    I expect Supergrub to have same issue as related to the chain of trust and use of UEFI keys.
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  5. #15
    Join Date
    Oct 2019
    Beans
    40

    Re: Booting Windows only if USB flash disk is plugged in.

    OK, Is there a known solution?

    Is there hope? can it be done?

  6. #16
    Join Date
    Oct 2019
    Beans
    40

    Re: Booting Windows only if USB flash disk is plugged in.

    I am guessing that it can only work on Legacy support systems.

    Can Win 8 and 10 be installed like that so that the idea will work?

  7. #17
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Booting Windows only if USB flash disk is plugged in.

    Leave UEFI secure boot off.
    Then grub should boot it, it Windows boots directly from UEFI.
    You may have Windows fast start up on. That must be off for grub to boot Windows as it sets hibernation flag and then the Linux NTFS driver will not mount your NTFS partitions. Or did you convert to dynamic partitions in Windows, that would be a major issue.

    If you only have one drive, converting to BIOS/MBR makes for a huge hassle.
    Windows only boots in BIOS/legacy/CSM mode from MBR partitioned drives. And then you only have one MBR. So have to have grub in MBR to dual boot. And conversion from/to MBR or gpt erases drive. There are some tools that may convert a drive, but partition requirements are a lot different for Windows UEFI or BIOS.

    But grub only boots working Windows, so when Windows does an update, you have to temporarily install a Windows boot loader, fix Windows, and then restore grub.
    With UEFI, you often can directly boot Windows from UEFI boot menu and make whatever changes or fixes are required.

    But still best to have both Windows repair flash drive and Ubuntu live installer to make repairs if needed.

    BIOS & UEFI Windows partitions, note system has totally different format & meaning between BIOS & UEFI
    https://msdn.microsoft.com/en-us/lib...=vs.85%29.aspx &
    https://docs.microsoft.com/en-us/win...Configurations
    https://msdn.microsoft.com/en-us/lib...Configurations
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  8. #18
    Join Date
    Jun 2007
    Location
    Hikkaduwa, Sri Lanka
    Beans
    3,283
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Booting Windows only if USB flash disk is plugged in.

    The method many Linux users use to only boot Linux when a USB stick is plugged in, is to install Linux on a USB stick.
    With Rufus you can install Windows to Go on a USB stick. Windows to Go is a Full working install of Windows. This method will insure that Windows will only boot when the stick is plugged in.

  9. #19
    Join Date
    Oct 2019
    Beans
    40

    Re: Booting Windows only if USB flash disk is plugged in.

    Quote Originally Posted by C.S.Cameron View Post
    The method many Linux users use to only boot Linux when a USB stick is plugged in, is to install Linux on a USB stick.
    With Rufus you can install Windows to Go on a USB stick. Windows to Go is a Full working install of Windows. This method will insure that Windows will only boot when the stick is plugged in.
    Not a bad Idea... Thanks for the tip.

    I am just doing this as a fun project.

    It works well on the old system running Windows. Does not matter much if it won't work well on newer systems.

    USB raptor is a very powerful security system I can use that if I cannot find the solution.

  10. #20
    Join Date
    Oct 2019
    Beans
    40

    Re: Booting Windows only if USB flash disk is plugged in.

    Quote Originally Posted by oldfred View Post
    Leave UEFI secure boot off.
    Then grub should boot it, it Windows boots directly from UEFI.
    You may have Windows fast start up on. That must be off for grub to boot Windows as it sets hibernation flag and then the Linux NTFS driver will not mount your NTFS partitions. Or did you convert to dynamic partitions in Windows, that would be a major issue.

    If you only have one drive, converting to BIOS/MBR makes for a huge hassle.
    Windows only boots in BIOS/legacy/CSM mode from MBR partitioned drives. And then you only have one MBR. So have to have grub in MBR to dual boot. And conversion from/to MBR or gpt erases drive. There are some tools that may convert a drive, but partition requirements are a lot different for Windows UEFI or BIOS.

    But grub only boots working Windows, so when Windows does an update, you have to temporarily install a Windows boot loader, fix Windows, and then restore grub.
    With UEFI, you often can directly boot Windows from UEFI boot menu and make whatever changes or fixes are required.

    But still best to have both Windows repair flash drive and Ubuntu live installer to make repairs if needed.

    BIOS & UEFI Windows partitions, note system has totally different format & meaning between BIOS & UEFI
    https://msdn.microsoft.com/en-us/lib...=vs.85%29.aspx &
    https://docs.microsoft.com/en-us/win...Configurations
    https://msdn.microsoft.com/en-us/lib...Configurations

    I did not understand your tips very well. I am not going to try installing Win8 on MBR system. I just want to know if it works. I want to know if Windows 8.1 and Windows 10 can work on MBR so that the same process that I used on Win 7 can work here too.

    FastBoot is off.

    It does login into Grub if I am using Legacy support with MBR support.

    It gives the error in the image provided earlier when I prepare the Grub using GPT support for UEFI.

Page 2 of 4 FirstFirst 1234 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •