Bug 107550 - lilo /boot/message doesn't exist
Summary: lilo /boot/message doesn't exist
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: anaconda
Version: 8.0
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Michael Fulbright
QA Contact: Mike McLean
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-10-20 15:03 UTC by Javier Ballesteros
Modified: 2007-04-18 16:58 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-10-20 15:19:48 UTC
Embargoed:


Attachments (Terms of Use)

Description Javier Ballesteros 2003-10-20 15:03:27 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4b) Gecko/20030516
Mozilla Firebird/0.6

Description of problem:
When the instalation process is started via ks=floppy, and a ks.cfg using lilo
to install on the mbr, all seems good, but at the final step when lilo is run
the console log shows an error:

Fatal error: open /boot/message: No such file or directory

That's is rigth, because in the directory /boot of the system installed there is
no message file, so I think there's an error in the lilo.conf, because has a
reference on a file that not exists, I mean the line:

message=/boot/message

You have to kill the message line from de lilo.conf.The 'dirty' solution, is to
put something like that in the %post section of the ks.cfg:

%post

mv /etc/lilo.conf /tmp
cat /tmp/lilo.cong | grep -v message > /etc/lilo.conf
/sbin/lilo -v -v -v


With that lines the the lilo is executed in the instalation process, then
reboots and all it's O.K.  The mbr is finally written.

Another solution is reboot with the Red Hat CD in rescue mode, mount the
partitions and do a chroot over your root partition, edit lilo.conf, delete
message line, run lilo and then reboot. This is harder solution, but it's OK if
you have finished your intalation process and your system is not booting.
 

 

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Install normally
2. Run the ks=floppy
3. When you reboot, mbr is 'untouched' (lilo is not run)
    

Actual Results:  You cannot boot, because when lilo througth the error , it's no
executed (so the mbr is clean)

Additional info:

ks.c


#Generated by Kickstart Configurator

#System language
lang es_ES

#Language modules to install
langsupport es_ES

#System keyboard
keyboard es

#System mouse
mouse --emulthree genericps/2

#System timezone
timezone --utc Europe/Madrid

#Root password
rootpw --iscrypted $1$DbYZDtL.$ZoDZLb5l1lYEOwHCXxUpj/

#Modo texto
text

#Reboot after installation
reboot
#autostep

#Install Red Hat Linux instead of upgrade
install

#Use CDROM installation media
cdrom

#Clear the Master Boot Record
zerombr yes

#Clear all partitions from the disk
clearpart --all --initlabel 

#Disk partitioning information
part / --fstype ext3 --size 3000 --asprimary --ondisk sda
part swap --size 1000 --ondisk sda
part /var --fstype ext3 --size 1 --grow --ondisk sda
part /datos --fstype ext3 --size 1 --grow --ondisk sdb

#System bootloader configuration
bootloader --useLilo --linear --location=mbr

#Use static networking
network --device eth0 --bootproto static  --ip 10.1.74.136  --netmask
255.255.255.224  --gateway 10.1.74.23 --hostname javi.prueba.es


#System authorization information
auth  --useshadow  --enablemd5

#Firewall configuration
firewall --disabled 

#Do not configure the X Window System
skipx

%packages --resolvedeps
@Base
@Spanish Support
strace
nmap
postfix
strace
-acl
-aspell
-aspell-es
-authconfig
-autofs
-apmd
-audiofile
-bind-utils
-cyrus-sasl
-cyrus-sasl-md5
-cyrus-sasl-plain
-dhclient
-dump
-ed
-esound
-expat
-fbset
-finger
-fontconfig
-freetype
-ftp
-gnome-libs
-gmp
-gnupg
-gpm
-groff
-gtk+
-hdparm
-grub
-hotplug
-htmlview
-hwdata
-imlib
-iproute
-iptables
-irda-utils
-isdn4k-utils
-kernel-pcmcia-cs
-krb5-libs
-krbafs
-lokkit
-lrzsz
-lftp
-lha
-libjpeg
-libpng10
-libpng
-libtiff
-libungif
-libwvstreams
-mouseconfig
-minicom
-mtr
-net-snmp
-net-snmp-utils
-newt
-nfs-utils
-ntsysv
-nscd
-nss_ldap
-openldap
-ORBit
-pam_krb5
-pam_smb
-parted
-pinfo
-pspell
-pyOpenSSL
-python
-python-optik
-popt
-ppp
-procmail
-rdist
-rsync
-redhat-logos
-redhat-menus
-reiserfs-utils
-rhnlib
-rhpl
-rpm-python
-rsh
-quota
-ypbind
-yp-tools
-XFree86-libs
-XFree86-Mesa-libGL
-wvdial
-wireless-tools
-wget
-usbutils
-up2date
-talk
-setuptool
-stunnel
-statserial
-setserial
-sendmail
-rp-pppoe
-raidtools
-slocate
-tcpdump
-telnet
-utempter


%post

mv /etc/lilo.conf /tmp
cat /tmp/lilo.conf | grep -v message > /etc/lilo.conf
/sbin/lilo -v -v -v

Comment 1 Jeremy Katz 2003-10-20 15:19:48 UTC
/boot/message is in redhat-logos, if you're using lilo, you should really
install the package.  Newer anaconda tries to be smarter and keep this from
causing a problem if it doesn't exist, though.


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