Results 1 to 7 of 7

Thread: apt-get Kernel-image problem...

  1. #1
    Member registered user
    Join Date
    Jun 2004
    Posts
    44

    apt-get Kernel-image problem...

    Trying to get a new kernel, this is my result:

    <pt-get install 'kernel-image-2.6.8-1-686' ;echo RESULT=$?
    Reading Package Lists... Done
    Building Dependency Tree... Done
    kernel-image-2.6.8-1-686 is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 566 not upgraded.
    1 not fully installed or removed.
    Need to get 0B of archives.
    After unpacking 0B of additional disk space will be used.
    Setting up kernel-image-2.6.8-1-686 (2.6.8-2) ...
    /usr/sbin/mkinitrd: line 1: mkext2fs: command not found
    Failed to create initrd image.
    dpkg: error processing kernel-image-2.6.8-1-686 (--configure):
    subprocess post-installation script returned error exit status 9
    Errors were encountered while processing:
    kernel-image-2.6.8-1-686
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    RESULT=100

    This means...?

  2. #2
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    900
    Do you have initrd-tools installed?

    dpkg -l|grep initrd-tools

  3. #3
    Member registered user
    Join Date
    Jun 2004
    Posts
    44
    Hmm, I updated it via apt-get upgrade, and it seemed to work, but now I think it has a dpkg prob?

    Setting up kernel-image-2.6.8-1-686 (2.6.8-2) ...
    /usr/sbin/mkinitrd: line 1: mkext2fs: command not found
    Failed to create initrd image.
    dpkg: error processing kernel-image-2.6.8-1-686 (--configure):
    subprocess post-installation script returned error exit status 9
    Errors were encountered while processing:
    kernel-image-2.6.8-1-686
    E: Sub-process /usr/bin/dpkg returned an error code (1)

  4. #4
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    900
    It's the same exact error you posted first. Did you install initrd-tools?

  5. #5
    Member registered user
    Join Date
    Jun 2004
    Posts
    44
    Oh, it is the same error...

    Yes, I have initrd-tools installed (according to apt-get).

  6. #6
    Junior Member
    Join Date
    Sep 2004
    Posts
    3
    Code:
    apt-get remove initrd-tools ; dpkg -P initrd-tools ; apt-get install initrd-tools
    seems to be fixing the problem. well actually i did the same with kernel image, but i think only initrd-tools makes the difference

  7. #7
    Member registered user
    Join Date
    Jul 2004
    Posts
    30
    Code:
    apt-get remove initrd-tools ; dpkg -P initrd-tools ; apt-get install initrd-tools
    Thanks much; these commands saved me much frustration in dealing with the "mkext2fs: command not found" error when apt-get'ting a new kernel. Didn't know about the dpkg -P option, or that such a thing might be handy.

Similar Threads

  1. Kernel 2.6.9 Image deb
    By llinde in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 01-16-2005, 08:55 PM
  2. apt-get kernel-image-*
    By Stealth870 in forum Hdd Install / Debian / Apt
    Replies: 3
    Last Post: 08-30-2004, 07:11 PM
  3. could not find kernel image: linux
    By aykuty in forum Customising & Remastering
    Replies: 3
    Last Post: 06-01-2004, 07:16 AM
  4. problem when make-kpkg the kernel image
    By lmsaga in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 04-27-2004, 12:47 AM
  5. kernel-image-2.6.*
    By mgsimon in forum General Support
    Replies: 4
    Last Post: 01-16-2004, 08:15 PM

Posting Permissions

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


SUPERMICRO CSE-512 AMD Opteron Processor 6128, 32GB DDR3 RAM NO HDD picture

SUPERMICRO CSE-512 AMD Opteron Processor 6128, 32GB DDR3 RAM NO HDD

$90.00



HPE ProLiant MicroServer Gen8 Intel Xeon E3-1265L 16GB ECC PCIe x16 4x1TB HDD picture

HPE ProLiant MicroServer Gen8 Intel Xeon E3-1265L 16GB ECC PCIe x16 4x1TB HDD

$249.99



HP ProLiant Xeon E3-1220L V2 MicroServer Gen8 2.30 GHz 16 GB RAM NO DRIVES picture

HP ProLiant Xeon E3-1220L V2 MicroServer Gen8 2.30 GHz 16 GB RAM NO DRIVES

$199.99



HPE ProLiant MicroServer Gen10 Plus v2 Ultra Micro Tower Server - 1 x Intel Xeon picture

HPE ProLiant MicroServer Gen10 Plus v2 Ultra Micro Tower Server - 1 x Intel Xeon

$846.19



SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount picture

SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount

$202.49



HP ProLiant HSTNS-5151 Micro Server 8GB RAM No Drives/Key/Caddies *READ* picture

HP ProLiant HSTNS-5151 Micro Server 8GB RAM No Drives/Key/Caddies *READ*

$94.99



Supermicro 5018A-FTN4 Rack Server - Black picture

Supermicro 5018A-FTN4 Rack Server - Black

$125.00



Microsel Server Tower Supermicro X10SAE E3-1275 V3 @3.5GHz 16GB 509849-001 picture

Microsel Server Tower Supermicro X10SAE E3-1275 V3 @3.5GHz 16GB 509849-001

$149.99



1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 480GB SSD 2x 10GBE picture

1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 480GB SSD 2x 10GBE

$297.00



1U 20

1U 20" Short Depth Server Firewall PFSense X11SSH-F Xeon 3.5Ghz 32GB RAM NVME

$247.00