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

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 <kernel-image-...>').

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/en.i386/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
    ( )



Reply to: