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

Re: sophisticated boot disk



S. Schapiro (gold) wrote:

> Do you know where you put lilo ? Probably 0/0/0 - the beginning of the
> disk.
> Do you know how long it is ? Probably 1 sector (but I am not sure).
> Try to
> find aut by putting lilo on an empty (=formated) disk and read (dd)
> from it
> till you get garbage. This might provide you with the amount of
> sectors lilo
> needs. Now you put the kernel after it. Naturally you have to tell dd
> what
> sector to start with. It should be possible to calculate the correct
> s/h/c
> knowing by reading the man to find out the format of the disk. I would
> try
> 1/0/0 first, since at 0/0/0 sits lilo (=the bootblock)

That's what I saw in man lilo, but I don't know how to use it in
lilo.conf ...
For example, the kernel was written to 1/0/0
how should I write it on lilo.conf ?
should it be:
image=/dev/fd0 1/0/0 ?
I can't find any specific instructions using the fix-table option, or a
decent sample.
All the samples deals with specific filename with pathname.
If you have already used this option, or you know how to implement it,
please let me know.

Shahar.