The link /vmlinuz is a damaged link and The link /initrd.img is a damaged link due to lack of free disk space... - Debian

This is a discussion on The link /vmlinuz is a damaged link and The link /initrd.img is a damaged link due to lack of free disk space... - Debian ; Dear Sir or Madam: I think I broke something on my Debian while installing a Kernel image (amd64) and it ran out of disk space (it didn't tell me that and I was AFK during the installation to ctrl-c/abort). You ...

+ Reply to Thread
Results 1 to 7 of 7

Thread: The link /vmlinuz is a damaged link and The link /initrd.img is a damaged link due to lack of free disk space...

  1. The link /vmlinuz is a damaged link and The link /initrd.img is a damaged link due to lack of free disk space...

    Dear Sir or Madam:

    I think I broke something on my Debian while installing a Kernel image
    (amd64) and it ran out of disk space (it didn't tell me that and I was
    AFK during the installation to ctrl-c/abort). You can view my log:
    http://pastebin.ca/469432 and my Grub setups: http://pastebin.ca/469711
    ....

    Do I need to worry about those errors? If so, then what do I need to
    fix this? I am afraid to reboot my computer and find Debian not able to
    boot up.

    Thank you in advance.

    Sincerely yours,
    Phillip Pi


    --
    To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

  2. Re: The link /vmlinuz is a damaged link and The link /initrd.img is a damaged link due to lack of free disk space...

    Sorry for the late reply.

    On Friday 04 May 2007 06:29, Phillip Pi wrote:
    > Do I need to worry about those errors? If so, then what do I need to
    > fix this? I am afraid to reboot my computer and find Debian not able to
    > boot up.


    The broken link is not a problem in itself, but to make sure the kernel is
    installed correctly I would advise to reinstall it (using 'aptitude
    reinstall ').

    If you have problems rebooting the system, you should be able to fix them
    using the rescue mode of the Debian Installer:
    http://d-i.alioth.debian.org/manual/...6/ch08s07.html

    If you need any additional help, I suggest you ask on the debian-user
    mailing list.

    Cheers,
    FJP

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.6 (GNU/Linux)

    iD8DBQBGQfr4gm/Kwh6ICoQRAtKnAKDHjuGj86KjUk9iW2cl3EeD7VlKTwCePR+o
    vSbvweUFSouQ5QO4DfazVC4=
    =of1E
    -----END PGP SIGNATURE-----


  3. Re: The link /vmlinuz is a damaged link and The link /initrd.img is a damaged link due to lack of free disk space...

    On Wed, May 09, 2007 at 06:46:48PM +0200, Frans Pop wrote:

    > Sorry for the late reply.


    No problems.


    > On Friday 04 May 2007 06:29, Phillip Pi wrote:
    > > Do I need to worry about those errors? If so, then what do I need to
    > > fix this? I am afraid to reboot my computer and find Debian not able to
    > > boot up.

    >
    > The broken link is not a problem in itself, but to make sure the kernel is
    > installed correctly I would advise to reinstall it (using 'aptitude
    > reinstall ').


    I do have a question about this warning message:

    "The kernel version running is the same as the one being installed

    You are attempting to install a kernel version that is the same as the
    version you are currently running (version 2.6.18-4-k7). The modules
    list is quite likely to have been changed, and the modules dependency
    file /lib/modules/2.6.18-4-k7/modules.dep needs to be re-built. It can
    not be built correctly right now, since the module list for the running
    kernel are likely to be different from the kernel installed. I am
    creating a new modules.dep file, but that may not be correct. It shall
    be regenerated correctly at next reboot.

    I repeat: you have to reboot in order for the modules file to be created
    correctly. Until you reboot, it may be impossible to load some modules.
    Reboot as soon as this install is finished (Do not reboot right now,
    since you may not be able to boot back up until installation is over,
    but boot immediately after). I can not stress that too much. You need to
    reboot soon."

    Even though this is the same exact Kernel image version I am using, do I
    still have to reboot now/soon? The version didn't change or
    anything. It's just a reinstall.

    Here's the log of results (I hope using apt-get was OK instead of
    aptitude):
    # df
    Filesystem 1K-blocks Used Available Use% Mounted on
    /dev/hda1 270969 207513 49000 81% /
    tmpfs 517936 0 517936 0% /lib/init/rw
    udev 10240 92 10148 1% /dev
    tmpfs 517936 0 517936 0% /dev/shm
    /dev/hda5 14421344 7472276 6216508 55% /home
    /dev/hda6 4807056 2834992 1727880 63% /usr
    /dev/hda7 918322 507846 361480 59% /var
    /dev/hda8 918322 16491 852835 2% /tmp
    /dev/hda9 4807056 200528 4362344 5% /usr/local
    /dev/hda11 47383396 2455196 42521264 6% /extra
    /dev/hda12 918322 16452 852874 2% /others
    /dev/hdb1 861728 16416 801540 3% /stuff
    /dev/hdb5 5336664 1118864 3946708 23% /storage
    # apt-get install linux-image-2.6.18-4-k7 --reinstall
    Reading package lists... Done
    Building dependency tree... Done
    0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 3 not
    upgraded.
    Need to get 16.5MB of archives.
    After unpacking 0B of additional disk space will be used.
    Do you want to continue [Y/n]?
    Get:1 http://security.debian.org etch/updates/main
    linux-image-2.6.18-4-k7 2.6.18.dfsg.1-12etch1 [16.5MB]
    Fetched 16.5MB in 25s (636kB/s)
    Preconfiguring packages ...
    (Reading database ... 145565 files and directories currently installed.)
    Preparing to replace linux-image-2.6.18-4-k7 2.6.18.dfsg.1-12etch1
    (using .../linux-image-2.6.18-4-k7_2.6.18.dfsg.1-12etch1_i386.deb) ...
    The directory /lib/modules/2.6.18-4-k7 still exists. Continuing as
    directed.
    Done.
    Unpacking replacement linux-image-2.6.18-4-k7 ...
    Running postrm hook script /usr/sbin/update-grub.
    Searching for GRUB installation directory ... found: /boot/grub
    Searching for default file ... found: /boot/grub/default
    Testing for an existing GRUB menu.lst file ... found:
    /boot/grub/menu.lst
    Searching for splash image ... none found, skipping ...
    Found kernel: /boot/vmlinuz-2.6.18-4-k7
    Found kernel: /boot/vmlinuz-2.6.18-3-k7
    Updating /boot/grub/menu.lst ... done

    Setting up linux-image-2.6.18-4-k7 (2.6.18.dfsg.1-12etch1) ...

    Hmm. The package shipped with a symbolic link
    /lib/modules/2.6.18-4-k7/source
    However, I can not read the target: No such file or directory
    Therefore, I am deleting /lib/modules/2.6.18-4-k7/source

    Running depmod.
    Finding valid ramdisk creators.
    Using mkinitrd.yaird to build the ramdisk.
    Running postinst hook script /usr/sbin/update-grub.
    Searching for GRUB installation directory ... found: /boot/grub
    Searching for default file ... found: /boot/grub/default
    Testing for an existing GRUB menu.lst file ... found:
    /boot/grub/menu.lst
    Searching for splash image ... none found, skipping ...
    Found kernel: /boot/vmlinuz-2.6.18-4-k7
    Found kernel: /boot/vmlinuz-2.6.18-3-k7
    Updating /boot/grub/menu.lst ... done

    # df
    Filesystem 1K-blocks Used Available Use% Mounted on
    /dev/hda1 270969 207517 48996 81% /
    tmpfs 517936 0 517936 0% /lib/init/rw
    udev 10240 92 10148 1% /dev
    tmpfs 517936 0 517936 0% /dev/shm
    /dev/hda5 14421344 7472300 6216484 55% /home
    /dev/hda6 4807056 2834992 1727880 63% /usr
    /dev/hda7 918322 523984 345342 61% /var
    /dev/hda8 918322 16491 852835 2% /tmp
    /dev/hda9 4807056 200528 4362344 5% /usr/local
    /dev/hda11 47383396 2455196 42521264 6% /extra
    /dev/hda12 918322 16452 852874 2% /others
    /dev/hdb1 861728 16416 801540 3% /stuff
    /dev/hdb5 5336664 1118864 3946708 23% /storage


    > If you have problems rebooting the system, you should be able to fix them
    > using the rescue mode of the Debian Installer:
    > http://d-i.alioth.debian.org/manual/...6/ch08s07.html
    >
    > If you need any additional help, I suggest you ask on the debian-user
    > mailing list.


    Thanks.
    --
    "What reason, like the careful ant, draws laboriously together, the wind of accident sometimes collects in a moment." --Friedrich von Schiller
    /\___/\
    / /\ /\ \ Phillip (Ant) @ http://antfarm.ma.cx (Personal Web Site)
    | |o o| | Ant's Quality Foraged Links (AQFL): http://aqfl.net
    \ _ / E-mail: philpi@earthlink.net or ant@zimage.com
    ( )


    --
    To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

  4. Re: The link /vmlinuz is a damaged link and The link /initrd.img is a damaged link due to lack of free disk space...

    On Wednesday 09 May 2007 20:08, Phillip Pi wrote:
    > Even though this is the same exact Kernel image version I am using, do
    > I still have to reboot now/soon? The version didn't change or
    > anything. It's just a reinstall.


    If you are certain that the package version (not only the package name) is
    identical and you did already reboot with that version, then it should
    not be necessary.

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.6 (GNU/Linux)

    iD8DBQBGQhobgm/Kwh6ICoQRAliLAJ9e/2dJbXxq+zg4zHfSxUmXu8ZDKQCfc+OC
    cowY8TDHTBbTTu1iu720axc=
    =U4Jr
    -----END PGP SIGNATURE-----


  5. Re: The link /vmlinuz is a damaged link and The link /initrd.img is a damaged link due to lack of free disk space...

    On Wed, May 09, 2007 at 08:59:38PM +0200, Frans Pop wrote:
    > On Wednesday 09 May 2007 20:08, Phillip Pi wrote:
    > > Even though this is the same exact Kernel image version I am using, do
    > > I still have to reboot now/soon? The version didn't change or
    > > anything. It's just a reinstall.

    >
    > If you are certain that the package version (not only the package name) is
    > identical and you did already reboot with that version, then it should
    > not be necessary.


    Earlier before I reinstalled, I ran this:

    # apt-get install linux-image-2.6.18-4-k7
    Reading package lists... Done
    Building dependency tree... Done
    linux-image-2.6.18-4-k7 is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.

    Then, I did a reinstall with as I shown you earlier in my last e-mail
    reply: apt-get install linux-image-2.6.18-4-k7 --reinstall


    Is this what you meant by same package version?
    --
    "What reason, like the careful ant, draws laboriously together, the wind of accident sometimes collects in a moment." --Friedrich von Schiller
    /\___/\
    / /\ /\ \ Phillip (Ant) @ http://antfarm.ma.cx (Personal Web Site)
    | |o o| | Ant's Quality Foraged Links (AQFL): http://aqfl.net
    \ _ / E-mail: philpi@earthlink.net or ant@zimage.com
    ( )


    --
    To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

  6. Re: The link /vmlinuz is a damaged link and The link /initrd.img is a damaged link due to lack of free disk space...

    On Wednesday 09 May 2007 21:05, Phillip Pi wrote:
    > Is this what you meant by same package version?


    No, that only shows the package name. The package version is shown by for
    example 'dpkg -l linux-image-2.6.18-4-k7', or 'aptitude show'.

    It seems to me that rebooting once would be safer. Then you'll also know
    that it does work...

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.6 (GNU/Linux)

    iD8DBQBGQiKwgm/Kwh6ICoQRAuSvAKC6NdOmgiQZZQktXtmRBfXabm86+ACgw/cZ
    6+MfKN8ZtanDIGlZEt/v2xI=
    =yOn+
    -----END PGP SIGNATURE-----


  7. Re: The link /vmlinuz is a damaged link and The link /initrd.img is a damaged link due to lack of free disk space...

    On Wed, May 09, 2007 at 09:36:14PM +0200, Frans Pop wrote:
    > On Wednesday 09 May 2007 21:05, Phillip Pi wrote:
    > > Is this what you meant by same package version?

    >
    > No, that only shows the package name. The package version is shown by for
    > example 'dpkg -l linux-image-2.6.18-4-k7', or 'aptitude show'.


    FYI before the reboot:
    $ uname -a
    Linux ANTian 2.6.18-4-k7 #1 SMP Wed Apr 18 10:37:40 UTC 2007 i686
    GNU/Linux

    $ dpkg -l linux-image-2.6.18-4-k7
    Desired=Unknown/Install/Remove/Purge/Hold
    |
    Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
    |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
    uppercase=bad)
    ||/ Name Version Description
    +++-====================-====================-================================================== ======
    ii linux-image-2.6.18-4 2.6.18.dfsg.1-12etch Linux 2.6.18 image on AMD
    K7

    $ aptitude show linux-image-2.6.18-4-k7
    Package: linux-image-2.6.18-4-k7
    New: yes
    State: installed
    Automatically installed: no
    Version: 2.6.18.dfsg.1-12etch1
    Priority: optional
    Section: admin
    Maintainer: Debian Kernel Team
    Uncompressed Size: 48.8M
    Depends: module-init-tools (>= 0.9.13), coreutils (>= 5.96),
    initramfs-tools (>= 0.55) | yaird (>=
    0.0.12-8) | linux-initramfs-tool
    PreDepends: debconf (>= 0.2.17) | debconf-2.0
    Recommends: libc6-i686
    Suggests: linux-doc-2.6.18, grub (>= 0.97-3) | lilo (>= 19.1)
    Conflicts: grub (<= 0.95+cvs20040624-17), initramfs-tools (< 0.55),
    yaird (< 0.0.12-8)
    Provides: linux-image, linux-image-2.6, linux-modules-2.6.18-4-k7
    Description: Linux 2.6.18 image on AMD K7
    This package provides the binary image and pre-built loadable modules
    for Linux kernel 2.6.18 on 32bit
    AMD Duron/Athlon/AthlonXP machines.

    $ apt-cache show linux-image-2.6.18-4-k7
    Package: linux-image-2.6.18-4-k7
    Priority: optional
    Section: admin
    Installed-Size: 47704
    Maintainer: Debian Kernel Team
    Architecture: i386
    Source: linux-2.6
    Version: 2.6.18.dfsg.1-12etch1
    Provides: linux-image, linux-image-2.6, linux-modules-2.6.18-4-k7
    Depends: module-init-tools (>= 0.9.13), coreutils (>= 5.96),
    initramfs-tools (>= 0.55) | yaird (>= 0.0.12-8) | linux-initramfs-tool
    Pre-Depends: debconf (>= 0.2.17) | debconf-2.0
    Recommends: libc6-i686
    Suggests: linux-doc-2.6.18, grub (>= 0.97-3) | lilo (>= 19.1)
    Conflicts: grub (<= 0.95+cvs20040624-17), initramfs-tools (<< 0.55),
    yaird (<< 0.0.12-8)
    Filename:
    pool/updates/main/l/linux-2.6/linux-image-2.6.18-4-k7_2.6.18.dfsg.1-12etch1_i386.deb
    Size: 16451984
    MD5sum: 15064d65c1234008e0462c54d0ca732e
    SHA1: f722ddd6285ef987bd9e4e267ca36bd47949bc5b
    SHA256: 9d072b75f28f1fcf19b8734a16647dc2f96d1d6a3874b176d2 37f3c0d49a1f1c
    Description: Linux 2.6.18 image on AMD K7
    This package provides the binary image and pre-built loadable modules
    for
    Linux kernel 2.6.18 on 32bit AMD Duron/Athlon/AthlonXP machines.

    Package: linux-image-2.6.18-4-k7
    Priority: optional
    Section: admin
    Installed-Size: 49484
    Maintainer: Debian Kernel Team
    Architecture: i386
    Source: linux-2.6
    Version: 2.6.18.dfsg.1-12
    Provides: linux-image, linux-image-2.6, linux-modules-2.6.18-4-k7
    Depends: module-init-tools (>= 0.9.13), coreutils (>= 5.96),
    initramfs-tools (>= 0.55) | yaird (>= 0.0.12-8) | linux-initramfs-tool
    Pre-Depends: debconf (>= 0.2.17) | debconf-2.0
    Recommends: libc6-i686
    Suggests: linux-doc-2.6.18, grub (>= 0.97-3) | lilo (>= 19.1)
    Conflicts: grub (<= 0.95+cvs20040624-17), initramfs-tools (<< 0.55),
    yaird (<< 0.0.12-8)
    Filename:
    pool/main/l/linux-2.6/linux-image-2.6.18-4-k7_2.6.18.dfsg.1-12_i386.deb
    Size: 16452360
    MD5sum: ebcc9a853552567b979ab7daa33c2d23
    SHA1: 652a67facbc134f9dc34258ae734d20f19ec2496
    SHA256: 5d1d1a32cde33ca574055c12423d9752683c628073adf8f3af eaed52a2c2c2da
    Description: Linux 2.6.18 image on AMD K7
    This package provides the binary image and pre-built loadable modules
    for
    Linux kernel 2.6.18 on 32bit AMD Duron/Athlon/AthlonXP machines.


    How come none of this show dates and times? Like when released,
    compiled, etc. I did comparisions with my uname -a's date and my /boot:
    $ ls -all /boot
    total 6339
    drwxr-xr-x 3 root root 1024 May 9 11:06 .
    drwxr-xr-x 26 root root 1024 May 9 11:06 ..
    -rw-r--r-- 1 root root 720490 Dec 10 17:36 System.map-2.6.18-3-k7
    -rw-r--r-- 1 root root 722453 Apr 18 08:38 System.map-2.6.18-4-k7
    -rw-r--r-- 1 root root 71347 Dec 10 10:50 config-2.6.18-3-k7
    -rw-r--r-- 1 root root 70797 Apr 18 02:04 config-2.6.18-4-k7
    drwxr-xr-x 2 root root 1024 May 9 11:06 grub
    -rw------- 1 root root 1137172 Dec 21 13:22 initrd.img-2.6.18-3-k7
    -rw------- 1 root root 1191645 May 9 11:06 initrd.img-2.6.18-4-k7
    -rw-r--r-- 1 root root 1267064 Dec 10 17:36 vmlinuz-2.6.18-3-k7
    -rw-r--r-- 1 root root 1268572 Apr 18 08:38 vmlinuz-2.6.18-4-k7

    They seem to match.


    > It seems to me that rebooting once would be safer. Then you'll also know
    > that it does work...


    I will reboot later when I get home. I amdoing all this from work via
    ssh.
    --
    "What reason, like the careful ant, draws laboriously together, the wind of accident sometimes collects in a moment." --Friedrich von Schiller
    /\___/\
    / /\ /\ \ Phillip (Ant) @ http://antfarm.ma.cx (Personal Web Site)
    | |o o| | Ant's Quality Foraged Links (AQFL): http://aqfl.net
    \ _ / E-mail: philpi@earthlink.net or ant@zimage.com
    ( )


    --
    To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

+ Reply to Thread