Help to boot new kernel with grub -delited the old kernel before tried the new one

Help to boot new kernel with grub -delited the old kernel before tried the new one

Post by Vitaliy Merkul » Wed, 26 Mar 2003 22:41:15



Hi.
Can someone help, how to update Grub so I can boot into linux. I
updated the kernel with up2date software on RedHat and followed the
Instructions to delete the old kernel files from /boot and now I can't
boot into anything old or new kernel. What do I do to boot into linux.
And Grub boot loader doesn't let me run any usefull commands. Thank
you. I tried to update Redhat 7.3 so it would let me boot into linux
but that didn't work. Thank you.
 
 
 

Help to boot new kernel with grub -delited the old kernel before tried the new one

Post by mjt » Thu, 27 Mar 2003 11:25:13



> Can someone help, how to update Grub so I can boot into linux. I
> updated the kernel with up2date software on RedHat and followed the
> Instructions to delete the old kernel files from /boot and now I can't
> boot into anything old or new kernel. What do I do to boot into linux.
> And Grub boot loader doesn't let me run any usefull commands. Thank
> you. I tried to update Redhat 7.3 so it would let me boot into linux

... grub is a boot loader, not a command processor. NEVER EVER
remove an old kernel until you are absolutely CERTAIN your new
kernel boots without incident. simply use your CD#1 to boot
and get to the partitions. (try knoppix.com for help)

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Michael J. Tobler: motorcyclist, surfer,  #    Black holes result
 skydiver, and author: "Inside Linux",     #   when God divides the  
 "C++ HowTo", "C++ Unleashed"              #     universe by zero

 
 
 

Help to boot new kernel with grub -delited the old kernel before tried the new one

Post by Vitaliy Merkul » Thu, 27 Mar 2003 22:36:19




> > Can someone help, how to update Grub so I can boot into linux. I
> > updated the kernel with up2date software on RedHat and followed the
> > Instructions to delete the old kernel files from /boot and now I can't
> > boot into anything old or new kernel. What do I do to boot into linux.
> > And Grub boot loader doesn't let me run any usefull commands. Thank
> > you. I tried to update Redhat 7.3 so it would let me boot into linux

> ... grub is a boot loader, not a command processor. NEVER EVER
> remove an old kernel until you are absolutely CERTAIN your new
> kernel boots without incident. simply use your CD#1 to boot
> and get to the partitions. (try knoppix.com for help)

Thanks
Is there a way to do this without loozing date on my linux box And I
don't have a RedHat cd I installed it from FTP can I fix it with ftp
and not looze data on it. I have snort running on it.
Thank you.
 Vitaliy
 
 
 

Help to boot new kernel with grub -delited the old kernel before tried the new one

Post by luk » Fri, 28 Mar 2003 21:34:58





> > > Can someone help, how to update Grub so I can boot into linux. I
> > > updated the kernel with up2date software on RedHat and followed the
> > > Instructions to delete the old kernel files from /boot and now I can't
> > > boot into anything old or new kernel. What do I do to boot into linux.
> > > And Grub boot loader doesn't let me run any usefull commands. Thank
> > > you. I tried to update Redhat 7.3 so it would let me boot into linux

> > ... grub is a boot loader, not a command processor. NEVER EVER
> > remove an old kernel until you are absolutely CERTAIN your new
> > kernel boots without incident. simply use your CD#1 to boot
> > and get to the partitions. (try knoppix.com for help)

> Thanks
> Is there a way to do this without loozing date on my linux box And I
> don't have a RedHat cd I installed it from FTP can I fix it with ftp
> and not looze data on it. I have snort running on it.
> Thank you.
>  Vitaliy

You installed from FTP? Is this on a local network, if not you got
some shit hot fast connection!

Quote:>I have snort running on it.

You have a packet sniffer running on your FTP connection? You NUTTER!

Did you not create a boot disk? Google around for a boot disk for your
present dist and kernel.

Have a look in /usr/src/linux/arch/YOURARCH/boot. If you have a
vmlinuz file this will be your new kernel. cp across to boot. Did you
run a make install after kernel recompile if so that would create a
system.map. You will also need an initrd image mkinitrd
/boot/initrdYOURNEWKERNEL.img YOURNEWKERNEL.

Edit your grub.conf add new kernel image and you should be able to
boot again.

Really sounds like next time it may be a better move to download the
ISO images and burn them to CD. Sounds like you may have a few
re-installations ahead of you. Best of luck friend! And keep it up, we
all learn from asking!

Regards

Luke