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 06:53:32 -0700 (PDT)



----- Original Message ----
From: Bean <address@hidden>
To: The development of GRUB 2 <address@hidden>
Sent: Monday, 1 September, 2008 6:32:28 PM
Subject: Re: Windows,grub and grub2

On Mon, Sep 1, 2008 at 6:48 PM, Viswesh S <address@hidden> wrote:
>
>

Hi,

I doubt that this is caused by int 13, as grub2 doesn't change it.
Besides, the boot sector is read properly in grub2, so int 13 should
be working.

I have thought of another possible reason for this. In grub2, %dh is
0, perhaps it should be set to the partition number. Please test if
the new patch works.

--
Bean
 
Hi,
 
To get more insight and see whether the values are proper,I dumped the structure members.
 
So for the commands:
 
set root=(hd0,1)
chainloader +1
 
This is disk and partition strucure member values.
 
disk->name=(hd0,1)
disk->has_partitions=1
disk->id=0x80
 
For the partition p,
 
p->offset=0
p->index=0
p->data="">
p->start=0x3f
p->len = 0x0
p->offset=0x4e1edec
p->partmap->name=(null)
part_addr=0x7be
 
And this is the dump from the mbr:
 
000001b0   00 00 00 00 00 00 00 00     81 eb 09 00 00 00 80 01  |................|
000001c0   01 00 07 fe  ff ff 3f 00          00 00 ec ed e1 04 00 fe  |......?.........|
000001d0   ff ff 07 fe ff ff 00 f0               e1 04 00 18 30 0b 00 fe  |............0...|
000001e0   ff ff 82 fe ff ff cf 0e               12 10 33 91 3b 00 00 fe  |..........3.;...|
000001f0    ff ff 83 fe ff ff 02 a0              4d 10 bf ea 53 02 55 aa  |........M...S.U.|
 
Viswesh
 
ps:-The previous patch also didnt work :-(


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

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