----- Original Message ----
From: Bean <bean123ch@gmail.com>
To: The development of GRUB 2 <grub-devel@gnu.org>
Sent: Monday, 1 September, 2008 8:05:29 PM
Subject: Re: Windows,grub and grub2


Hi,

Perhaps you can dump the biosdisk information as well

#include <grub/machine/biosdisk.h>

...

struct grub_biosdisk_data *data = (struct grub_biosdisk_data *) dev->disk->data

then print its members (drive, cylinders, heads, sectors, flags).
Also, please try copy the boot sector to a file and chainload it.


--
Bean

Hi,
 
I have dumped the biosdisk information also
 
data->drive=0x80
data->cylinders=0x3ff
data->heads=0xff
data->sectors=0x3f
data->flag=0x1
 
Chainloading from a file doesnt help either
 
dd if=/dev/hda1 of=chainload.txt bs=512 count=1
 
In the grub2 command:
 
set root=(hd0,1)
chainloader (hd0,4)/boot/chainload.txt
 
No effect :( same error
 
Viswesh
 
 

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel


Unlimited freedom, unlimited storage. Get it now