[Ilugc] Regarding MBR and bootloader
Chakkaradeep C C
chaks.yoper at gmail.com
Wed Dec 14 12:21:31 IST 2005
hi,
thanks for the links....am coding in Python and i already have code to read
raw physical devices,its just few lines in python :-),
anyway for this "boot" thing,i run "fdisk -l" from python,capture the result
in the array.So i get each output (i.e),device,boot,file-system everything
held in arrays.I had done this way for displaying the partitions and somehow
i forgot that i do have a boot flag there.....but then when i explored my
code, i found that, and within minutes i had the "boot" thing done :D
On 12/14/05, Premnath Sah <prem_sah1 at yahoo.com> wrote:
>
> Hi,
>
> > i was about to post that i completed with fdisk,but
> > u did so.... :D
>
> If you want to know more about partition table then
> check this link
>
> http://www.ata-atapi.com/hiwtab.htm
> http://www.ata-atapi.com/hiwmbr.htm
>
> and also for code snippet check this link
>
> http://www.geocities.com/prem_sah1/
>
> this "C" code contains parsing of partition table,
> ext2fs etc. It was written long ago for windows.
>
> regards
> Premnath Sah T.H.
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
--
Regards,
Chaks
More information about the ilugc
mailing list