Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 23

Thread: Explanation For Failed Grub Installation

  1. #11
    Join Date
    Aug 2005
    Location
    USA
    Beans
    369
    Distro
    Kubuntu 10.10 Maverick Meerkat

    Re: Explanation For Failed Grub Installation

    Quote Originally Posted by oldfred View Post
    May be best to post this. If gpt partitioned and first partition is efi then it is UEFI.

    If MBR(msdos) then you may have the 4 primary partition issue.
    It's definitely MBR, I know that for a fact.

    Quote Originally Posted by darkod View Post
    Also, another thing that can mess it up for you and needs attention, open Disk Management and make sure the disk is Basic, not Dynamic. Just in case...

    Dynamic disks are MS format and linux won't play nice with them.
    I'll have her check it out later on today to see what they're set as.

    I have an idea that it may be something with the HP Tools partition that is causing errors. I know these OEM diagnostic/tools partitions are always first and they're usually not a FAT(16/32) or NTFS partition, half the time they're marked as hidden and don't show up at all except for a small MB or 2 partition.

  2. #12
    Join Date
    Aug 2005
    Location
    USA
    Beans
    369
    Distro
    Kubuntu 10.10 Maverick Meerkat

    Re: Explanation For Failed Grub Installation

    I asked her last night and the first three partitions (HP Tools, Windows Boot and Windows System) are all set as dynamic.

  3. #13
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Explanation For Failed Grub Installation

    Dynamic complicated things. Windows creates dynamic partitions whenever you try to create more than the 4 primary partitions allowed in MBR. But per Microsoft it is a one way conversion. Microsofts suggestion is back up everything (which you should anyway) and erase drive, repartition and restore data.

    Some third party tools offer conversion. They used to offer it in the free versions, but it looks like they all have converted to only the paid version now has dynamic partition conversion. You may find the older versions offered on some of the software download sites.
    Dynamic volume is a Microsoft proprietary format developed together with Veritas (now acquired by Symantec) for logical volumes.
    You may be use a third-party tool, such as Partition Wizard MiniTool or EASEUS to convert a convert a dynamic disk to a basic disk without having to delete or format them.
    I've never used any of these and so I can't be sure they will work.Be sure to have good backups as any major partition change has risks.

    Used EASEUS Partition Master - free version used to include conversion
    http://ubuntuforums.org/showthread.php?t=1692248
    EASEUS Partition Master - The free home edition converted both dynamic partitions into basic partitions in less than 5 minutes!!
    http://www.partition-tool.com/personal.htm

    Several users have used this, it has a liveCD download to use but you have to use the non-free version:
    MiniTool Partition Wizard Professional Edition 5.2 to convert without loss of data the disk from dynamic disk to a basic disk.
    also used Partition Wizard to set an existing partition logical instead of primary
    Converted from dynamic with MiniTool, & repaired windows
    http://ubuntuforums.org/showthread.php?t=1779529
    http://www.partitionwizard.com/conve...asic-disk.html

    Posts by oldfred & srs5694
    http://ubuntuforums.org/showthread.php?t=1705481
    SFS converting:
    http://www.sevenforums.com/tutorials...asic-disk.html
    Post 96 using sfdisk - must have only 4 partitions
    http://www.sevenforums.com/tutorials...c-disk-10.html
    http://support.microsoft.com/kb/309044
    Also used testdisk
    http://ubuntuforums.org/showthread.php?t=1675420
    Used testdisk but see caveats in Post#7:
    http://ubuntuforums.org/showthread.php?t=1669418

    EASEUS Partition Master
    http://www.partition-tool.com/personal.htm
    Partition Wizard
    http://www.partitionwizard.com/free-...n-manager.html
    For info on UEFI boot install & repair:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.







  4. #14
    Join Date
    Aug 2005
    Location
    USA
    Beans
    369
    Distro
    Kubuntu 10.10 Maverick Meerkat

    Re: Explanation For Failed Grub Installation

    Thanks for the info. I'd rather not have to install Windows again considering that I just did it about two weeks ago :-/ if it comes down to it I'll use that Live CD that you mentioned.

    The thing I still don't understand is what Dynamic NTFS partitions should affect an EXT4 partition when they're all primary, not extended, partitions. What really threw me through a loop was that Grub wouldn't install anywhere, even to an EXT4 partition.

  5. #15
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Explanation For Failed Grub Installation

    Dynamic for Windows is like LVM is for Linux. It is a logical partition overlay to the physical partitions. As such Linux tools will not modify or mount the dynamic partitions.
    If you left space you may be able to force Linux into another partition,but could never boot Windows from grub as it cannot 'see' the dynamic partition to boot from.
    For info on UEFI boot install & repair:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.







  6. #16
    Join Date
    Nov 2009
    Location
    Segur De Calafell, Spain
    Beans
    11,660
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Explanation For Failed Grub Installation

    As far as I know, the Dynamic refers to the whole disk, not only the specific partitions. That's where the problem lies.

    If it was only the partitions, logic would say you can use unpartitioned space for ubuntu without problems.

    But if the disk is Dynamic, that includes the unpartitioned space.

    In Disk Management, if you look at the left center of the screen, it should say like:
    Disk 0
    Dynamic

    or:
    Disk 0
    Basic

    The disk is basic or dynamic, not the partitions. And if it's dynamic, you can't use it from linux the same way as windows doesn't understand not only linux LVM but linux partitions in general.
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 12.04 LTS 64bit & Windows 7 Ultimate 64bit

  7. #17
    Join Date
    Aug 2005
    Location
    USA
    Beans
    369
    Distro
    Kubuntu 10.10 Maverick Meerkat

    Re: Explanation For Failed Grub Installation

    Yep, I just looked and the whole disk is dynamic. This makes complete sense no, thanks! I'm going to try to convert it and hope all goes well!

  8. #18
    Join Date
    Aug 2005
    Location
    USA
    Beans
    369
    Distro
    Kubuntu 10.10 Maverick Meerkat

    Re: Explanation For Failed Grub Installation

    So I converted the disk from Dynamic to Basic (it took 4 hours!) and Kubuntu installed but installing Grub to the MBR still failed! What's going on here??

    kubuntu@kubuntu:~$ sudo grub-install /dev/sda
    Path `/boot/grub' is not readable by GRUB on boot. Installation is impossible. Aborting.

    kubuntu@kubuntu:~$ sudo grub-install /dev/sda4
    Path `/boot/grub' is not readable by GRUB on boot. Installation is impossible. Aborting.
    I also can't post anything from boot-repair because I can't get it installed

    kubuntu@kubuntu:~$ sudo apt-get install boot-repair
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:

    The following packages have unmet dependencies:
    boot-repair : Depends: boot-sav (>= 3.196) but 3.196~ppa3~quantal is to be installed
    E: Unable to correct problems, you have held broken packages.
    Here's the partition table
    ubuntu@kubuntu:~$ sudo fdisk /dev/sda

    Command (m for help): p

    Disk /dev/sda: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0xf4aea3a7

    Device Boot Start End Blocks Id System
    /dev/sda1 * 2048 409599 203776 7 HPFS/NTFS/exFAT
    /dev/sda2 409600 843814911 421702656 7 HPFS/NTFS/exFAT
    /dev/sda3 946214910 976771119 15278105 f W95 Ext'd (LBA)
    /dev/sda4 843814912 946212863 51198976 83 Linux
    /dev/sda5 946214912 976560127 15172608 7 HPFS/NTFS/exFAT
    /dev/sda6 976560192 976771119 105464 b W95 FAT32

    Partition table entries are not in disk order
    Last edited by Brando569; December 17th, 2012 at 12:17 AM.

  9. #19
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Explanation For Failed Grub Installation

    In the Boot-Repair thread is another users with issues, I think it is being worked on.

    You can try manual install of grub, but if it cannot read /boot/grub, did it install correctly? Or does partition have issues.

    We also have seen some issues with some systems where if boot files are beyond 100GB on drive grub may have issues finding its files.
    Have you turned fast boot off and have AHCI on in BIOS. Not sure if any other settings may be required.
    For info on UEFI boot install & repair:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.







  10. #20
    Join Date
    Aug 2005
    Location
    USA
    Beans
    369
    Distro
    Kubuntu 10.10 Maverick Meerkat

    Re: Explanation For Failed Grub Installation

    The partition itself is fine, it mounts perfectly and fsck.ext4 reports that it is clean. There aren't any options for fastboot or AHCI in the BIOS so I can't toggle those.

    By installing grub manually do you mean this? Because that's what I've been doing and it fails.
    kubuntu@kubuntu:~$ sudo modprobe dm-mod
    kubuntu@kubuntu:~$ sudo grub-install --target=i386-pc --recheck /dev/sda
    I really don't want to move a 400 GB partition unless I absolutely have to because it will take another few hours :-/
    Last edited by Brando569; December 17th, 2012 at 02:03 AM.

Page 2 of 3 FirstFirst 123 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
  •