On 10/6/06, Marco Gerards <[EMAIL PROTECTED]> wrote:
> Alternative idea would be to create a partition (without any
> filesystem) specifically for saving some data from grub, and then grub
> would just give a read/write access to that partition as a single
> block of data.

I don't like this, it will make it hard or impossible to install GRUB
on certain systems.

Maybe you misunderstood me a bit.
I didn't mean that grub would need to know which partition has this
"special" status. Instead grub would give a general read/write access
to any partition as a single block of data, and user would then use
the partition he wants.

e.g.
   # Read 1024 bytes from partition (hd0,3) starting at position 0
   data = read (hd0,3), 0, 1024;
   # Write new data to that same position
   write (hd0,3), 0, newdata;

--
Markus Laire


_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to