Results 1 to 5 of 5

Thread: Grub2 detects NTFS partition as Windows OS.

  1. #1
    Join Date
    Dec 2008
    Beans
    142

    Grub2 detects NTFS partition as Windows OS.

    Grub2 detects a newly-created partition (sda1) as a Windows OS, creating a menu entry for same. Its boot-flag isn't set and is only used to store stuff. Re-running 'grub-install --root-directory=/mnt/ /dev/sda' from the LiveCD didn't help.

    Does anyone have a remedy?

  2. #2
    Join Date
    Aug 2009
    Location
    Pair a dice
    Beans
    Hidden!
    Distro
    Xubuntu 16.04 Xenial Xerus

    Re: Grub2 detects NTFS partition as Windows OS.

    Used Gparted and select that partition and click on it and then manage flags and uncheck Boot.
    Then go to the real windows partition, click on it and then manage flags and then check Boot.
    That should fix it.
    If you can get into your Ubuntu, enter sudo grub-install /dev/sda

    Did that help any?

    I have a custom grub menu from the How to in my sig. and I only see what I have set up.
    One time I unchecked the boot flag on my windows 7 partition and it worked fine but, would not go into sleep mode. I had to add the check back to boot before it would sleep.
    Last edited by Cavsfan; August 10th, 2012 at 06:48 PM.
    Check Java Version | Install Java via WEB UPD8 PPA
    Creating a Custom Maintenance Free GRUB2 Screen Community Wiki
    Intel Core2 Quad CPU Q9550 @ 2.84Ghz. 4.0GB DDR2 RAM, NVIDIA Geforce 9800 GT

  3. #3
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Grub2 detects NTFS partition as Windows OS.

    Grub normally only creates boot entries for those partitions with boot files. For XP it is ntldr & boot.ini and Vista/7 bootmgr and the BCD. Do you have boot files in your NTFS partition? Grub does not use boot flag, but Windows has to have boot flag to boot directly with its MBR boot loader, or make boot repairs.

    Or you can hide the entry.
    HOWTO: Grub Customizer Updated for grub 1.99
    http://ubuntuforums.org/showthread.php?t=1664134
    http://www.ubuntugeek.com/grub-custo...-included.html
    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.

  4. #4
    Join Date
    Dec 2008
    Beans
    142

    Re: Grub2 detects NTFS partition as Windows OS.

    Although I don't have any flavour of Windows on the hard-drive, as oldfred suggested, I do have 'boot.ini' and 'ntldr' - no doubt left over from a copy & paste from my old XP installation! So, sorted!

    Thanks guys.

  5. #5
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Grub2 detects NTFS partition as Windows OS.

    Glad that worked.

    You can change to solved.

    Also you should have a Windows install or Windows repairCD, so you can run chkdsk periodically or whenever there are issues. You cannot do chkdsk from Linux.
    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.

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
  •