Results 1 to 3 of 3

Thread: update-initramfs error

  1. #1
    Join Date
    May 2008
    Location
    /dev/null
    Beans
    216
    Distro
    Ubuntu

    Question update-initramfs error

    Hi,

    When I run:

    sudo update-initramfs -u
    and got error:

    update-initramfs: Generating /boot/initrd.img-3.3.1
    grep: /boot/config-3.3.1: No such file or directory
    WARNING: missing /lib/modules/3.3.1
    Device driver support needs thus be built-in linux image!
    WARNING: Couldn't open directory /lib/modules/3.3.1: No such file or directory
    FATAL: Could not open /lib/modules/3.3.1/modules.dep.temp for writing: No such file or directory
    FATAL: Could not load /lib/modules/3.3.1/modules.dep: No such file or directory
    FATAL: Could not load /lib/modules/3.3.1/modules.dep: No such file or directory
    FATAL: Could not load /lib/modules/3.3.1/modules.dep: No such file or directory



    This happened when I remove this kernel which I do not need it any more. Is there any way how to fix it ?

    thank you for any help,
    kind regards,
    Martin

  2. #2
    Join Date
    May 2008
    Location
    /dev/null
    Beans
    216
    Distro
    Ubuntu

    Re: update-initramfs error

    OK, I temporarily copied directory from another /lib/modules
    and copied another config file - so warnings disappeared but I would like to rid off it anyway.

    Does anybody know how to persuade update-initramfs -u to remove it permanently ?

    thank you,
    regards,
    M.

  3. #3
    Join Date
    May 2008
    Location
    /dev/null
    Beans
    216
    Distro
    Ubuntu

    Re: update-initramfs error

    solved by
    update-initramfs -d -k 3.3.1

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •