Windows,grub and grub2
----- Original Message ----
From: Bean <[email protected]>
To: The development of GRUB 2 <[email protected]>
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.
Signature · 35 lines
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 [email protected] http://lists.gnu.org/mailman/listinfo/grub-devel Unlimited freedom, unlimited storage. Get it now, on http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/
Quoted 37 lines · Viswesh S
----- Original Message ----
From: Bean <[email protected]>
To: The development of GRUB 2 <[email protected]>
Sent: Monday, 1 September, 2008 8:05:29 PM
Subject: Re: Windows,grub and grub2Hi,
Perhaps you can dump the biosdisk information as well
#include <
grub/machine/biosdisk.h>...
struct
grub_biosdisk_data*data = (structgrub_biosdisk_data*)dev->disk->datathen print its members (drive, cylinders, heads, sectors, flags). Also, please try copy the boot sector to a file and chainload it.
--
BeanHi,
I have dumped the biosdisk information also
data->drive=0x80
data->cylinders=0x3ff
data->heads=0xff
data->sectors=0x3f
data->flag=0x1
Quoted 8 lines
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
Hi,
Perhaps you can upload the boot sector file ? I can dissemble it to see where the error is printed.
Signature · 1 line
Bean