LILO repair

Bill Warner wwarner@direct-alliance.com
31 Aug 2000 02:41:05 +0700


Well, go ahead and boot with your boot floppy and check
the /etc/lilo.conf file.  you can run man lilo.conf to find
out more about that file.  once you have it setup right then
run the command lilo and it will write the needed information

#man lilo.conf
#vi /etc/lilo.conf
#lilo
#reboot

here is a sample of my lilo.conf file

wwarner@wwarner:~$ cat /etc/lilo.conf
cat: /etc/lilo.conf: Permission denied

boot=/dev/hda
root=/dev/hda2
install=/boot/boot.b
map=/boot/map
message=/boot/bootmess.txt
prompt
single-key
delay=100
timeout=100
vga=normal
default=Linux

image=/vmlinuz.current
	label=Linux
	read-only
	alias=1

image=/vmlinuz.old
	label=LinuxOLD
	read-only
	optional
	alias=2

image=/vmlinuz
	label=LinuxDEV
	read-only
	optional
	alias=3


 other=/dev/hda1
	label=dos
	table=/dev/hda
	alias=4

> I recently uptraded from RH 6.0 to RH 6.1 during the last step of the
> upgrade process I was asked something to the effect "Do you want to write
> the changes to your boot sector" or something like that....  I inadvertently
> chose not too.
> 
> Well, now I can only boot from a floppy.  It is as if part of the code for
> booting from the HD did not get written to the boot sector when I did the
> upgrade.  When I try and boot from the HD the system goes part of the way
> through the boot process and hangs.
> 
> How do I repair this problem?
> 
> 
> Thanks,
> 
> Lynn P. Tilby (Lead Programmer/Analyst)
> National Data Corporation / Health Information Services
> Data Warehousing Solutions
> Office: 602 381-9629
> Pager:  602 205-1692
> Cell:   480 510-4392
> Home O: 480 632-8635
> Home:   480 632-8633
> ltilby@simatics.com (work)
> lynn@sol.createv.com (personal)
> 
> 
> 
> ________________________________________________
> See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't post to the list quickly and you use Netscape to write mail.
> 
> Plug-discuss mailing list  -  Plug-discuss@lists.PLUG.phoenix.az.us
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>