BootIt UEFI

Discussion in 'backup, imaging & disk mgmt' started by Brian K, Jun 26, 2018.

  1. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,175
    Location:
    NSW, Australia
    Assuming you disable Hibernation, can you do this again....

    In Partition Work select the Win10 partition. Click Properties, Details. What are the Free/ Used MiB?

    Also, in Partition Work, what is the size of the Win10 partition?
     
  2. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,175
    Location:
    NSW, Australia
    Soon we are going to resize the Win10 partition 20650 MiB smaller. That Free Space will be for a 20000 MiB Linux partition and later a 550 MiB TBWinRE partition and a 100 MiB IFL partition.

    My Cinnamon partition is 13000 MiB and is half full so 20000 MiB should be fine for a long term OS.
     
  3. puff-m-d

    puff-m-d Registered Member

    Joined:
    Feb 13, 2002
    Posts:
    5,703
    Location:
    North Carolina, USA
    Hello @Brian K,

    Strange about the hibernation/sleep as I have never used hibernation and it has always been disabled in my Windows menus. I have now disabled hibernation with the command line "powercfg.exe -h off" and the hiberfil.sys file is now gone. Sleep does indeed work. The warning message has now gone away when I access partition work in BIU, so that problem is now fixed.
    I did a thorough cleaning of cache/temps/logs on my c drive and with the hiberfil.sys file deleted my current free/used space is as follows:
    • Free: 198256 MiB
    • Used: 30064 MiB
    I am taking care of this now.
     
  4. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,175
    Location:
    NSW, Australia
    Kent,

    Check my maths.

    Your Win10 partition should be 198256 + 30064 = 228320 MiB

    Resized 20650 MiB smaller = 207670 MiB

    In Partition Work select the Win10 partition, click Resize, OK,

    In New Size field type 207670. OK, Continue, Close.

    Do you now have 20650 MiB of Free Space after the Win10 Partition?
     
  5. puff-m-d

    puff-m-d Registered Member

    Joined:
    Feb 13, 2002
    Posts:
    5,703
    Location:
    North Carolina, USA
    Hello @Brian K,

    Yeah, we were posting at the same time so I missed some of the info you wanted. I went to partition work again to verify and here is that info:
    • Free: 198225 MiB
    • Used: 30095 MiB
    • Size of C: 228320
    So your math is good...
    Doing the resizing now...
     
  6. puff-m-d

    puff-m-d Registered Member

    Joined:
    Feb 13, 2002
    Posts:
    5,703
    Location:
    North Carolina, USA
    Hello @Brian K,
    Yes :thumb: ...
     
  7. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,175
    Location:
    NSW, Australia
    OK.

    select the 20650 MiB Free Space
    click Create
    Name... Mint
    File System... 131/83h: Linux Native
    Size - MiB... 20000
    ignore Before and After
    click OK

    You should have a 20000 MiB GPT Entry followed by 650 MiB Free Space

    select the Mint partition and click Properties. The Type should be Linux Data.
    Cancel
    Close
     
  8. puff-m-d

    puff-m-d Registered Member

    Joined:
    Feb 13, 2002
    Posts:
    5,703
    Location:
    North Carolina, USA
    Hello @Brian K,

    Done, info and sizes verified...
     
  9. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,175
    Location:
    NSW, Australia
    Great.

    boot cinnamon ufd
    press Enter on first Linux entry
    double click Install Linux Mint icon
    Welcome... Continue
    Keyboard layout...Continue
    Preparing to install Linux Mint...make no changes...Continue
    Installation type... Something else...Continue
    Installation type... Find the Linux partition you just created. It probably is /dev/sda5. Size 20971 MB. If you are uncertain let me know. Select that partition and click Change.
    ...Use as Ext4 journaling file system
    ...put a tick in Format the partition
    ...Mount point /
    ...OK
    Device for boot loader installation. We want the efi partition so look at the partition list for efi Type. It's likely to be /dev/sda2 so make Device for boot loader installation /dev/sda2.
    Install now
     
  10. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,175
    Location:
    NSW, Australia
    After entering your intended password during the install I select Log in automatically. It is the "Who are you?" screen.
     
    Last edited: Jul 1, 2018
  11. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,175
    Location:
    NSW, Australia
    Installing Mint usually disables BIU so you will restart to Mint and not BIU. Let me know when you are in Mint.
     
  12. puff-m-d

    puff-m-d Registered Member

    Joined:
    Feb 13, 2002
    Posts:
    5,703
    Location:
    North Carolina, USA
    Hello @Brian K,
    Yeah, that gave me a panic attack! I thought I had messed up at this step:
    There was no EFI partition type listed but there was a "/dev/sda2" but it said beside it "Windows Boot Manager". I selected it anyways and ended up back in Mint after the reboot. I hope that was right and I did not screw up. I am in Windows now but can go back to Mint if I need to.
     
  13. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,175
    Location:
    NSW, Australia
    Kent,

    I think all is OK. So BIU is working and you can choose either OS?
     
  14. puff-m-d

    puff-m-d Registered Member

    Joined:
    Feb 13, 2002
    Posts:
    5,703
    Location:
    North Carolina, USA
    Hello @Brian K,

    I do not think everything is OK. BIU is not working and I think that I have done what I was afraid I would do. Whenever I boot, I get what I think is that Linux Grub boot screen where it give me four options, one of which is Windows Boot Manager. I am all new to this but it appears to me that the Linux boot menu has replaced BIU... I got to Windows by selecting the Windows Boot Manager.
     
  15. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,175
    Location:
    NSW, Australia
    All is OK. In Win10 is you clock on the wrong time?
     
  16. puff-m-d

    puff-m-d Registered Member

    Joined:
    Feb 13, 2002
    Posts:
    5,703
    Location:
    North Carolina, USA
    Hello @Brian K,

    No, it has the correct time... I did set a time zone during the Mint install if that matters.
    I have a working Windows and Mint but they boot through the Mint boot screen. There is no BIU anymore.
     
  17. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,175
    Location:
    NSW, Australia
    OK, boot into Mint and we'll fix a potential time issue.

    Open Terminal. It's the black icon third from the Menu icon (Start button in Win10)
    Type this and press Enter. There should not be an error. It just goes back to the prompt.

    timedatectl set-local-rtc 1
     
  18. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,175
    Location:
    NSW, Australia
    Do two restarts in Linux then boot the BIU flash drive. There will probably be 2 options. Reactivate or Reinstall. Choose Reactivate if it is available.

    Back in BIU again?
     
  19. puff-m-d

    puff-m-d Registered Member

    Joined:
    Feb 13, 2002
    Posts:
    5,703
    Location:
    North Carolina, USA
    Hello @Brian K,

    I read somewhere through the information about BIU that on install it automatically detected all OS's and set them up. Can it be something as simple as installing BIU again?
     
  20. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,175
    Location:
    NSW, Australia
    By design the old boot manager is disabled when a new OS is installed. This goes back to WinXP. BIBM or BIU need to be reactivated.
     
  21. puff-m-d

    puff-m-d Registered Member

    Joined:
    Feb 13, 2002
    Posts:
    5,703
    Location:
    North Carolina, USA
    Hello @Brian K,

    Doing the above steps now. Back in a few...
     
  22. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,175
    Location:
    NSW, Australia
    We might have posted together a few posts back.

    And again...
     
  23. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,175
    Location:
    NSW, Australia
    Don't worry if Mint doesn't boot from BIU.
     
  24. puff-m-d

    puff-m-d Registered Member

    Joined:
    Feb 13, 2002
    Posts:
    5,703
    Location:
    North Carolina, USA
    Hello @Brian K,

    OK, here are the results:
    BIU is back and I can boot to both Mint and Windows.
    However, I still have that pesky boot option screen when booting to Mint. Is there anyway around that so that BIU boots directly to Mint without having to go through that boot option screen?
    If it matters, my time is still correct in Windows...
     
  25. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,175
    Location:
    NSW, Australia
    Kent, great news. Let's get rid of that grub screen....

    In Mint open Terminal, type this and press Enter (you will be asked for your password)

    sudo xed /etc/default/grub


    Maximize the text window
    Part of the text is...

    GRUB_DEFAULT=0
    GRUB_HIDDEN_TIMEOUT=0
    GRUB_HIDDEN_TIMEOUT_QUIET=true
    GRUB_TIMEOUT=10
    GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
    GRUB_CMDLINE_LINUX=""

    You need to make 2 edits (lines 2 and 4) so it is...

    GRUB_DEFAULT=0
    GRUB_HIDDEN_TIMEOUT=
    GRUB_HIDDEN_TIMEOUT_QUIET=true
    GRUB_TIMEOUT=0.1
    GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
    GRUB_CMDLINE_LINUX=""

    Then click File, Save and close the window.

    Back in your Terminal type this and press Enter...

    sudo update-grub

    When it has finished restart the computer and boot Mint from BIU. All OK?
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.