[Top][All Lists]

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

Re: write and read byte from grub to disk

From: Andrei Borzenkov
Subject: Re: write and read byte from grub to disk
Date: Sat, 1 Nov 2014 08:22:33 +0300

В Fri, 31 Oct 2014 10:32:38 +0530
Venkata Subbarao <address@hidden> пишет:

> Hi All,
> I am using XUbuntu 11.10
> From grub I would like to read and *write* a byte to a file located in
> /boot/grub folder from grub. I checked all modules that are available in
> folder /boot/grub/i386-pc. reading from file seems to be possible. But, I
> did not find a way to write to file. Can someone in this forums please help
> me ?

No, grub does not support generic write to disk. The very special
exception is writing environment block. What do you intend to do? What
do you want to write?

> If it is not possible, I can create a small 1MB partition for this data,
> which is exactly at 8GB offset. Is it possible to read and write from this
> offset ?
> Since grub can read from MBR, I think it could be possible to read and
> write from offset 8GB. Please help me.
> Thanks,
> Subbarao

reply via email to

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