Here I am again with another question...
How do I check that a given string: (hd0), (hd1,0), (hd1) is an
existent drive?
I supposed that I had to use grub_disk_open because I did not want to
use grub_device_open can open (hd1,0) and (hd1,0) is not a drive but a
partition.
On Fri, Jun 15, 2007 at 08:56:00PM +0200, Marco Gerards wrote:
> Bean <[EMAIL PROTECTED]> writes:
>
> > On Fri, Jun 15, 2007 at 08:22:16PM +0200, Marco Gerards wrote:
> >> adrian15 <[EMAIL PROTECTED]> writes:
> >>
> >> > adrian15 escribió:
> >> >> 1st) Where to save an array?
> >> >>
Bean <[EMAIL PROTECTED]> writes:
> On Fri, Jun 15, 2007 at 08:22:16PM +0200, Marco Gerards wrote:
>> adrian15 <[EMAIL PROTECTED]> writes:
>>
>> > adrian15 escribió:
>> >> 1st) Where to save an array?
>> >> =
>> >>
>> >> If I mimic the grub legacy map command I need
On Fri, Jun 15, 2007 at 08:22:16PM +0200, Marco Gerards wrote:
> adrian15 <[EMAIL PROTECTED]> writes:
>
> > adrian15 escribió:
> >> 1st) Where to save an array?
> >> =
> >>
> >> If I mimic the grub legacy map command I need to save an array with the
> >> map definit
adrian15 <[EMAIL PROTECTED]> writes:
> adrian15 escribió:
>> 1st) Where to save an array?
>> =
>>
>> If I mimic the grub legacy map command I need to save an array with the
>> map definitions.
>>
>> static unsigned short bios_drive_map[DRIVE_MAP_SIZE + 1];
>>
adrian15 escribió:
1st) Where to save an array?
=
If I mimic the grub legacy map command I need to save an array with the
map definitions.
static unsigned short bios_drive_map[DRIVE_MAP_SIZE + 1];
So that each time I call something like:
map (hd
I want to implement the map command for grub2 as long as it is an
interesting thing for stupid windows oses and because it's the clue for
making an "usbshift" equivalent command (See Super Grub Disk usbshift
command for more details).
1st) Where to save an array?