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

Bug#402386: initramfs-tools: Still confused when initrd doesn't exist



Package: initramfs-tools
Version: 0.85b
Severity: minor

I just tried

update-initramfs -k 2.6.18 -u

when I didn't have an initrd, and got the error:

/boot/initrd.img-2.6.18 has been altered.  Cannot update.

It should instead tell me that the file was missing. Changing -u to -c
made it create the initrd as normal.

-- Package-specific info:
-- /proc/cmdline
root=/dev/hda2 ro 

-- /proc/filesystems
	reiserfs
	ext3
	ext2
	vfat

-- lsmod
Module                  Size  Used by
nfs                   191948  0 
lockd                  53256  1 nfs
sunrpc                138108  2 nfs,lockd
nls_iso8859_1           4032  0 
nls_cp437               5696  0 
vfat                   11904  0 
fat                    46236  1 vfat
rlocate                12260  0 
i915                   16064  2 
vmnet                  27244  13 
parport_pc             31396  0 
parport                35080  1 parport_pc
vmmon                 165260  0 
binfmt_misc            10824  1 
speedstep_centrino      8656  0 
freq_table              4932  1 speedstep_centrino
button                  8656  0 
ac                      6596  0 
battery                12612  0 
af_packet              19720  2 
fuse                   35208  0 
rtc                    12596  0 
asus_acpi              11028  0 
pcmcia                 25288  0 
ipw2100                63856  0 
snd_intel8x0m          15948  5 
sg                     28060  0 
snd_intel8x0           30236  1 
snd_ac97_codec         83104  2 snd_intel8x0m,snd_intel8x0
snd_ac97_bus            2176  1 snd_ac97_codec
snd_pcm_oss            36128  0 
snd_mixer_oss          16128  2 snd_pcm_oss
ieee80211              29640  1 ipw2100
ieee80211_crypt         6144  1 ieee80211
pl2303                 17860  0 
usbserial              26208  1 pl2303
snd_pcm                75592  6 snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_timer              21444  1 snd_pcm
snd                    48484  15 snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
sr_mod                 14372  0 
cdrom                  32544  1 sr_mod
evdev                   8832  1 
usblp                  12352  0 
firmware_class          9984  1 ipw2100
yenta_socket           23692  1 
rsrc_nonstatic         10368  1 yenta_socket
pcmcia_core            36880  3 pcmcia,yenta_socket,rsrc_nonstatic
soundcore               9632  2 snd
snd_page_alloc          9416  3 snd_intel8x0m,snd_intel8x0,snd_pcm
psmouse                34696  0 
usb_storage            32388  0 
uhci_hcd               20424  0 
ehci_hcd               28296  0 
usbcore               111232  7 pl2303,usbserial,usblp,usb_storage,uhci_hcd,ehci_hcd
ohci1394               30512  0 
ieee1394               85236  1 ohci1394
e100                   31364  0 
thermal                19592  0 
processor              34816  2 speedstep_centrino,thermal
fan                     5956  0 
unix                   25584  265 

-- kernel-img.conf
# Do not create symbolic links in /
do_symlinks = yes
relative_links = yes
do_bootloader = no
do_bootfloppy = no
do_initrd = yes
link_in_boot = no
postinst_hook = /sbin/update-grub
postrm_hook   = /sbin/update-grub


-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.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.30-1   small statically-linked utilities 
ii  module-init-tools             3.3-pre3-1 tools for managing Linux kernel mo
ii  udev                          0.103-1    /dev/ and hotplug management daemo

initramfs-tools recommends no packages.

-- no debconf information



Reply to: