Professional Web Applications Themes

mistakenly deleted vmlinuz - Linux Setup, Configuration & Administration

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 ...

  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. #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

  3. #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

  4. #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 p grub.conf and generate new kernel entries.

    Nico Kadel-Garcia Guest

Similar Threads

  1. Why are these threads deleted so often?
    By VeganMan007 in forum Macromedia Exchange Dreamweaver Extensions
    Replies: 1
    Last Post: September 8th, 09:13 PM
  2. Switchboard deleted
    By Mark in forum Microsoft Access
    Replies: 1
    Last Post: July 17th, 06:24 PM
  3. Deleted Box in Outlook
    By Nicholas in forum Windows XP/2000/ME
    Replies: 1
    Last Post: July 9th, 01:47 AM
  4. Cookies Deleted
    By Bill Butler in forum Windows Setup, Administration & Security
    Replies: 2
    Last Post: July 8th, 06:20 PM
  5. Deleted ASP.NET Account
    By Sam in forum Windows Setup, Administration & Security
    Replies: 0
    Last Post: July 6th, 04:13 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not 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