Re: lilo

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Craig White wrote:
> On Thu, 2007-09-27 at 14:58 -0500, Mikkel L. Ellertson wrote:
>> Craig White wrote:
>>> I have some Dell 320's and never was able to make grub boot these
>>> things. Based upon other information I found on bugzilla, I ended up
>>> simply installing lilo and they boot fine - no problem.
>>>
>>> whenever I update (i.e. yum update), and a new kernel is installed, it
>>> fails to execute the grub update (mumbles something on screen) but never
>>> executes a lilo update which of course is an issue. It does however
>>> change /etc/lilo.conf to reflect the newly installed kernel.
>>>
>>> Is there some configuration change I can make so that when yum/rpm
>>> installs a new kernel that lilo is actually executed so that the boot
>>> blocks are changed.
>> You may want to take a look at the grubby man page. It is the
>> program that does the update. From a brief look, it looks like you
>> may be able to modify the grub.conf file to have grubby update lilo.
>> But it isn't clear if this just affects the config file, or if
>> grubby will really run lilo.
> ----
> evidently the light bulb just isn't going off at all. grubby simply
> seems to be the program that would be used by postinstall scripts and as
> a command line, it's dense and inpenetrable except for single argument
> install of specific kernel. 
> 
> [root@dell-320-5 ~]# grubby --lilo --set-default=/boot
> --info=/etc/lilo.conf
> grubby: kernel not found
> 
> [root@dell-320-5 ~]# grubby --lilo --info=/etc/lilo.conf
> grubby: kernel not found
> 
> [root@dell-320-5 ~]# grubby --bootloader-probe
> --config-file /etc/lilo.conf
> grubby: cannot specify config file with --bootloader-probe
> 
> [root@dell-320-5 ~]# grubby --bootloader-probe
> grubby: unable to open /boot/boot.b: No such file or directory
> 
> [root@dell-320-5 ~]# grubby --bootloader-probe --lilo
> grubby: unable to open /boot/boot.b: No such file or directory
> 
> [root@dell-320-5 ~]# grubby --lilo --config-file /etc/lilo.conf
> grubby: no action specified
> 
I took a good look at the install script in the kernel RPM. You may
want to take a look at /sbin/new-kernel-pkg and how it calls grubby.
The section that is supposed to deside if lilo is run is:

# if we have a lilo config on an x86 box, see if the default boot loader
# is lilo to determine if it should be run
if [ -n "$cfgLilo" -a -n "$isx86" ]; then
    runLilo=$($grubby --bootloader-probe | grep lilo)
fi

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux