Bug 23056 - single-key in lilo.conf confuses lilo install
Summary: single-key in lilo.conf confuses lilo install
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: installer
Version: 7.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Brock Organ
QA Contact: Brock Organ
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-12-31 09:10 UTC by fred-m
Modified: 2007-04-18 16:30 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2001-01-08 17:26:47 UTC
Embargoed:


Attachments (Terms of Use)

Description fred-m 2000-12-31 09:10:53 UTC
My lilo.conf had the following setup for Linux:
  label=new
  alias=l
  single-key
When I upgraded to Red Hat 7.0, I chose the default configuration
given by the installer ("dos" and "linux"). However "linux" clashed
with "alias=l", lilo didn't write the boot sector, and for short
the computer didn't boot after the update. Deleting the single-key
setup and re-running lilo from the CD-ROM in recovery mode solved
the problem.
     (If I was upgrading in "expert" mode I would even say that this
was my fault, but in non-expert mode it would be nice if this and
other lilo errors were caught).

Comment 1 Michael Fulbright 2001-01-03 23:21:19 UTC
Assigning to a developer.

Comment 2 Erik Troan 2001-01-08 17:26:43 UTC
Fixed in CVS

Comment 3 Brock Organ 2001-01-12 17:34:03 UTC
using qa0110.0 internal test tree, verified system w/alias (as above) is now
bootable:

old lilo.conf:

boot=/dev/hda                                                                   
map=/boot/map                                                                   
install=/boot/boot.b                                                            
prompt                                                                          
timeout=50                                                                      
message=/boot/message                                                           
linear                                                                          
default=foobar                                                                                                                                                   
image=/boot/vmlinuz-2.2.16-22                                                    	
label=foobar                                                             	
read-only                                                                	
root=/dev/hda1                                                                                                                                            
image=/boot/vmlinuz-2.2.16-22                                                    	
label=new                                                                	
alias=l                                                                  	
single-key                                                               	
read-only                                                                	
root=/dev/hda1              

post upgrade lilo.conf:

boot=/dev/hda                                                                   
map=/boot/map                                                                   
install=/boot/boot.b                                                            
prompt                                                                          
timeout=50                                                                      
message=/boot/message                                                           
linear                                                                          
default=linux                                                                                                                                                    
image=/boot/vmlinuz-2.4.0-0.43.12                                                	
label=linux                                                              	
initrd=/boot/initrd-2.4.0-0.43.12.img                                    	
read-only                                                                	
root=/dev/hda1

Note that there is NO alias info in the upgraded lilo.conf, but the system is
bootable and the old version IS saved as /etc/lilo.conf.rpmsave ... so the next
release of Red Hat Linux will handle this condition better ... thanks for your
report!


Note You need to log in before you can comment on or make changes to this bug.