BLU Discuss list archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss] I, uh, deleted the wrong kernel....
- Subject: [Discuss] I, uh, deleted the wrong kernel....
- From: david at thekramers.net (David Kramer)
- Date: Fri, 30 Sep 2016 12:08:22 -0400
- In-reply-to: <CAKK-0tCw=CyvpDHE7mo1Hhk=2DC4sYuv5XLnsdyoPODGSKEgRA@mail.gmail.com>
- References: <582ae175-07c8-a855-c5fc-6c25bf4d62d8@thekramers.net> <chx60pdfpse.fsf@iceland.freeshell.org> <CAKK-0tCw=CyvpDHE7mo1Hhk=2DC4sYuv5XLnsdyoPODGSKEgRA@mail.gmail.com>
Fixed. Big sigh, cold drink, already started the process of updating my backup (which did NOT have that kernel. I checked). So I did the USB boot/mnt/chroot trick to basically get a running system with the hard drive as root. Very neat. Have to remember that one for sure. Also had to copy /etc/hosts and /etc/resolv.conf so networking worked right. I ran an apt-get clean and an apt-get update. Once apt wasn't trying to install stuff from other failed experiments, and just install what I asked, it was able to reinstall the *28* kernel, abi file, etc with no problems. One other note: When I updated grub while in the chrooted shell, it added the existing kernels to the menu, which is what I needed to move forward. It did not add Windows (remember this is a dual boot machine). But once I got it booted into Linux and updated Grub again, it found Windows and added that back in. Side note: I think I just decided this is my last dual-boot desktop system. Decent hardware is too cheap to put up with this. Currently I only boot into Windows for gaming. But I do that almost every day. That means I'm rebooting my machine twice a day, and I can't quickly do something on Linux while I'm booted into Windows. I will also add, that I'm quite impressed with Windows 10, and how it's stealing features from Linux, like multiple desktops. I also have homework assignments to look more into grub, and into apt-get autoclean. My problem is solved, but I need to know them better. Thank you all for your help and advise. Hope I included enough links and details for the next person who faces this. On 09/30/2016 10:14 AM, Ben Carr wrote: > You should have other kernels if you are Debian based unless you > removed all the others with `rm` as others have mentioned. You might > want to look into the auto-clean features of you distro, this will > allow you to say keep, 3 or 4 kernels in case one fails, such as a > regression in a driver you need. If you have no other kernels on your > system you will likely be forced to boot from other media, like USB or > CD, or DVD. You will want to install the current kernel, but also > update grub, it sounds like grub hasn't been updated. Are you building > your own kernels or using distro kernels? > -Ben
- Follow-Ups:
- [Discuss] I, uh, deleted the wrong kernel....
- From: bencarr at gmail.com (Ben Carr)
- [Discuss] I, uh, deleted the wrong kernel....
- References:
- [Discuss] I, uh, deleted the wrong kernel....
- From: david at thekramers.net (David kramer)
- [Discuss] I, uh, deleted the wrong kernel....
- From: smallm at sdf.org (Mike Small)
- [Discuss] I, uh, deleted the wrong kernel....
- From: bencarr at gmail.com (Ben Carr)
- [Discuss] I, uh, deleted the wrong kernel....
- Prev by Date: [Discuss] I, uh, deleted the wrong kernel....
- Next by Date: [Discuss] I, uh, deleted the wrong kernel....
- Previous by thread: [Discuss] I, uh, deleted the wrong kernel....
- Next by thread: [Discuss] I, uh, deleted the wrong kernel....
- Index(es):