- LILO installed where
- Posted by The LinuxBuff on March 6th, 2004
I have inherited a PC with Linux already installed. I would be interested
to find out where LILO was installed. That is, whether it was installed on
the MBR or on the superblock. Is this feasible?
- Posted by The LinuxBuff on March 6th, 2004
On Sat, 06 Mar 2004 23:23:27 +0000, Wi||em. wrote:
Codified how? That is, I see lines like
boot = /dev/hda
and
image = /boot/vmlinuz
root = /dev/hda1
label = Linux
read-only
I assume that the info is here, but I don't know how this all differs when
using the MBR or the superblock.
- Posted by Matt on March 6th, 2004
The LinuxBuff wrote:
will be written. If you change it to 'boot=/dev/fd0', lilo will write
to your floppy drive.
- Posted by The LinuxBuff on March 6th, 2004
On Sun, 07 Mar 2004 00:28:25 +0000, Matt wrote:
What about the superblock? What does the LILO configuration file look
like in that case? I am talking about LILO being installed to the hard
drive, not the floppy drive.
- Posted by Robert Hull on March 7th, 2004
In message <pan.2004.03.07.00.41.40.12814@linuxbuffers.net> , The
LinuxBuff <linuxbuff@linuxbuffers.net> wrote
Firstly under options, you would read:
-b bootdev
Specify the boot device; i.e., where the boot loader will be
installed. "-b /dev/hda" specifies the Master Boot Record; "-b
/dev/sdb5" specifies the first extended partition on the second
SCSI disk.
Then later, you would read:
The above command line options correspond to the key words in the
config file indicated below.
-b bootdev boot=bootdev
As you wanted to be spoon-fed the answer, you can email me for details
of where to send my fee.
--
Robert
This information provided free of charge for those willing to accept
it. Others who wish to be spoon-fed may acquire my services at the
discounted rate of 135 GB Pounds per hour or part thereof.
- Posted by Matt on March 7th, 2004
The LinuxBuff wrote:
I was trying to give you a couple of examples. The point is that you
set the boot= command in lilo.conf, then run lilo. boot= tells lilo
where to write. I can't say much more than the foregoing because I
don't have much understanding of it. Personally I find the lilo
documentation practically impenetrable and have recently switched to
grub, which is pretty easily understood starting with `info grub`.
- Posted by P.T. Breuer on March 7th, 2004
Matt <matt@themattfella.zzzz.com> wrote:
What do you mean by "superblock"? That's part of a file system, or
sometimes a raid device. The boot= line says where to put the boot
loader!
In what case? It has boot= pointing at wherever you want to put the
boot loader.
But the above shows lilo being installed to the hard drive, not the
floppy drive. Either you are crackers or I am!
Sure.
There's no need to say more because there is nothing more to say!
Uh, no. The grub documentation is much worse than lilo's, starting with
their impenetrable notation for disk drives and partitions. But both
lilo and grub documentation is pretty impenetrabble (apart from the man
page for lilo and lilo.conf, which at least is clear in every way, like
a man page should be!).
Peter