PDA

View Full Version : What`s wrong with Lilo?



diginik
04-05-2004, 12:48 AM
Hello everyone!

I`ve got a problem with lilo.
I`ve installed Knoppix v.3.3,and agreed to install lilo.
When I tried to boot lilo doesn`t even start(I think).
My PC just boots WinXP as earlier.:?:
Here is a copy of my lilo.conf .
I didn`t change anything.



boot=/dev/hda
vga=791
prompt
timeout=50
append = "hda=scsi hdb=scsi hdc=scsi hdd=scsi hde=scsi hdf=scsi hdg=scsi hdh=scsi apm=power-off nomce"

image=/boot/vmlinuz-2.4.24-xfs
label=knoppix
root=/dev/hdb7
read-only
initrd=/boot/initrd.gz

## A Windows installation, example for partition 1 on first IDE harddisk
# other=/dev/hda1
# label=dos
# optional
# table=/dev/hda

P.s:Sorry if it`s a stupid question. I`m a newbie. :)

bob58
04-07-2004, 07:04 PM
Hi....you have to make a reference in lilo.conf to show that there is another OS to choose from. First, do you have one hard drive with windows & linux on it? Or do you have 2 separate harddrives with Windows on one and Linux on the other? Below is a copy of your lilo.conf. At the 3rd paragraph, where it says "other", thats where you put "WinXP" or whatever other OS you are running. Then you need to make a reference to what Hard Drive it is on.....I have a separate hard drive for WinXP and Linux. I am not sure what you would do for a single HDD installation. First you must say what your setup is, one HDD or 2. Then look in the Hdd Install forum and you will more than likely find what to put in your lilo.conf.



boot=/dev/hda
vga=791
prompt
timeout=50
append = "hda=scsi hdb=scsi hdc=scsi hdd=scsi hde=scsi hdf=scsi hdg=scsi hdh=scsi apm=power-off nomce"

image=/boot/vmlinuz-2.4.24-xfs
label=knoppix
root=/dev/hdb7
read-only
initrd=/boot/initrd.gz

## A Windows installation, example for partition 1 on first IDE harddisk
# other=/dev/hda1
# label=dos
# optional
# table=/dev/hda

rickenbacherus
04-07-2004, 11:58 PM
Hello everyone!

I`ve got a problem with lilo.
I`ve installed Knoppix v.3.3,and agreed to install lilo.
When I tried to boot lilo doesn`t even start(I think).
My PC just boots WinXP as earlier.:?:
Here is a copy of my lilo.conf .
I didn`t change anything.



boot=/dev/hda
vga=791
prompt
timeout=50
append = "hda=scsi hdb=scsi hdc=scsi hdd=scsi hde=scsi hdf=scsi hdg=scsi hdh=scsi apm=power-off nomce"

image=/boot/vmlinuz-2.4.24-xfs
label=knoppix
root=/dev/hdb7
read-only
initrd=/boot/initrd.gz

## A Windows installation, example for partition 1 on first IDE harddisk
# other=/dev/hda1
# label=dos
# optional
# table=/dev/hda

P.s:Sorry if it`s a stupid question. I`m a newbie. :)

You need to reinstall lilo. Boot Knoppix cd and mount the partition you installed knoppix to like so:

mount /dev/hdb7 /mnt/hdb7
chroot /mnt/hdb7
lilo
CTRL+D (to leave chroot)

If it errors then you have a problem w/ /etc/lilo.conf. BTW- DO NOT use the desktop icons to mount your /root partition.