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

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,

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.

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

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.

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,

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/1262/screenshotsuggestedpart.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 ?

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.

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.

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.

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,

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)

The only way I can see around this one is to create a backup or image of 3 of these partitions ( perhaps RECOVERY(G), HP_TOOLS(E) and backup(H) ).
Then delete these partitions and use TestDisk as described here How to non-destructively convert dynamic disks to basic disks | My PKB to convert the remaining 3 partitions to “basic” . From there you can manipulate the partitions with normal Linux partitioning tools and create an extended primary for Linux and other logical partitions.
Or, image the lot and start again!

You should also note that if you do image the disk and start again, the automated windows install may recreate the same mess!

Hello

This time i removed my partitions so i now have jsut one partition (local disk c: ) and the rest of my disk is unallocated space.

http://img526.imageshack.us/img526/8417/nonameio.jpg

But it’s still dynamic i didn’t change it to basic because i don’t know if i have to delete my hole system

“Before you convert a dynamic disk to a basic disk, be sure to backup anything that you do not want to lose on that dynamic disk. Converting the dynamic disk back to a basic disk requires that all dynamic volumes are deleted on the disk first.”

Convert a Dynamic Disk to a Basic Disk - Windows 7 Forums

So with just one partition and the rest unallocated i tried it again ,and again the same problem

http://img443.imageshack.us/img443/1262/screenshotsuggestedpart.png

If i chose edit partitions i can see the unallocated space but i can not select it

http://img213.imageshack.us/img213/9519/screenshotexpertpartiti.png

If i click add,delete,move,resize i get the following error

ImageShack: Host and Share your Photos and Videos - 92858334.png

so i tried the bootable cd/dvd i downloaded a weeks ago form software.opensuse.org: Download openSUSE 11.3

and before even getting to the point of managing my hard disk and partitions i get this message:

http://img525.imageshack.us/img525/8178/smanjena.jpg

What can i as a newbie do in this situation?
Is my only solution to change my disk from dynamic to basic and if so am i gonna loose my hole win7 system

and use TestDisk as described here How to non-destructively convert dynamic disks to basic disks | My PKB to convert the remaining 3 partitions to “basic” . From there you can manipulate the partitions with normal Linux partitioning tools and create an extended primary for Linux and other logical partitions.

How to non-destructively convert dynamic disks to basic disks | My PKB

TestDisk is on the PartedMagic liveCD Downloads.
Do not believe microsoft, These partitions did NOT all need to be deleted, the above works.

Another thread where this has been done successfully dual boot with windows 7

thank you very much .i will try this

I did what you said and it worked.The problem was the dynamic disk.When i convert it to basic it all worked

Do not believe microsoft, These partitions did NOT all need to be deleted, the above works.

It is true i converted it and still had all my data

Thank you guys for you help .