Re: Reading lilo.conf info from boot sector
Date: Sun, 27 Jul 2003 23:40:24 GMT
On 25 Jul 2003 07:17:27 -0700, firstname.lastname@example.org (prksh) wrote:
>Sorry, I am reposting this message.
>I am having a system which boots from a Raid1 device (md0 or md1),
>each of them have two mirrored partitions
>md0 -> /dev/hda1, /dev/hdc1
>md1 -> /dev/hde1. /dev/hdg1
>Now, Can somebody tell me how to read the lilo.conf info written by
>lilo to the boot sector? I have to write a program which would dump
>the lilo info by reading the boot sector.
The info from "lilo.conf" is spread over several areas: boot sector,
second-stage loader, map file descriptor area, keytable, &c. The placement of
this information is highly dependent upon the version of LILO in use, and may
change in the future without notice.
LILO version 22++ links at:
- Re: LILO with root-raid nightmare - please help.
... Kernel & BIOS return differing head/sector geometries for device 0x80 ... /dev/hda is not on the first disk /boot/boot.0300 exists - no boot sector backup copy made. ... I believe the problem may have stemmed from the fact that I originally set up the array on woody with a version of lilo that needed to overwrite the mbr of each of the physical disks, apparently this isn't the default behavior for raid in newer versions of lilo. ...
- Re: grubby: unable to open /boot/boot.b: No such file or directory
... Thomas Rabaix wrote: ... Development beyond version 21 Copyright 1999-2006 John Coffman ... The boot sector and the map file have *NOT* been altered. ... this is true, as noted in 1st line of lilo response, it proves out ...
- Re: RAID-1 root/boot/lilo problem
... My original intention was to make lilo write to a degraded /dev/md0 to get ... RAID list: /dev/hdc is device 0x1600 ... Reading boot sector from /dev/md0 ... The boot record of /dev/md0 has been updated. ...
- Re: lilo not "accepting" a new kernel
... LILO version 22.6.1, ... Debian GNU/Linux ... Reading boot sector from /dev/hda ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
- Re: intelligent disassembly
... Linux doesn't seem to have ... I did a Google search of the disassemblers you mentioned and was led ... the boot sector that is produced by Lilo derives from source code ...