LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 05-16-2012, 05:28 AM   #1
mhdjavanmardi
LQ Newbie
 
Registered: May 2012
Posts: 5

Rep: Reputation: Disabled
what is the structure of LILO map file?


Hi everyone,
does anybody know the structure of LILO map file?
I need the map file structure to extract some information of kernel physical address from it.
Lilo source code is complex and I can't understand well..

Javan
 
Old 05-17-2012, 03:22 AM   #2
cliffordw
Member
 
Registered: Jan 2012
Location: South Africa
Posts: 281

Rep: Reputation: 118Reputation: 118
Hi there,

The notes in http://lilo.alioth.debian.org/olddoc/pdf/tech_21-5.pdf may help. Alternately it looks like the "verbose = 5" option in lilo.conf might help - it claims to "the mapping of each sector".

What information are you looking for exactly? It may be accessible in other ways (outside of lilo)?
 
Old 05-17-2012, 04:34 AM   #3
mhdjavanmardi
LQ Newbie
 
Registered: May 2012
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by cliffordw View Post
Hi there,

The notes in http://lilo.alioth.debian.org/olddoc/pdf/tech_21-5.pdf may help. Alternately it looks like the "verbose = 5" option in lilo.conf might help - it claims to "the mapping of each sector".

What information are you looking for exactly? It may be accessible in other ways (outside of lilo)?
Thanks for reply clifford, I'm looking for LBA address of my linux kernel.. with "verbose = 5" (lilo -L -v -v -v -v -v) it prints some LBA address, but when I test these LBA in debugfs(testb block_num), it says that "Block block_num not in use"!
the LBAs which lilo returns are different from LBAs which "stat" command in debugfs returns.. do you know the reason??
I am developing my own bootloader and I need the kernel LBA address to load it on memory! my bootloader doesn't support the file system
 
  


Reply

Tags
bootloader, lilo, map


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Map the directory structure beginning with root Domskis Linux - Newbie 11 09-22-2011 04:33 PM
C++ graph / map data structure Galib Programming 3 10-17-2010 09:50 PM
Convert directory structure from long file names in Linux to DOS 8.3 structure? manorina Linux - Software 5 09-12-2009 10:18 AM
Purpose of /boot/map file in LILO vmniza Linux - General 1 07-12-2005 10:01 PM


All times are GMT -5. The time now is 03:16 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration