What you need to do is change lilo.conf, and then just run lilo as root
(under my distro there is also a prog liloconfig, but I havn't tried it
and I don't know if its standard, sims from the opening lines that it sets
up lilo to boot from hardisk)
Here is a sample of my lilo.conf, you'll need to change the disk lines to
point to your partition setup:
boot=/dev/hda1
root=/dev/hda1
install=/boot/boot.b
map=/boot/map
vga=normal
delay=20
compact
single-key
other=/dev/hda3
label=ms-dos
alias=d
image=/vmlinuz
label=Linux
alias=u
read-only
This boots my system into dos by default (its a 486 :( ).
the alias, and single key lines enable running the option with one key (no
enter).
If I remeber corectly It starts by default the first option.
Also, if memory serves me, you'll need to set the boot line to the
partiotion you want to boot from, and the root line to the root partion.
Hope this helps (I think lilo also has a man page BTW ).
On Sun, 31 Oct 1999, Alon Kadury wrote:
> hi
> i have a redhat 5.2 linux on my pc, along with win95
> when i installed my linux i didn't install lilo on the MBR but used to
> option to boot from disk.
> now i want to put lilo on the MBR (with windows as default)
> i thought about a few ways:
> 1. edit the lilo.conf file.
> this is the file now:
> boot =
> timeout = 500
> prompt
> vga=normal
> read-only
> however i'm not sure if this will do the trick, and do i need to execute
> the file somehow?
> i'm also not 100% sure about what lines to add to the file.
> 2. run linux lilo installation like the one when i install linux.
> its windows style, and simple to use,
> but how do i run it?
> 3. do upgrade to the linux (using the same cd i used to install the linux).
> the only catch here is that i don't want all my configuration (x-server,
> network setting...) to be deleted.
> does the upgrade over-right the current configuration?
>
> i'd love to here any idea or help.
> Alon Kadury
> [EMAIL PROTECTED]
>
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com
>
> =================================================================
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]
>
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]