Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: bootloader fails to install(grub cannot install bootloader)

  1. #1

    Default bootloader fails to install(grub cannot install bootloader)

    Hello everyone

    I have a major problem installing opensuse 11.3 on my computer( hp pavilion dv6)
    I downloaded openSUSE-11.3-GNOME-LiveCD-x86_64 from software.opensuse.org: Download openSUSE 11.3 and made a live usb
    I'm a newbie at using linux infact i never used another operating system beside windows.Now i have installed windows 7 (on c disk 100gb)
    My first problem when i am trying to install opensuse is that he dosn't automatic choose to make my partitions so i have to do it manualy.
    I was searching how to make it the best way so i desited to make 4 partitons one for ' /boot' one for ' / 'one for '/home' and a swap partition/
    In windows7 i made 4 new partitons

    3:10 gb for /boot
    4:10 gb for/
    5:70 gb for /user
    6:10 gb for /swap

    My first question is :Is this right to make 4 paritions in windows (opensuse can't format or resize my partitions it just can edit it ) so it's my only way to make partitions( If this is wrong how can i make partitions then)

    My second question is how to change the bootloader configurtation because everytime when ii try to install opensuse it stops at about 96% and it says to reconfigure the bootloader options.

    If i skip this i get the folowing message

    === System Checking ===
    Checking for /usr/bin/chroot binary... Passed
    Checking for chroot directory /mnt... Passed
    Checking for chroot directory content (bin
    boot
    clicboot
    dev
    etc
    home
    lib
    lib64
    license.tar.gz
    livecd
    lost+found
    media
    mnt
    opt
    proc
    read-only
    read-write
    $RECYCLE.BIN
    root
    sbin
    selinux
    srv
    sys
    System Volume Information
    tmp
    usr
    var
    )... Passed
    Checking for binary /mnt/bin/ls... Passed
    Trying to chroot... Failed

    This is worth reporting a bug at http://bugzilla.novell.com/.
    Please, attach also all YaST logs stored in the '/var/log/YaST2/' directory

  2. #2
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,140
    Blog Entries
    48

    Smile Re: bootloader fails to install(grub cannot install bootloader)

    So your best bet is to attempt to let Windows shrink its partition for you, before you install openSUSE. You should empty all temp folders, take out the trash and defrag before you try to shrink the partition. Go for 20 - 40 GB if you can get it. As for the number of partitions to create, I normally only add three partitions for openSUSE.

    Swap - 2 GB
    / - 18 GB EXT4 (Size is relative to what you can free up)
    /home - 20 GB EXT4 (Size is relative to what you can free up)

    There is no need to create all of those different partition types, it just makes your setup more complicated. Your next issue is how may partitions are already present with Windows and where are you going to install the grub boot loader?

    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  3. #3
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,987
    Blog Entries
    14

    Default Re: bootloader fails to install(grub cannot install bootloader)

    Do not use partitions created in Windows. Rather free up space on the disk, leave it unused, i.e. remove the partitions you already created.
    Then let the installer propose a partitioning for you. Should be around this:
    swap 2GB ----10GB's of swap is outrageous. If you have 4GB of RAM, it's likely not going to be touched at all, just for suspend/resume.
    "/" 15GB
    "/boot" 100MB ---- I suggest no "/boot" parition at all, unless you know why you want it. 10GB is an enormous overkill.
    "/home" the rest
    The installer will suggest to use "ext4" as the filesystem for "/" and "/home". Do not use fat or ntfs.

    In short: Remove the partitions you created to install openSUSE on from Windows, then boot from the USB installer.

    Take care, let us know how you got on.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  4. #4

    Default Re: bootloader fails to install(grub cannot install bootloader)

    Thank you very much for your replay, but my problem is that the partitioning tool that comes with opensuse live cd/dvd can not foramt or resize my partiton.I dont know if the problem is my hard disk or my motherboard.As opensuse can not format or resize my partition i had to do it on my owne .As a newbie in using linux i do not have the knowledge to do it right so i made 4 partitions in win7.I don't know if there is another way to do it so if u know pleas tell me

    Thanks

    And this is my motherboard and hard drive i think that opensuse has a problem with recognising my hard drive
    Motherboard
    Manufacturer Hewlett-Packard
    Model 3659
    Version 049D210000241210000020000
    Chipset Vendor Intel
    Chipset Model ID0044
    Chipset Revision 02
    Southbridge Vendor Intel
    Southbridge Model PM55
    Southbridge Revision 05
    BIOS
    Brand Hewlett-Packard
    Version F.17
    Date 02/06/2010

    Hard Drives
    TOSHIBA MK5056GSY
    Manufacturer TOSHIBA
    Interface IDE
    Capacity 488GB
    Real size 500,107,862,016 bytes

  5. #5
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,987
    Blog Entries
    14

    Default Re: bootloader fails to install(grub cannot install bootloader)

    If you made the partitions in Win7, then remove them in Win7. That would leave unpartitioned space on the disk. The installer will see that, and create parititions in the unpartitioned space, not having to shrink anything.

    In the BIOS check for the SATA mode of the disk. IIRC it should be SATA instead of IDE. Change the value, boot the openSUSE install disk, and see what happens.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  6. #6
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,140
    Blog Entries
    48

    Smile Re: bootloader fails to install(grub cannot install bootloader)

    samir_him, just as Knurpht has told you, you can not create partitions in Windows 7 that openSUSE can use to install itself on. You should remove these added partitions, leaving the space free and then try running the openSUSE installer. If, after making the space free on your disk, openSUSE will not install, you need to be very specific as to what the openSUSE installer is saying to you, such as any error messages you might receive.

    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  7. #7

    Default Re: bootloader fails to install(grub cannot install bootloader)

    Hello I'm back again and i tried the things you said
    I removed the partitions in win 7 and i got 100 gb unallocated space

    http://img180.imageshack.us/img180/4706/nonameeb.jpg

    but again the same problem :

    http://img443.imageshack.us/img443/1...gestedpart.png

    so i choose edit partition setup:

    ImageShack Album - 4 images

    on the third picture i can see the unallocated space but i don't know how to use it (i can't select it)
    if i click resize ,add, delete, or move i got the error message (i get this message on every dev/sda1 ,sda2,sda3,sda4..) :
    picture 4

    Operation not permitted on disk /dev/sda !

    The partitioning on your disk /dev/sda is either not readable by
    the partitioning tool parted used to change the
    partition table or is not supported by this tool.

    You may use the partitions on disk /dev/sda as they are or
    format them and assign mount points to them, but you
    cannot add, edit, resize, or remove partitions from that
    disk here.


    You may initialize the disk partition table to a sane state in the Expert
    Partitioner by selecting "Expert"->"Delete Partition Table
    and Disk Label", but this will destroy all data on all partitions of this
    disk

    can i download any program while using the live cd to configure the partitions ?

  8. #8
    Join Date
    Feb 2010
    Location
    Upstate New York, USA
    Posts
    480

    Default Re: bootloader fails to install(grub cannot install bootloader)

    Quote Originally Posted by samir_him View Post
    Hello I'm back again and i tried the things you said
    I removed the partitions in win 7 and i got 100 gb unallocated space

    http://img180.imageshack.us/img180/4706/nonameeb.jpg
    It appears that the above HD is from a Windows 7 Ultimate install. While the version is not a problem, Windows 7 Ultimate (along with Windows Vista Enterprise and Windows Server) support "dynamic" partitions. The above configuration contains such dynamic partitions. For reference, consult What are basic and dynamic disks?.

    It is not clear whether the installer can partition such drives.

    Quote Originally Posted by samir_him View Post
    The "unallocated space" is not found, or unable to be allocated, as the volume is configured for dynamic partitions rather than basic (primary, extended and logical) partitions.

    Quote Originally Posted by samir_him View Post
    so i choose edit partition setup:

    ImageShack Album - 4 images

    on the third picture i can see the unallocated space but i don't know how to use it (i can't select it)
    if i click resize ,add, delete, or move i got the error message (i get this message on every dev/sda1 ,sda2,sda3,sda4..) :
    picture 4

    Operation not permitted on disk /dev/sda !

    The partitioning on your disk /dev/sda is either not readable by
    the partitioning tool parted used to change the
    partition table or is not supported by this tool.

    You may use the partitions on disk /dev/sda as they are or
    format them and assign mount points to them, but you
    cannot add, edit, resize, or remove partitions from that
    disk here.


    You may initialize the disk partition table to a sane state in the Expert
    Partitioner by selecting "Expert"->"Delete Partition Table
    and Disk Label", but this will destroy all data on all partitions of this
    disk

    can i download any program while using the live cd to configure the partitions ?
    You might be able to allocate an "extended" partition in the unallocated space. From that extended partition, you could either pre-allocate the logical partitions or allow the installer to allocate. I cannot say whether a tool such as "PartedMagic" or "GParted" may handle such an allocation with dynamic partitioning present. You may have to rely on the Windows 7 disk management tools.

    The original post referenced an HP computer. It seemed a bit odd that the HD on an HP computer would have a "Toshiba" label.
    Lap: Gateway NV79, i5-430, 4GB, 2 x 500GB HD, Intel GMA HD
    openSUSE Leap 15.0 x64 + 42.3 x64, KDE 5.15.3, Ubuntu 16.04 LTS, Windows 7

    Test:: openSUSE 15.0, KDE Plasma, Windows/XP/SP3 guest.

  9. #9
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,140
    Blog Entries
    48

    Smile Re: bootloader fails to install(grub cannot install bootloader)

    According to your expert Partitioner screen, your disk size and partitions do not add up. Total size is 465.76 GB, Yet sda1=199.00 MB + sda2=97.66 + sda3=97.66 + sda4=155.63 for only 351.149 GB out of 465.76 GB total which means you left 114.611 GB unassigned and no way to assign it. You can only have four primary partitions on any hard drive. If one of them is a Logical Partition, it is possible to create Logical drives within it. Once you get to the fourth Primary partition, you should use all of the rest of the disk, otherwise that space will go wasted.

    All partitions above 4 must be logical drives, located within a Logical Partition, in this case sda4. On sda4 which has to be a logical Partition containing sda5=16.86 GB + sda6=103.02 GB for 119.88 GB, so 35.75 GB must be unassigned within sda4. This space is not wasted per say, it is just not assigned anywhere.

    Looking at this assignment of partitions tells me that you don't understand how to partition a disk, but worse, it seems that openSUSE can't handle it either. I don't know for sure, but perhaps sda1 is your Windows 7 boot partition and sda2 is the Windows 7 partition and perhaps sda3 is a second NTFS partition for data. I am thinking I would remove sda6, then sda5 and finally sda4 and then let openSUSE have another crack at installing Linux.

    You might tell us the actual model and brand of your computer so one could look it up instead of trying to figure out what part belongs to what computer.This information might be helpful to determine if indeed there is any known compatibility problem with your computer.

    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  10. #10
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: bootloader fails to install(grub cannot install bootloader)

    On 2010-11-08 02:36, SeanMc98 wrote:
    >
    > samir_him;2249612 Wrote:


    >> http://img180.imageshack.us/img180/4706/nonameeb.jpg
    >>

    >
    > It appears that the above HD is from a Windows 7 Ultimate install.
    > While the version is not a problem, Windows 7 Ultimate (along with
    > Windows Vista Enterprise and Windows Server) support "dynamic"
    > partitions. The above configuration contains such -dynamic- partitions.
    > For reference, consult 'What are basic and dynamic disks?'
    > (http://tinyurl.com/35sevfa).


    A kind of LVM, it seems.

    <http://en.wikipedia.org/wiki/Dynamic_disk>

    ]> The Logical Disk Manager (diskmgmt.msc) is an implementation of a
    logical volume manager for Microsoft Windows NT, developed by Microsoft and
    Veritas Software. It was introduced with the Windows 2000 operating system,
    and is supported in Windows XP, Windows Server 2003, Windows Vista and
    Windows 7. The MMC-based Disk Management snap-in hosts the Logical Disk
    Manager.



    > It is not clear whether the installer can partition such drives.


    I believe not.

    AFAIK, the OP would have to reformat it entirely or add a new disk.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" at Telcontar)

Page 1 of 2 12 LastLast

Posting Permissions

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