Ubuntu Installation :: Way To Delete Kernel That Compiled?
Feb 19, 2011what is the correct way to delete the kernel that is compiled by me?
View 1 Replieswhat is the correct way to delete the kernel that is compiled by me?
View 1 RepliesAfter having patched the kernel with an ABI-patch I cannot find it in the grub2-Menu OS: Ubuntu 10.04 LTS in /boot I can see: the original and the new config-file
Quote:
config-2.6.30.1ABI-2.6.29.1_4
config-2.6.32-21-generic
The original and new vmlinuz-file
Quote:
vmlinuz-2.6.32-21-generic
vmlinuz-2.6.30.1ABI-2.6.29.1_4
[Code]....
Is it possible and how it works to create live usb-hdd squeeze with self compiled kernel?
View 2 Replies View RelatedI compiled my kernel, compiled scsi support into kernel, used the new kernel and initrd, the boot failed.Then ,i unzip my initrd, found that sd_mod.ko can't be insert, i added it manual, and reboot OK.so, why! in the kernel configure , the sd_mod.ko is set to <M> , but why it can't be found in initrd?
View 1 Replies View RelatedI compiled the kernel 2.6.36.I want to remove it.How sholud i proceed?
View 1 Replies View RelatedI have been trying to build linux from source code and run it from my machine (intel platform).
Here's what I did:
Code:
I am using Grub2. When I rebooted the new kernel was in the grub list all right. But booting from that kernel fails with no errors or warning. The screen just goes blank. The disk usage indicator LED also doesn't glow which I guess means that the kernel isn't being read from the disk. I rebooted using my older kernel and it booted properly. Then, when I listed my /boot directory, I noticed that there was no initrd.img for 2.6.39. kernel in there, which I think is the problem.
I am attempting to compile the linux-2.6.35.13 kernel from kernel.org to use with an installation of Fedora 14 (2.6.35.11-83.fc14.x86_64). I've done this before with different kernel versions for older versions of Fedora, but I've encountered a new problem this time. Whenever I get to the "make install" step, I get the following:Quote:
sh /home/user/testing/source/linux-2.6.35.13/arch/x86/boot/install.sh 2.6.35.13 arch/x86/boot/bzImage
System.map "/boot"
[code]...
I compiled a kernel 2.6.37.1 and after compilation i am not able to boot with new kernel.
I am getting following errors
Alert :
1. Install kernel: see #2 (I make it with kernel file in /var/cache/apt/archive)
After installation of kernel, there may be some problems:
2. Win7 disappear in the grub: see the content below "Not see Windows 7: ", #6
3. Cannot connect to the network: see #8.
Quote: While trying to remove old kernels, I delete all of them by accident!!! There're now only two "Memory test" and a "win7" in the grub. Since there's lots of data on the disk, and I have no idea how to keep them safe if reinstalling the system, so I really hope not to do that.
Then I enter Ubuntu 10.10 cd, and sudo apt-get install a kernel (three 2.6.35 or so, of which two with "generic" and not, and one with "image"), everything seems OK. And I guess what I did really changed the system, since the source_list file in the /etc/apt/ did be changed. But the grub still has only 3 options. What else should I do to add the newly installed kernel to the grub? Or What should I do while I delete all kernels by accident?
Howto create squeeze self compiled kernel with initial ramdisk?I need some more details, I never done before.
View 14 Replies View RelatedI compiled my own kernel with tun/tap and bridge support. Both modules load fine at boot time (I could read that in the dmesg output). Now I want to use it, and the /dev/net/tun node is not there, so my application gives that error. I'm trying to bridge openvpn connections. Is it possible that udevd is not doing his work?
PS: I'm on a WD MyBook World Ed NAS device. It's ARM, so I cross compiled the kernel from my debian linux machine. I also installed debian on the NAS.)
About a month ago, I decided to go deeper in my Linux knowledge. I've been reading a lot and found out that Arch linux would be my learning distro. As I was installing Arch, it was a pain at first but I really learned a lot which I would never ever learn with Mint. Now I decided to take a step further is which "compiling your own kernel".
MY PROBLEM:
Everything was smooth in my Arch for a 2 weeks until I decided to compile my own kernel. I currently have a Nvidia GTX 460 1GB card.
BTW, the method I used to install nvidia with 2.6.37 was
Code:
pacman -S nvidia nvidia-utils
and that worked with all of the .37 kernels (-1 -2 -3 -4) which was download from kernel.org.
When I compiled the .38 (using the same .config of .37), it just boots up to the terminal (not loading gdm). However, I could still login by typing my username and password. So I've checked dmesg of both .37 and .38 and noticed that the Nvidia driver is not loaded in .38.
I tried reinstall it by running pacman and it doesn't do anything. It was thinking of uninstalling nvidia and nvidia-utils but there are so many dependencies conflicts (like screensaver, compiz, etc).
Since, I didn't want to mess up my .37 install, I just grabbed an old HDD and installed from scratch again. This time, I compiled the .38 kernel first (without gui) and then installed nvidia nvidia-utils. It was the same problem.
With this observation, I'm concluding that the nvidia and nvidia-utils from pacman is not compatible with .38.
I've read that I have to wait for nvidia to release a driver that will be compatible with the .38 kernel. Is that true? Does it mean I have to wait for nvidia/nvidia-utils to be updated from pacman? How would I know when it is updated?
I've also read about nouveau, but I guess that is not for me because it doesn't support 3D.
Is there a work around for me to use nvidia/nvidia-utils with .38?
Is nvidia and nvidia-utils proprietary drivers? What is the difference with these two and the one you download directly from nvidia?
First of all, I apologize for the bombardment of questions. As you can tell, I'm so clueless on how nvidia drivers work on linux in general (since it was spoon fed by mint) and I really would love to learn about this is a deeper level. Could someone please explain to me (LAYMANS terms) how nvidia works (and possibly a solution to my issue).
EDIT: Additional info - I have a netbook that also runs arch. It uses an Intel GMA integrated video chip which I used "xf86-video-intel" from pacman and I believe since it is open source, it works with .38 fine. So does that mean if you use an open source driver, it will work with all other kernels?
I have installed VMware (VMware-Player-3.0.1-227600.x86_64.bundle) on my laptop. When I open Vmware from Applications/System Tools/VMware Player.I get a window that says: VMware Kernel Module Updater Before you can run VMware, several modules must be compiled and loaded into the running kernel.When I click on install and after putting in my passwd.a window comes up with a list:
Compiling:
Virtual Machine Monitor
Virtual Network Device
VMware Blocking Filesystem
Virtual Machine Communication Interface
VMCI Sockets
But it just try the first one and show an error (window) that says.unable to build kernel module see log file /tmp/vmware-root/setup-9572.log for details.I cannot even go into the folder vmware-root because it says I do not have permissions even though am an administrator.
The new 2.6.35.7 kernel fails to boot on my Lenovo laptop. I had previously compiled a 2.6.35 kernel with a couple of different .config files and never had it boot properly. The failure occurs very quickly and I am including the final screenshot in case that helps.
View 7 Replies View RelatedI have recently installed a dev branch of Postfix on my box (jaunty), in order to access some new features. This requires that I do not use any of the postfix-related packages in the repos, I have to set this all up manually.
What is the best method for me to manage this system moving forward? Do I need to prevent the repo's postfix package (or anything depending on it, like postfix-mysql, postfix-dovecot etc.) from ever being installed accidentally? Is there anything else I need to worry about? How do you folks generally manage having compiled, customized versions of software that exists in the repos on your systems?
I want to install new php so i need to uninstall previous version of compiled php 5.3.3.
make uninstall is not working showing make: No rule to make target `uninstall'. Stop.what should i do to remove previously installed php completely so that i can install a new one??
im running suse 11.3_x64 clean install along side with Win7 Pro _x64 had a big fight installing Vbox 3.2.8 PUEL edition but i need to test some VMWare products like 'VMWare vShpere (ESXi 4..0.1 - which i couldn't install in a vm in Vbox) ' before putting it in production enviroment in some of my clients. version: VMware-Workstation-Full-7.0.0-203739.x86_64 The installation of vmware was quite simple with no errors. the problem kicks in after the first reboot when i try to run it. before installing vmware i installed the following:
[Code]..
When i try to run vmware workstation the 1st error kicks in: Before you can run vmware, several modules must be compiled and loaded into the running kernel:
[Code]...
I'm trying to free up some space by deleting an old kernel file in preparation for installing Fedora 14. When I try to remove the files I get a message saying it is not found?
[root@localhost ~]# uname -r
2.6.32.23-170.fc12.i686.PAE
[root@localhost ~]# rpm -qva |grep kernel
kernel-PAE-devel-2.6.32.21-168.fc12.i686
kernel-PAE-devel-2.6.32.23-170.fc12.i686
kernel-PAE-2.6.32.21-168.fc12.i686
[Code].....
My Grub2 boot menu includes:
Ubuntu, Linux 2.6.31-19-generic
Ubuntu, Linux 2.6.31-19-generic (recovery mode)
Ubuntu, Linux 2.6.31-14-generic
Ubuntu, Linux 2.6.31-14-generic (recovery mode)
Q1) I only really need the latest kernel, 2.6.31-19, don't I?
Q2) So how can I get rid of the two 2.6.31-14 entries?
Does anyone know if this kernel patch has been applied to any 11.04 kernels? [URL]
View 5 Replies View RelatedI am looking for a way to delete the systems default gateway from the routing table via the NETLINK API.Unfortunately, the documentation I found about NETLINK is incomplete.There are some basics (communicating with the kernel, reading the routing table) but not much more.Does anyone know the packet format for deleting a routing table entry, especially deleting the default gateway? I can set or change the default gateway with the following parameters (there are more, but I left out all the non-essential ones):
NL-Msg Header:
nlmsg_flags = NLM_F_REQUEST | NLM_F_CREATE;
nlmsg_type = RTM_NEWROUTE;
[code]....
After upgrade from MDV 2009.1 to MDV 2010 a bunch of available kernels that can be selected are listed at boot. I think that these are still installed but I really don't need them listed. I would like to get rid of the list of extras. I've had a look at /boot/grub but I can't figure out what.
View 11 Replies View Relatedcpuid utility is not compiled with U9.04 and the utility is not available as a package with synaptic -
other distributions have it available as rpm . url
Any way to run this utility in the Debian world?
I get the following error message trying to install dazuko on xubuntu 10.04: "headers for target kernel version could not be found" But when I run sudo apt-get install linux-headers-$(uname -r), I get the message that I already installed the headers. My current kernel is 2.6.34-020634-generic
How can I install dazuko withouth having this problem??
Over the past few days I have been trying to install an older kernel (kernel 2.6.28.1) on ubuntu 9.10 64-bit WUBI installation. I compiled, installed, and updated my grub for the kernel. When I reboot, the grub menu correctly gives me the option of booting into the older kernel but when I do so I receive the following error message:
error: you need to load the linux kernel first.
I am at a complete loss on how to fix this. I even downgraded grub but I still get the same error.
With the recent upgrade kernel, my ATI driver can no longer work. After upgrading to the new kernel, upon reboot I would get stuck at the "checking battery status" and can't boot into kubuntu.
I'm running Kubuntu 10.10 64 on intel i5 with radeon hd 4870.
So I thought I messed something up since I was fooling around with conky script the day before. I did a clean install of kubuntu 10.10 64 and reset all my settings and my files. At this point, everything works smoothly and I can reboot multiple times without a problem.
I proceeded to install the Radeon catalyst driver following the documentation, which worked perfectly for me on the previous kernel. After rebooting, I can no longer get pass the "checking battery state" black screen. I had to boot into safe book, uninstall all fglrx and also delete xorg.conf to be able to boot back in normally.
Instead of moving to trash, how can i make the delete button delete? Delete is already enabled on the right click menu.
View 7 Replies View RelatedSO after using Testdisk to recover some images, the folders recup_dir.1 & 2 have saved in my FIle System area, when ever I try to press delete noting happens. I have also tried rm -f -rrm -f -fIt still dont delete, I have also deleted my user account and made a new one, but the files are still there.
View 4 Replies View RelatedI am trying to use an old box as backup server. I have tried a couple of possibilities along the lines of:
Quote:
rsync -a --delete --progress --log-file=/home/$USER/info.txt -e ssh /home /etc root@192.168.0.106:/mnt/back
The problem is it does not delete files that has been removed from my local system?
I run the command as root on the local system.
(I realize I should properly not ssh into the server as the server's root but I'm having trouble with the permissions and I want to make sure everything else works before messing around with it)
9.04 this morning updated my kernel to I believe it is 2.6.28.18 and upon the reboot I had no desktop. It booted wanting to go into low graphics.
So I drop to shell and stop the gdm and try to run the latest nvidia run file I have and it hangs saying I have a x server running.
Otherwise I am needing assistance with getting my desktop back! I can boot into an older kernel and if need be I would like to roll back that latest update this morning, but once again I am forgetting the command line for that.