Why don't you simply put all the kernel images in the
same root (/) directory or some other directory
(/kernels, say), wouldn't that be simpler?
Well, you also try:
image = /kernelImage?
root = /dev/hda1 or /dev/sda1
label = kernelImage?
Insert one such set in /etc/lilo.conf for each configuration.
(I think that might work if you have so many "root" directories on
different partitions and disks)
: I want to configure lilo so that I can choose from several Linux
: kernel images at boot time. The catch is that the images aren't all
: in the same partition (nor on the same disk). I've read all the LILO
: documentation that I can find, and I still can't figure out how.
: As far as I can see, all image path names are relative to the same
: root directory (which you can set to be anything).
: What I want to do is to be able to choose from, let's say, 4 kernels:
: hda1 (hda contains lilo boot record)
: /kernelImage1
: /kernelImage2
: sda1
: /kernelImage3
: /kernelImage4
: Do I have to install lilo on sda, and then have an entry in the lilo
: configuration on hda that boots lilo from sda? So, on initial boot
: my choices would be:
: kernelImage1
: kernelImage2
: boot from MBR on sda
: then (if the latter is chosen) I can choose
: kernelImage3
: kernelImage4
: Actually I should just get rid of the IDE drive -- it sometimes makes
: a very loud rumbling which the previous owner called "the cement mixer
: noise." Probably not a good sign, eh?
: --
: Grant Edwards |Yow! Go on, EMOTE! I was
: Rosemount Inc. |RAISED on thought balloons!!
: |
--
~\\|//~
-(o o)-
+---------------------------oOOOo--(_)--oOOOo----------------------------+
|System Manager, Tel. ext. : 2903 (886-02-363-0231) |
|Department of Mathematics, Office : New Math. Bldg., Rm. # 402.|
|National Taiwan University. Time avail.: 12:30 to 17:30. |
+------------------------------------------------------------------------+
U U