Re: The link /vmlinuz is a damaged link and The link /initrd.img is a damaged link due
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Debian support > Linux Debian support > Re: The link /vmlinuz is a damaged link and The link /initrd.img is a damaged link due




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Re: The link /vmlinuz is a damaged link and The link /initrd.img is a damaged link due  
Darren Salt


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-04-07 12:14 AM

I demand that Ant may or may not have written...

> I think I broke something on my Debian while installing a Kernel image
> (amd64) and ran out of disk space (it didn't tell me that and I was AFK
> during the installation to ctrl-c/abort). Here's the log [...]:

> # apt-get install linux-image-2.6.18-4-amd64
> Reading package lists... Done
> Building dependency tree... Done
> The following NEW packages will be installed:
>   linux-image-2.6.18-4-amd64
> 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
> Need to get 16.8MB of archives.
[snip]
> 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-amd64
> 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    268661         0 100% /
[snip; no /boot]
> # apt-get clean
> # df
> Filesystem           1K-blocks      Used Available Use% Mounted on
> /dev/hda1               270969    268661         0 100% /
[snip; a small usage reduction in /var]
> # apt-get remove linux-image-2.6.18-4-amd64
> Reading package lists... Done
> Building dependency tree... Done
> The following packages will be REMOVED:
>   linux-image-2.6.18-4-amd64
> 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
> Need to get 0B of archives.
> After unpacking 65.3MB disk space will be freed.

Big hint there - maybe you want to remove a kernel image which you know that
you won't be using again first. (Obviously not the one currently in use!)

[snip]
> The link /vmlinuz is a damaged link
> Removing symbolic link vmlinuz
> Unless you used the optional flag in lilo,
>  you may need to re-run your boot loader[lilo]

Hmm, problem...

[snip]
> # df
> Filesystem           1K-blocks      Used Available Use% Mounted on
> /dev/hda1               270969    204863     51650  80% /

Well, there you go. 15MB short.

[snip]
> 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. 

Probably the best thing to do is to start building your own stripped-down
kernels. Or shrink another partition by 64MB or so and create a /boot
partition from it - mount it elsewhere, move files to it from your existing
/boot, add a suitable fstab entry, unmount it and remount it over your old
/boot, re-run lilo.

--
| Darren Salt    | linux or ds at              | nr. Ashington, | Toon
| RISC OS, Linux | youmustbejoking,demon,co,uk | Northumberland | Army
| + Generate power using sun, wind, water, nuclear.      FORGET COAL AND OIL
.

Descartes of Borg: "I assimilate, therefore I am."





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:32 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register