Announcement

Collapse
No announcement yet.

Kubuntu LiveUSB update-initramfs problem

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    Re: Kubuntu LiveUSB update-initramfs problem

    Hello,

    I had the same problem, and this thread helped me solve it. I have Ubuntu 8.10 Live installed on a USB drive. To clarify for future users, here is the error message and the exact steps I took to solve the problem:

    Error during system update (also during install of scipy/matplotlib):
    ===============
    Setting up linux-image-2.6.27-7-generic (2.6.27-7.16) ...

    Running depmod.
    update-initramfs is disabled since running on a live CD
    Failed to symbolic-link /boot/initrd.img-2.6.27-7-generic to initrd.img.
    dpkg: error processing linux-image-2.6.27-7-generic (--configure):
    subprocess post-installation script returned error exit status 17
    Errors were encountered while processing:
    linux-image-2.6.27-7-generic
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    ===============


    Solution:
    ===============
    sudo su
    cd /
    mv /usr/sbin/update-initramfs /usr/sbin/update-initramfs.bak
    ln -s /rofs/usr/sbin/update-initramfs /usr/sbin/update-initramfs
    mv initrd.img initrd.img.bak
    ln -s /boot/initrd.img-2.6.27-7-generic initrd.img
    apt-get upgrade
    ===============

    Dan

    Comment


      #17
      Re: Kubuntu LiveUSB update-initramfs problem

      Thanks, Dan, for your report on this. It's an important topic.
      Now, did that fully do the trick? all packages updated ok? what about any new kernel upgrades?
      and everything fits into place and works *after* a reboot or two?

      btw, you installed Kubuntu to the flash drive using usb-creator, right?


      Welcome to the forum, too!
      An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

      Comment

      Working...
      X