grub2 doesn't support ldm

hi

how are you today?

i has opensuse 13 installed on

/dev/sda1 swap
/dev/sda2 root
/dev/sda3 home

and after i installed windows 7

windows 7 overwrite the opensuse MBR and i lost opensuse i can’t boot it
so i got my rescue cd and told my self ( hey this is very simple just install grub2 to MBR :cool:) but when i try to grub2-install /dev/sda
i got this error
grub-bios-setup this ldm has no embedding partition
( so it was not very simple as i thought :X lol )
also tried grub2-install --force /dev/sda and got the same error and process didn’t complete and windows 7 MBR still.
then i searched hours and hours about the problem and understood that grub2 doesn’t support ldm partitions well its buggy but when i boot from opensuse livecd and open partitioner all my disks appear as ldm including my opensuse partitions so how opensuse installed from the first and booted correctly under ldm partitions !! here the magic role come :smiley: oO is windows 7 converted them to ldm! i don’t think!? may be! just i don’t know

the only solution found on websites was to change from grub2 to syslinux but how to do that on opensuse! i don’t know! tried with my knowledge but failed, there is no good informations about how to do that.

i don’t think that reinstalling opensuse is a solution of course it will make it work but i want a real solution without reinstalling opensuse.

thanks i really appreciate any help

and sorry for the long hell story rotfl!

The bios_grub partition is usually indicative of using GPT partition table, only really required if your HD is +3TB

Without seeing your partition table (and not from windows), it’s hard to know what we are dealing with since neither do I comprehend some of your refs: ldm?

Please describe step by step what you did. Aggressive check for LDM was fixed in grub2 upstream and at least in version of grub2 that comes with 13.1. It sounds like you are using some other grub2, not from openSUSE.

Also please show output of “fdisk -l”.

i didn’t use GPT
also my harddrive is 500GB

this is all steps to what i did to get this problem.

i didn’t install or edit any opensuse default software.

i will get the output wait.

You have BIOS or UEFI?

there is no fdisk in rescue cd
after a workround i got fdisk and thgis is the result for sda disk

Device Boot      Start         End      Blocks   Id  System/dev/sda1              63   224395263   112197600+  42  SFS

/dev/sda2 * 224395264 326795263 51200000 42 SFS
/dev/sda3 326795264 976771119 324987928 42 SFS

but this is not right! there is /dev/sda4 and sda5 shoult appear i can access them and mount them!
also gparted give the same

thanks

BIOS

thanks

also gparted appear only 3 partitions in sda
this is not true! there is sda4 and sda5 that windows installed on

SFS isn’t that some cruddy windows file system?

What about

parted -l

oh those are not Linux partition they are Windows partitions

Show fdisk -l (not a one a lower case L)

Just to be sure

Alos please use code blocks not quote blocks (ie #) for computer output

It appears Windows wiped Linux

On 2013-12-15 21:36, hossam 2009 2008 wrote:
>
> hossam_2009_2008;2608557 Wrote:
>> there is no fdisk in rescue cd

Which rescue CD, the XFS rescue CD available from the openSUSE download
page? Can’t be.

> also gparted appear only 3 partitions in sda
> this is not true! there is sda4 and sda5 that windows installed on

Windows destroyed your layout, and Linux. And it is not using standard
partitions.

SFS might stand for HP StorageWorks Scalable File Share. Or, according
to the wikipedia, type 42, aka 0x2A, means:


> Partition ID 	Occurrence 	Access 	Bootable 	Type 	Origin 	Supported 	Description
>
> 2Ah 				Filesystem 	Kurt Skauen 	AtheOS 	AtheOS file system (AthFS, AFS) (an extension of BFS, see 2Bh and EBh)

http://en.wikipedia.org/wiki/Partition_types


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)

Model: ATA WDC WD5000AAKX-0 (scsi)Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 32.3kB 115GB 115GB primary type=42
2 115GB 167GB 52.4GB primary ntfs boot, type=42
3 167GB 500GB 333GB primary ntfs type=42

windows is working under SFS very good and with a better performance

i think so

i get rescue cd from here software.opensuse.org: Download openSUSE 13.1

so i think only solution is to delete all partitions and install os again?

thanks

Did you use a real Windows install disk or some restore Windows disk from the vendor. The restore type brings thing back to factory which in essence wipes the disk.

real windows 7 home 64bit install disk i downloaded from microsoft servers.

no not restore windows disk.

On 2013-12-15 22:26, hossam 2009 2008 wrote:

> i get rescue cd from here ‘software.opensuse.org: Download openSUSE
> 13.1’ (http://software.opensuse.org/131/en)

Well, I just booted it, and there is fdisk. You have to be root, of course.

> so i think only solution is to delete all partitions and install os
> again?

Install Windows first. If it is a real install disk, it will allow you
to chose partitions. Otherwise, let it run, and the first time you boot
Windows tell it to reduce its own partition.

Then install Linux.


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)

thanks carlos for your help
this is what i gonna do now.

many thanks to everyone helped me.

On 2013-12-16 00:06, hossam 2009 2008 wrote:
>
> robin_listas;2608598 Wrote:

>> Install Windows first. If it is a real install disk, it will allow you
>> to chose partitions.

Maybe it needs to be the professional version to allow you to choose
partitions. I’m not sure.


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)

no i can choose partitions in windows 7 home

after i done will tell if every thing is all right.

thanks