Linux/Windows Dual BOOT

Discussion in 'all things UNIX' started by TheRollbackFrog, Jan 31, 2018.

  1. pandlouk

    pandlouk Registered Member

    Joined:
    Jul 15, 2007
    Posts:
    2,976
    Sorry, I totally forgot to mention that most (if not all) uefi's will search a partition for the /efi/boot/bootx64.efi only if it is formatted as FAT16, FAT32, or ntfs. But none will search an ext2.ext3 or ext4 partition for that file.

    ps. Time to make a coffee to properly wake up.:)
     
  2. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,179
    Location:
    NSW, Australia
    OK. I'll restore the Win10 image. Thanks for your insight.
     
  3. pandlouk

    pandlouk Registered Member

    Joined:
    Jul 15, 2007
    Posts:
    2,976
  4. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,179
    Location:
    NSW, Australia
    Panagiotis,

    Thanks, but it looks too hard. I'll stick with what I know.
     
  5. dogbite

    dogbite Registered Member

    Joined:
    Dec 13, 2012
    Posts:
    1,290
    Location:
    EU
    A bit late here. Is there any way to install Linux in dual boot with Win10 in a way that Win loads its bootloader and then I can select to start Linux?
    Basically I need to avoid GRUB sitting on the MBR.
    I guess EasyBCD can make it but I am wondering what do to at Linux installation. From the previous posts I understand that even if I place the Linux bootloader in / I can't avoid GRUB. Am I correct?
     
  6. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,179
    Location:
    NSW, Australia
    dogbite,

    Will you have a MBR or UEFI OS installation?

    Do you want to completely avoid seeing the Grub boot menu?
     
  7. Infected

    Infected Registered Member

    Joined:
    Feb 9, 2015
    Posts:
    1,140
    How about removing Windows from the grub boot and booting straight into Mint without a boot loader?
     
  8. dogbite

    dogbite Registered Member

    Joined:
    Dec 13, 2012
    Posts:
    1,290
    Location:
    EU
    I think it's UEFI, how can I check to be 100% sure?
     
  9. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,179
    Location:
    NSW, Australia
    A quick way is to look at Disk Management. UEFI has an EFI System Partition.

    Or in System Information, System Summary, Item column, BIOS Mode. Is it UEFI or Legacy?

    Or in Disk Management, right click on Disk 0, Properties, Volumes tab. Is the Partition style GUID Partition Table (GPT) or Master Boot Record (MBR).
     
  10. dogbite

    dogbite Registered Member

    Joined:
    Dec 13, 2012
    Posts:
    1,290
    Location:
    EU
    Ok, UEFI confirmed and it's also GPT. Thank you.
     
  11. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,179
    Location:
    NSW, Australia
    In that case the Grub bootloader is in the EFI system partition, not the MBR. What do you envisage doing with Grub?
     
  12. dogbite

    dogbite Registered Member

    Joined:
    Dec 13, 2012
    Posts:
    1,290
    Location:
    EU
    Well, ideally I want to boot without seeing GRUB and then select either Win or Linux from the Win prompt.

    FYI I have not installed linux, yet.
     
  13. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,179
    Location:
    NSW, Australia
    Unfortunately, that can't be done. You can have both installed and boot each OS without seeing Grub but it's not easy. Anyone have other ideas?
     
  14. dogbite

    dogbite Registered Member

    Joined:
    Dec 13, 2012
    Posts:
    1,290
    Location:
    EU
    Thanks Brian, actually it's not a matter of life or death, I can stay with GRUB as usual.
    Just FYI in this video in Dropbox it shows what happens when there is no Grub and OS selections is made at Windows boot.

    https://www.dropbox.com/s/u5jm2qj5s5qwjtz/avvio 10.mp4?dl=0

    From what I understood that was achieved using EasyBCD after installing Mint alongside Win10 (and messing up the bootloader).
     
  15. pandlouk

    pandlouk Registered Member

    Joined:
    Jul 15, 2007
    Posts:
    2,976
    @dogbite It can be done (boot without grub) but It's not advised especially for novices. (Every time you update your linux distribution kernel, you would have to manually modifying the boot sequence to load the new kernel; with grub installed the OS updates automatically the grub bootloader to use the updated kernel)
    But if you want, you can modify it, so that you never see the grub boot menu. Steps to take:
    1) navigate in the directory "/etc/grub.d/" and edit the file "30_os-prober"
    Code:
    ......
    adjust_timeout () {
      if [ "$quick_boot" = 1 ] && [ "x${found_other_os}" != "x" ]; then
        cat << EOF
    set timeout_style=menu
    if [ "\${timeout}" = 0 ]; then
      set timeout=10
    ------
    You modify the line "set timeout=10" to "set timeout=0"
    2) navigate in the directory "/etc/default/" and edit the file "grub" and add/modify the lines
    Code:
    ......
    GRUB_DEFAULT="0"   
    GRUB_HIDDEN_TIMEOUT="0"   
    GRUB_HIDDEN_TIMEOUT_QUIET="true"   
    GRUB_TIMEOUT="0"
    -----.
     
  16. dogbite

    dogbite Registered Member

    Joined:
    Dec 13, 2012
    Posts:
    1,290
    Location:
    EU
    Ok thank you but that is too much. I am fine with the usual setup.
     
  17. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,179
    Location:
    NSW, Australia
    Panagiotis,

    Is this TBOSDT line related to the issue you mentioned?

    Boot a UEFI Kernel Loader. (UEFI Version Only)

    Maybe it's referring to all OS.

    This boots Mint using TBOSDT for UEFI...

    boot J:\EFI\Ubuntu\grubx64.EFI
     
    Last edited: Mar 29, 2018
  18. pandlouk

    pandlouk Registered Member

    Joined:
    Jul 15, 2007
    Posts:
    2,976
    @Brian K What issue? o_O

    You can use that line to boot another U/EFI loader from the TBOSDT. eg. Elilo, Grub legacy, Grub2, Windows loader, BootX (apple bootloader), etc.
     
    Last edited: Mar 31, 2018
  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.