[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Regarding writing into raw file
From: |
Vladimir 'φ-coder/phcoder' Serbinenko |
Subject: |
Re: Regarding writing into raw file |
Date: |
Mon, 24 Jan 2011 15:57:09 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20101226 Icedove/3.0.11 |
On 01/24/2011 03:49 PM, Gnanasekar Loganathan wrote:
> Hi All,
>
> I try to opening a file called "(hd0,2,a)+10" from GRUB.
>
This is old syntax. New one is (hd0,netbsd1)
> For me open got success and able read some of the data.
> But i'm not able to write some data into the file, getting "out of
> partition" error.
>
GRUB has no file writing functions whatsoever, only disk writing
(grub_disk_write)
You can look into save_env in grub-core/commands/loadenv.c for reference
on the limited file overwrite possibilities.
I would be able to help better if I knew what your end goal is.
> Kindly help me, how to open, read and write into a raw file from the GRUB.
>
> FYI: Partition type is NetBSD one.
>
> If you need any info, kindly revert back.
>
> Thanks,
> Gnana
>
> _______________________________________________
> Grub-devel mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/grub-devel
>
>
--
Regards
Vladimir 'φ-coder/phcoder' Serbinenko
signature.asc
Description: OpenPGP digital signature
- Regarding writing into raw file, Gnanasekar Loganathan, 2011/01/24
- Re: Regarding writing into raw file,
Vladimir 'φ-coder/phcoder' Serbinenko <=
- Re: Regarding writing into raw file, Gnanasekar Loganathan, 2011/01/25
- Re: Regarding writing into raw file, Vladimir 'φ-coder/phcoder' Serbinenko, 2011/01/25
- Re: Regarding writing into raw file, Gnanasekar Loganathan, 2011/01/25
- Re: Regarding writing into raw file, Vladimir 'φ-coder/phcoder' Serbinenko, 2011/01/25
- Re: Regarding writing into raw file, Gnanasekar Loganathan, 2011/01/25
- Re: Regarding writing into raw file, Vladimir 'φ-coder/phcoder' Serbinenko, 2011/01/25