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

Bug#395069: initramfs-tools: post-installation fails when lilo and grub are both around and grub is configured as bootloader



Package: initramfs-tools
Followup-For: Bug #395069


update-initramfs exits with code 1 during the update (-u) switch.
this causes failures installing every package that runs it in its
scripts (udev, linux-image-*, initramfs-tools...).

the error code is returned while executing run_bootloader().

my configuration has lilo and grub installed. so configuration files for
both bootloaders are in place. the system was installed with lilo and
then i switched to grub.

i've not deeply debbugged the script but it seems that the error is
caused wither by run_lilo or mbr_check. i did not saw any message from
lilo so probably the incriminated function is the latter.

after saying all these things the workaround is to remove lilo.

the real problem is that no information is given by the script, so it
can be difficult to track down what is causing the error.

HTH
ciao


-- Package-specific info:
-- /proc/cmdline
root=/dev/md2

-- /proc/filesystems
	cramfs
	ext3

-- lsmod
Module                  Size  Used by
ppdev                   8228  0 
lp                     10432  0 
ipv6                  217760  51 
nls_iso8859_1           3936  3 
cifs                  181560  3 
nfs                   188140  1 
lockd                  53672  2 nfs
nfs_acl                 3264  1 nfs
sunrpc                132612  4 nfs,lockd,nfs_acl
dm_snapshot            15324  0 
dm_mirror              17236  0 
dm_mod                 47892  2 dm_snapshot,dm_mirror
i810_audio             31028  0 
ac97_codec             17004  1 i810_audio
mousedev               10368  1 
tsdev                   7200  0 
snd_intel8x0           29436  0 
snd_ac97_codec         82784  1 snd_intel8x0
snd_ac97_bus            2048  1 snd_ac97_codec
evdev                   8736  1 
snd_mpu401              7232  0 
snd_mpu401_uart         6592  1 snd_mpu401
shpchp                 39200  0 
pci_hotplug            24180  1 shpchp
snd_pcm                74408  2 snd_intel8x0,snd_ac97_codec
snd_timer              20292  1 snd_pcm
snd_rawmidi            22048  1 snd_mpu401_uart
snd_seq_device          8236  1 snd_rawmidi
snd_page_alloc          9800  2 snd_intel8x0,snd_pcm
snd                    46080  8 snd_intel8x0,snd_ac97_codec,snd_mpu401,snd_mpu401_uart,snd_pcm,snd_timer,snd_rawmidi,snd_seq_device
soundcore               8672  2 i810_audio,snd
floppy                 55628  0 
irtty_sir               7488  0 
sir_dev                16908  1 irtty_sir
irda                  160956  2 irtty_sir,sir_dev
crc_ccitt               1952  1 irda
usblp                  12096  0 
parport_pc             31472  1 
parport                31720  3 ppdev,lp,parport_pc
sis_agp                 8164  1 
agpgart                29232  1 sis_agp
serio_raw               6436  0 
psmouse                34248  0 
analog                  9792  0 
pcspkr                  2948  0 
gameport               13480  1 analog
rtc                    11252  0 
ext3                  116008  2 
jbd                    46932  1 ext3
mbcache                 7652  1 ext3
raid1                  19264  3 
md_mod                 63956  4 raid1
ide_generic             1120  0 [permanent]
ide_cd                 35328  0 
cdrom                  31888  1 ide_cd
usbhid                 32128  1 
sis5513                11980  0 [permanent]
ide_disk               14528  8 
generic                 4164  0 [permanent]
ehci_hcd               26856  0 
ohci_hcd               17252  0 
usbcore               110560  6 usblp,usbhid,ehci_hcd,ohci_hcd
sis900                 20928  0 
mii                     5056  1 sis900
hpt366                 16544  0 [permanent]
ide_core              111440  6 ide_generic,ide_cd,sis5513,ide_disk,generic,hpt366
thermal                12968  0 
processor              21696  1 thermal
fan                     4452  0 

-- kernel-img.conf
do_symlinks = yes
relative_links = yes
do_bootloader = no
do_bootfloppy = no
do_initrd = yes
link_in_boot = no


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-686
Locale: LANG=it_IT@euro, LC_CTYPE=it_IT@euro (charmap=ISO-8859-15)

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.27-1   small statically-linked utilities 
ii  module-init-tools             3.2.2-3    tools for managing Linux kernel mo
ii  udev                          0.100-2.2  /dev/ and hotplug management daemo

initramfs-tools recommends no packages.

-- no debconf information



Reply to: