Re: Finding hard disk sector

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

 



Hi Rajat,

Try reading http://www.geocities.com/thestarman3/asm/mbr/GRUB.htm
It might help. Download the source code of grub and look into it.

regards,
Gaurav


On 11/16/06, Rajat Jain <rajat.noida.india@xxxxxxxxx> wrote:
> Hello Friends,
>
> I want to find first sector of the hard disk partation using C. Means detail
> information of that hard disk ie what is start sector and end sector of the
> partation. So that after finding that sector I can read/write on that
> sector.
>
> Please help me.
>

Read and parse the MBR ... !

Thanks,

Rajat

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/




--
Gaurav
Email: gauravd.chd@xxxxxxxxx
--------------------------------------------
Read my articles at: http://lkdp.blogspot.com
--------------------------------------------
Easy to get air tickets at affordable price,
US to India Air Tickets: www.Ritz-Travel.com
Call at 001-503-848-2299 or mail at info@xxxxxxxxxxxxxxx
--------------------------------------------

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux