LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Lilo (https://www.linuxquestions.org/questions/linux-newbie-8/lilo-62040/)

tailine 05-27-2003 03:42 AM

Lilo
 
I have installed slakware 8 on my laptop and after the install I received errors with LILO trying to install itself on the master boot record or the on the hda1. The system will not boot unless I boot it with the LILO boot disk.
How can I resolve this in order for the machine to boot itself.

acid_kewpie 05-27-2003 03:55 AM

how about telling us what the errors were.....

tailine 05-27-2003 11:28 AM

Hello

the error i am getting is:
the error i am getting is
LILO INSTALL ERROR # 1
Sorry but the attempt to install LILO has returned an error, so LILO has not been correctly installed. You will have to use a boot disk to start your machine insted. It should be possible to get LILO working by editing the /etc/lilo.conf file and reinstalling LILO mannually.
After checking the LILO config file i typed LILO on the propmt and the error i get is Table may not be specified near line 40 in file /etc/lilo.conf

tailine 05-27-2003 11:31 AM

Line 40 on the LILO conf is image = /vmlinuz (which i think is the kernal, do i have the incorrect kernal on the machine?

tailine 05-27-2003 11:47 AM

Sorry or line 40 may also be table =/dev/hda

manthram 05-27-2003 11:50 AM

post the whole content of your lilo.conf file and the partition setup of your computer

tailine 05-27-2003 12:04 PM

# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
lba32 # Allow booting past 1024th cylinder with a recent BIOS
boot = /dev/hda
message = /boot/boot_message.txt
prompt
timeout = 1200
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# Normal VGA console
vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# End LILO global section
# DOS bootable partition config begins
other = /dev/hda5
label = DOS
table = /dev/hda
# DOS bootable partition config ends
# Linux bootable partition config begins
image = /vmlinuz
root = /dev/hda1
label = Linux
read-only
# Linux bootable partition config ends

tailine 05-27-2003 12:12 PM

Partition set up is

1st partition
name = hda1, flags = Boot, Part Type = Primary, FS Type = Linux ext2, Label = , size (MB) = 3487.

2nd partition
name = hda5, flags = , Part Type = Logical, FS Type = win95 FAT32, Label = , size (MB) = 732.05.

3rd partition
name = hda6, flags = , Part Type = Logical, FS Type = Linux swap, Label = , size (MB) = 106.93

manthram 05-27-2003 12:16 PM

# Linux bootable partition config begins
image = /vmlinuz
root = /dev/hda1
label = Linux
read-only


i think the second line here should be

image = /boot/vmlinuz

other that that everything looks fine. change the line and run 'lilo' and see

tailine 05-28-2003 10:57 AM

Thanks for the help it is sorted now. I wiped the partitions and installed slakware 9 with only two partitions lunix and swap, after this LILO installed without any fuss.


All times are GMT -5. The time now is 09:07 PM.