Bug#384967: initramfs-tools fails to upgrade if lilo is not installed
Package: initramfs-tools
Version: 0.76
Severity: important
Hi all,
I've seen lots of discussion already on the initramfs/lilo dependency when
people are using grub, but I didn't see any report of my issue.
I'm using grub only (lilo is not installed) on my machine and during the last
2 upgrades of initramfs-tools I received the following error message :
update-initramfs: Generating /boot/initrd.img-2.6.17-2-k7
/usr/sbin/update-initramfs: line 88: lilo: command not found
I resolved the issue with a simple
touch /usr/sbin/lilo
chmod +x /usr/sbin/lilo
But I wondered what would have happened if lilo WAS installed. As I'm using grub
it would certainly have broken my boot...
If I remember correctly the issue started with 0.75 (at least I remember only
having to use the above workaround only twice).
Let me know if you need more info, I'll be glad to help.
Cheers
Anthony
-- Package-specific info:
-- /proc/cmdline
root=/dev/hda1 ro vga=791
-- /proc/filesystems
cramfs
reiserfs
vfat
iso9660
-- lsmod
Module Size Used by
isofs 33020 1
nvidia 3929132 12
vmnet 28460 9
vmmon 167180 0
binfmt_misc 11272 1
ipx 26340 0
p8023 2432 1 ipx
xt_limit 3008 8
xt_tcpudp 3392 21
iptable_mangle 3136 0
ipt_LOG 6400 8
ipt_MASQUERADE 3968 0
ip_nat 17132 1 ipt_MASQUERADE
ipt_TOS 2560 0
ipt_REJECT 5440 1
ip_conntrack_irc 7024 0
ip_conntrack_ftp 7920 0
xt_state 2496 6
ip_conntrack 48672 5 ipt_MASQUERADE,ip_nat,ip_conntrack_irc,ip_conntrack_ftp,xt_state
nfnetlink 6936 2 ip_nat,ip_conntrack
iptable_filter 3328 1
ip_tables 13348 2 iptable_mangle,iptable_filter
x_tables 13572 8 xt_limit,xt_tcpudp,ipt_LOG,ipt_MASQUERADE,ipt_TOS,ipt_REJECT,xt_state,ip_tables
ppdev 8772 0
lp 11108 0
ipv6 224416 12
wlan_wep 6848 1
nls_iso8859_1 4480 2
nls_cp437 6144 1
vfat 12288 1
fat 47196 1 vfat
dm_snapshot 15968 0
dm_mirror 19152 0
dm_mod 50456 2 dm_snapshot,dm_mirror
w83781d 29480 0
hwmon_vid 2880 1 w83781d
i2c_isa 5184 1 w83781d
ide_generic 1664 0 [permanent]
snd_emu10k1_synth 7232 0
snd_emux_synth 30848 1 snd_emu10k1_synth
snd_seq_virmidi 7168 1 snd_emux_synth
snd_seq_midi_emul 6208 1 snd_emux_synth
snd_seq_dummy 4100 0
snd_seq_oss 28928 0
snd_seq_midi 8416 0
snd_seq_midi_event 7424 3 snd_seq_virmidi,snd_seq_oss,snd_seq_midi
snd_seq 46736 9 snd_emux_synth,snd_seq_virmidi,snd_seq_midi_emul,snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
shpchp 34528 0
snd_emu10k1 101668 4 snd_emu10k1_synth
tsdev 7680 0
mousedev 11108 1
snd_rawmidi 23200 3 snd_seq_virmidi,snd_seq_midi,snd_emu10k1
snd_ac97_codec 82976 1 snd_emu10k1
snd_ac97_bus 2624 1 snd_ac97_codec
pci_hotplug 27516 1 shpchp
evdev 9344 2
snd_pcm_oss 36768 1
snd_mixer_oss 16192 1 snd_pcm_oss
snd_pcm 74948 4 snd_emu10k1,snd_ac97_codec,snd_pcm_oss
snd_seq_device 8012 8 snd_emu10k1_synth,snd_emux_synth,snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq,snd_emu10k1,snd_rawmidi
snd_timer 21124 3 snd_seq,snd_emu10k1,snd_pcm
snd_page_alloc 9800 2 snd_emu10k1,snd_pcm
snd_util_mem 4864 2 snd_emux_synth,snd_emu10k1
snd_hwdep 8964 2 snd_emux_synth,snd_emu10k1
wlan_scan_sta 12480 1
ath_pci 81888 0
ath_rate_sample 13376 1 ath_pci
wlan 169628 5 wlan_wep,wlan_scan_sta,ath_pci,ath_rate_sample
ath_hal 191824 3 ath_pci,ath_rate_sample
ali_agp 6912 1
agpgart 30152 2 nvidia,ali_agp
eth1394 18564 0
snd 48548 16 snd_emux_synth,snd_seq_virmidi,snd_seq_oss,snd_seq,snd_emu10k1,snd_rawmidi,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_device,snd_timer,snd_hwdep
i2c_ali1535 6852 0
i2c_ali15x3 7556 0
parport_pc 32612 1
parport 33544 3 ppdev,lp,parport_pc
soundcore 9440 2 snd
i2c_core 19904 4 w83781d,i2c_isa,i2c_ali1535,i2c_ali15x3
pwc 45948 0
emu10k1_gp 4096 0
8250_pnp 8960 0
compat_ioctl32 1728 1 pwc
gameport 14600 2 emu10k1_gp
pcspkr 3328 0
psmouse 34888 0
serio_raw 6852 0
videodev 9216 1 pwc
rtc 12724 0
floppy 54788 0
reiserfs 214208 3
usbhid 36064 0
ide_cd 36128 1
cdrom 32864 1 ide_cd
ide_disk 15360 7
ohci1394 30960 0
ieee1394 88056 2 eth1394,ohci1394
ehci_hcd 28424 0
ohci_hcd 18500 0
alim15x3 11276 0 [permanent]
generic 4676 0 [permanent]
ide_core 111432 5 ide_generic,ide_cd,ide_disk,alim15x3,generic
usbcore 112384 5 pwc,usbhid,ehci_hcd,ohci_hcd
ne2k_pci 10784 0
8390 9600 1 ne2k_pci
thermal 13128 0
processor 25800 1 thermal
fan 4804 0
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (800, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-k7
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Versions of packages initramfs-tools depends on:
ii busybox 1:1.1.3-3 Tiny utilities for small and embed
ii cpio 2.6-17 GNU cpio -- a program to manage ar
ii klibc-utils 1.4.19-2 small statically-linked utilities
ii module-init-tools 3.2.2-3 tools for managing Linux kernel mo
ii udev 0.098-2 /dev/ and hotplug management daemo
initramfs-tools recommends no packages.
-- no debconf information
Reply to: