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

Re: LILO/Boot floppies



On Sun, 03 Sep 2000, Rubbish5@aol.com wrote:
> I upgraded my Debian system today, so the kernel is the newest Debian's got 
> up, but since I'm booting off a floppy right now, I'm still loading the old 
> kernel.  I'm still a little stuck on getting LILO working.  I'm dual-booting 
> Linux and Windows, and I chose Windows as default from hard disk.  Someone 
> told me to edit LILO's config file and change "default" from win to linux.  
> However, there is no default option so I can't do that.  My basic question(s) 
> are: 1. How do I configure LILO so that, without a floppy or cd, I have the 
> option on boot to choose which OS I want to load 2. how do I create a new 
> Linux boot disk so that I can boot from disk with the new kernel?  Thanks 
> much, bye!

Below is my /etc/lilo.conf generated by redhat.  It will look a little
different than yours but will give you a template to work with.  To
change the default OS loaded automatically give "default=" the label
you wish.  In order to boot your new kernel create a section like the
one that already exists for your current kernel and change "image=" to
point to your new kernel.  Also change the "label=" section for your
new kernel.   Run /sbin/lilo to activate the changes.  When you reboot
hit <tab> when you see lilo starting, and you will be given a list of
boot choices.  Type in the one you want and go:)
hth,
kent

boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
default=debian

image=/boot/vmlinuz-2.2.14-5.0
	label=redhat
	read-only
	root=/dev/hda2

image=/mnt/deb/boot/vmlinuz-2.2.17
        label=debian
        read-only
        root=/dev/hda12

other=/dev/hda1
	label=windows98



Reply to: