Lilo.confForum: HD Install Topic: Lilo.conf started by: cyberoidx Posted by cyberoidx on Jan. 21 2006,06:52
For some reason, no bootleader is installed when i do the HD-install (done it 3 times)For some other reason, KNoppix and DSL dont support the "root=" cheatcode at boot. So i have a DSL install on Hdd2 but no way to boot it up. I got myself a slackware cd, and finally booted into dsl using the "root=/dev/hdd2" cheatcode, but it did not detect my USB mouse, so i could not use X, but i managed to open lilo.conf and try to wrtie lilo. I have windows on hda1 it had boot=/dev/hda and then the linux image=/boot/vmlinuz (i think) and more stuff. Can you please help me write a proper lilo.conf, as the actualy /boot and kernel image is on /dev/hdd2 and not on hda .. Summary. I need a lilo.conf for my linux, i have windows 98 on hda1, and linux "root" on hdd2 and the rest (boot / etc / usr /tmp) all inside it..... Posted by Randux on Feb. 12 2006,20:36
This is a standard lilo.conf which you can use to boot windows and linux. You can add as many entries as you need. I took out a lot of the fancy stuff- this is the minimum you need to get it to work.You wrote that your DSL is on hdd2 but I think you meant hda2? The sample I wrote for you is based on you having ONE hard drive (hda) and that you installed Windows first, in hda1, and then dsl in hda2. If these assumptions are wrong, then so is the config example. This will update the MBR on hda. If you really have another harddrive for DSL I'm not sure what to do about it. If so, see if you can find a liloconfig script. If you can, you can select expert mode and try to let him build what you need. See the thread at < http://www.linuxquestions.org/questio....=randux > for some more (maybe too much more info) including how to execute lilo in test mode and to actually do the update. READ THAT THREAD UNTIL MY LAST REPLY BEFORE DOING ANYTHING!!! # Start LILO global section boot = /dev/hda prompt # Normal VGA console vga = normal # End LILO global section # Linux bootable partition config begins image = /boot/vmlinuz root = /dev/hda2 label = yourLinuxName read-only # Linux bootable partition config ends # Windows bootable partition config begins other = /dev/hda1 label = yourwindowsname table = /dev/hda # Windows bootable partition config ends |