mistakenly deleted vmlinuz

Ask a Question related to Linux Setup, Configuration & Administration, Design and Development.

  1. #1

    Default mistakenly deleted vmlinuz

    hi,

    i just installed rh7.3 kernel 2.4.18-4smp doing rpm -ivh kernel... .
    after editing /etc/lilo.conf and making lilo i rebooted and works.

    after that i wanted to make the new symlink in /boot to vmlinuz but i
    mistakenly typed ln -s -f /boot/vmlinuz-2.4.18-4smp /boot/vmlinuz,
    so my vmlinuz-2.4.18-4smp file is being replaced by a dead link.

    how can i create the vmlinuz-2.4.18-4smp file again.
    i don't have a bootdisk.

    but still having the formerly kernel 2.4.28-3smp i can boot from.

    is it the only way to boot the formerly kernel, remove the new kernel
    package and install it new to get vmlinuz created again?

    or another way?`

    regards, wolf
    Wolf-D. Perl Guest

  2. Similar Questions and Discussions

    1. Why are these threads deleted so often?
      I was going to ask the same question. I only get 7 pages, be it new topics or topics that people respond to. If it's not answered in a the first 7...
    2. Switchboard deleted
      I deleted my switchboard, and now I can't create a new one. How can I do this? Mark
    3. Deleted protocol
      Im wondering if anyone can help me... a protocol on my network laptop got deleted by accident. It was Client for microsoft networks, so as a...
    4. Deleted ASP.NET Account
      I deleted the ASP.Net account when I noticed it as a user account...not sure if this will cause problems...and wondering how to put it back. Been...
    5. i deleted sndvol35.exe
      i removed the sound icon from the windows componets if eny one knows how to download it please email me
  3. #2

    Default Re: mistakenly deleted vmlinuz

    On Fri, 12 Sep 2003 07:57:30 -0700, Wolf-D. Perl typed:
    > or another way?`
    In this case it's OK to; rpm -ivh kernel-smp-2.4.18-4*.rpm --force

    It will restore the missing vmlinuz and it should not matter which kernel
    your running with.



    --
    SCO + RICO Act = Justice

    Lenard Guest

  4. #3

    Default Re: mistakenly deleted vmlinuz

    Wolf-D. Perl wrote:
    > hi,
    >
    > i just installed rh7.3 kernel 2.4.18-4smp doing rpm -ivh kernel... .
    > after editing /etc/lilo.conf and making lilo i rebooted and works.
    >
    > after that i wanted to make the new symlink in /boot to vmlinuz but i
    > mistakenly typed ln -s -f /boot/vmlinuz-2.4.18-4smp /boot/vmlinuz,
    > so my vmlinuz-2.4.18-4smp file is being replaced by a dead link.
    The symlink isn't required as long as the "image=" line uses the
    correct kernel.

    --
    Confucius: He who play in root, eventually kill tree.
    Registered with The Linux Counter. [url]http://counter.li.org/[/url]
    Slackware 9.0 Kernel 2.4.22 i686 (GCC) 3.3
    Uptime: 2 days, 21:30, 1 user, load average: 1.52, 1.47, 1.45

    David Guest

  5. #4

    Default Re: mistakenly deleted vmlinuz

    Wolf-D. Perl wrote:
    > hi,
    >
    > i just installed rh7.3 kernel 2.4.18-4smp doing rpm -ivh kernel... .
    > after editing /etc/lilo.conf and making lilo i rebooted and works.
    2.4.20-20smp is out, do that ASAP.
    > after that i wanted to make the new symlink in /boot to vmlinuz but i
    > mistakenly typed ln -s -f /boot/vmlinuz-2.4.18-4smp /boot/vmlinuz,
    > so my vmlinuz-2.4.18-4smp file is being replaced by a dead link.
    >
    > how can i create the vmlinuz-2.4.18-4smp file again.
    > i don't have a bootdisk.
    >
    > but still having the formerly kernel 2.4.28-3smp i can boot from.
    >
    > is it the only way to boot the formerly kernel, remove the new kernel
    > package and install it new to get vmlinuz created again?
    >
    > or another way?`
    >
    > regards, wolf
    ??? You can do it by hand, and re-run LILO. But I really recommend going
    to grub as soon as possible, it's just vastly superior due to its
    ability to automagically parse grub.conf and generate new kernel entries.

    Nico Kadel-Garcia Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139