grub-devel
[Top][All Lists]
Advanced

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

Re: Windows,grub and grub2


From: Bean
Subject: Re: Windows,grub and grub2
Date: Mon, 1 Sep 2008 23:35:48 +0800

On Mon, Sep 1, 2008 at 11:27 PM, Viswesh S <address@hidden> wrote:
>
>
> ----- 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 = (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

Hi,

Perhaps you can upload the boot sector file ? I can dissemble it to
see where the error is printed.

-- 
Bean




reply via email to

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