grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Windows,grub and grub2


From: Viswesh S
Subject: Re: Windows,grub and grub2
Date: Mon, 1 Sep 2008 08:27:13 -0700 (PDT)



----- Original Message ----
From: Bean <address@hidden>
To: The development of GRUB 2 <address@hidden>
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 = "" 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
address@hidden
http://lists.gnu.org/mailman/listinfo/grub-devel


Unlimited freedom, unlimited storage. Get it now
reply via email to

[Prev in Thread] Current Thread [Next in Thread]