Installation :: Install Vanilla Kernel To Other Ubuntu Server?
Jun 13, 2010
I am trying to compile a new vanilla kernel on to my Ubuntu server system which has been freshly installed with Ubuntu 10.04 server 32bits. As this will run on a VIA epia-px5000eg mainboard with USB stick I want compile this kernel on a different machine on which is also ubuntu 10.04 installed. Unfortunately currently I experience difficulties when I boot kernel 2.6.34; it says "Kernel panic - not syncing: VFS: unable to mount root fs on unknown block" while if I load to original kernel that comes with Ubuntu 10.04 all works perfectly well. BTW reason I want to build a custom vanilla kernel is to trim down kernel to the necessary services I need as I am running a server that requires just the essentials. And it needs to support the VIA Epia CPU processor family ( C3, C7 or generic setting which is another hurdle which I won't discuss here ).
Hopefully one out there is able to guide me further as I type step by step what I executed. Thanks for your replies in advance:
Yet I hook up the VIA epia-px5000g with 2gb usb stick, a dvd drive and keyboard ( all usb ). Boot from CDrom and install a minimal system (<f4>) to usb stick. Partitioning part I set it to EXT4 and used full size thus no SWAP. Also mount option " noatime " has been set all to save writes to usb stick.
When the base system has been installed a user has been added, as well apt is being configured to install only security updates automatically. As services I want to run definitely openSSH-server so I can access remotely. Grub gets configured and system will be rebooted.
At this stage I configure the network interface to a static address so I do not need to check my router all the time which dhcp address Ubuntu is using if I want to access remotely.
Now the compile part starts, the ubuntu way. I log in to my other system and execute following commands accordingly code...
View 2 Replies
ADVERTISEMENT
Nov 29, 2010
i want to compile the vanilla kernel 2.6.37-rc3, but i want to obtain a .rpm file. I found this guide long time ago (i used it many times) but it use src.rpm package and the contained kernel.spec file have many lines for adding patches. Someone know where can i download a kernel.spec for vanilla kernel or a guide to obtain an rpm file
View 4 Replies
View Related
May 24, 2011
What is vanilla kernel and what distributions are using it?
View 3 Replies
View Related
Apr 9, 2010
I am trying to compile a vanilla kernel that I got from git in a VirtualBox VM running Fedora 12. With RHEL (albeit on real hardware, not a VM), I am able to do a make; make modules_install; make install and simply able to boot up the kernel. The make install step, in particular, creates the initrd using /sbin/installkernel, which also updates the grub configuration.
Under Fedora 12, my new kernel does not boot. I see no messages on the screen, not even if I change the boot command line to remove quiet bootup. I see disk usage on the VM and the CPU gets pegged at 100%. Strangely enough, if I change the initrd to refer to an existing, Fedora-provided kernel, I can boot my new kernel without any problems. I started with a Fedora kernel config and used it to generate the config for my new 2.6.33 kernel, so it couldn't be the case that I missed something in the config either.
Does anybody have an idea about what could be going on? Is there some specific patch that Fedora kernels use that are essential for booting up?
Also, the guest Fedora OS is 64-bit, if that is relevant.
View 2 Replies
View Related
Oct 17, 2010
I've downloaded 2.6.36-rc8 vanilla kernel, then I copied .config file from my current working kernel 2.6.32.21-168.fc12.x86_64, then I've configured, compiled and installed kernel like this:
Code:
make gconfig
make -j4 all (or make all)
make modules_all
make install
The last command edits my grub.conf file and writes this:
[Code]....
I checked my .config and ACPI, and File Systems are built into kernel and not loaded as modules... And, I have LVM but my /boot partition isn't in it, so I don't HAVE to use initrd, right? How can I boot from a vanilla kernel without initrd ?
View 11 Replies
View Related
Jun 29, 2011
Im using a Fedora 15 and im trying to compile a 3.0.0rc5 kernel. but im unable to get a config for my machine to boot up. i tried make localmodconfig it says
using config: '.config'
capifs config not found!!
Restart Config
and then i tried cp /boot/config-2.6.38.6-26.rc1.fc15.i686.PAE .config to override the default config but stil that doesnt work. work around to get a proper config so that i can boot the latest kernel here?
View 1 Replies
View Related
Apr 29, 2010
I thought I would give some instructions on how I compile my kernels. My long-time windows user parts trader recently asked me how to compile a kernel on Fedora. He was confused with all the tutorials requiring you to build an RPM, so I showed him how I do it, the standard/easy/lazy way. Before I start, here are a couple things I assume. I assume you are a Fedora user and that you are NOT in text mode, but in GNOME. I also assume you realize that this can take up to SIX HOURS on an old Pentium 3 1.3Ghz. Remember that some proprietary drivers as well as some free ones are not included in the kernel, so make sure you don't delete your existing one.
First get the dependencies you need.
su -c "yum -y install gcc ncurses-devel"
Next get the kernel source. I use 2.6.33.3 as an example. To download it, click here.Extract it by right-clicking on the file and then choosing extract here. This will take about five minutes. Now open a terminal, become root, and cd to the directory linux-2.6.33.3. It is important to cd here and not to the kernel directory inside of there, even though make has an extra variable that specifies there.
Now we need to configure the kernel before we build it with make O=kernel menuconfig. It will take a couple minutes to set up, then you will be presented with a cheap psuedo-gui in your terminal. Just select exit and yes to save your config. You usually don't need to change anything here.
Ready to compile and install? Remember this can take up to six hours, and your machine may become VERY slow. It is not recommended that you attempt to use your machine with this in progress. OK then. As root, in the same directory, type:
make O=kernel && make O=kernel modules_install install. This will compile the kernel and install the kernel and it's modules. Done? Now change the kernel and initrd in your bootloader to match the new kernel. If you ever want to reuse the same source code folder, use make mrproper to clean things up and build it again.
View 6 Replies
View Related
Dec 13, 2010
which vanilla kernel version provide support for QM57 chipset?
View 1 Replies
View Related
Apr 30, 2011
I've getting strange build errors when using make-kpkg with the latest (2.6.39-rc5) vanilla kernel.I'm using the procedure outlined here:
https:[url]....e.g.:
Code:
make oldconfig CONCURRENCY_LEVEL=`getconf _NPROCESSORS_ONLN` fakeroot make-kpkg --initrd --append-to-version=-custom kernel_image kernel_headers
I'm getting the following build errors:
Code:
Building modules, stage 2.
MODPOST 3053 modules
WARNING: modpost: Found 60 section mismatch(es).To see full details build your kernel with:'make CONFIG_DEBUG_SECTION_MISMATCH=y'
CC arch/x86/crypto/aesni-intel.mod.o[code]....
There is even much more error output but it looks like it is basically the same issue.
View 2 Replies
View Related
Jul 7, 2009
I've newly installed Lenny and I find that xterm doesn't have tabs or pretty colours. Vim is also colourless. Is this a conscious effort by Debian to strip back the install to it's most utilitarian? Or am I using the wrong versions of each app?
View 3 Replies
View Related
Feb 5, 2010
I have always been amazed that despite the fact that the liveCD obviously has gparted on it, that it is doesn't install it. Why not?I understand it is a tool with which you can easily damage your system, but that's no reason not to give it to users, once its aready taking up space on the liveCD.
View 6 Replies
View Related
Mar 6, 2011
I have hp server DL380G7 with 4 G RAM and 2*146HDD. i wana install debian etch kernel 2.6 on it thes Os cannot find a CDROM on server and i have to resaerch about it i go to debian website and download etch-and-half and install it .debian recomands it Instead of using etch (kernel 2.6) Debian
bnx2-09-4.0.5.fw-files during the installation it was necessary.and my guy did and installation success.
But when Os gets the boot.have this error:
And when i confige the network i have problem And Os does not recognize network hardware.
the error is:
View 1 Replies
View Related
May 24, 2010
My company support a client with an old Redhead server " Linux version 2.6.9-5.ELsmp [URL] (gcc version 3.4.3 20041212 (Red Hat 3.4.3-9.EL4)) #1 SMP Wed Jan 5 19:30:39 EST 2005" My IT department wants to move this old server to a VMware machine and I'm trying to check if this project can fly. Me my self never worked on an old Linux server there for my first question is can I upgrade the kernel with the command yum -y install kernel..... and when I'm done I'm still going to have the old kernel just in case?
View 1 Replies
View Related
May 26, 2010
I'm trying to install the 32bit 10.04 server to an atom machine from a CD burned with ubuntu-10.04-server-i386.iso. The installer is presenting me with the:"No kernel modules were found" ..error message. Is the atom cpu and chipsets supported by the 32bit server installer?
View 1 Replies
View Related
Dec 11, 2009
default in openSUSE 11.2 we have installed kernel-desktop. This kernel is optimized for the desktop.
What is the name of kernel optimized for server machine? In my case Firebird database + Apache + PHP?
View 9 Replies
View Related
Feb 14, 2010
i'v heard it some where and i'm not sure what it mean is it ubuntu without ubuntu-desktop or without some more things?
View 2 Replies
View Related
Jun 2, 2010
I'm using KDE (Kubuntu) and I was wondering about integration of Firefox into KDE. I know that kmozillahelper provides this and so I installed it. But the thing is, I compile Firefox myself with some custom optimisations, so I don't use Firefox from the repositories.
The firefox from the repositories uses kmozillahelper but my compiled firefox (even the mozilla provided firefox) does not.
View 5 Replies
View Related
Dec 8, 2010
I've got an Ubuntu 10.04 box (up to date) with a MySQL database that I log into remotely via an SSH tunnel. In order to make this secure, I've remapped the SSH port to something obscure, and locked down the firewall to allow only this port.
I've disabled password login, and get in via a 1024-bit RSA key, which has an attached passphrase.Right now, it works like a charm. However, I've become interested in trying out NoMachine NX as a way of working on the Ubuntu machine (VNC works, but is not an option). NoMachine NX requires a DSA key without a passphrase, and is not interested (as far as I know) in playing nicely with my existing RSA keys.
My question, for you security experts, is this. Do I have to scrap my existing SSH config and start fresh with NX in mind? Or is there a way around this? Moreover, if I do that, and get NX working, will I still be able to use Putty to tunnel in as I do now, for using the database?
View 4 Replies
View Related
May 20, 2010
I am trying to look at installing the PAE module on a RHEL 5 2.6.18-53 system and I cannot seem to find that around. I had hoped to find out if installing the CentOS 5 2.6.18-128 or 2.6.18-164 kernel-PAE modules would have a lot of negative consequences? Perhaps one of you could direct me to a download site that would provide kernel-PAE for a 2.6.18-53 build?
View 4 Replies
View Related
Feb 23, 2011
I have installed the fedora 14, but there is no kernel source tree.I read the doc "building a custom kernel".But I don't want to rebuild a new kernel.I just want to install the source tree of current kernel.Could someone tell me the way?
View 6 Replies
View Related
Sep 8, 2010
How do I install a kernel from the RPM?
I tried with rpm -ivh, and its says it installed it, but it doesn't add anything to /etc/grub.conf, and it doesn't add an files to /usr/src/kernels. code...
View 11 Replies
View Related
Sep 28, 2010
I'm trying to install nfs-kernel-server on my squeeze and have strange error.
Here the console output:
The following NEW packages will be installed:
I tried to google for this errors and find that manually restarting nfs-common, portmap should help but no luck.
View 1 Replies
View Related
May 30, 2010
I have been requested to install a Fedora Kernel from source. As such i have found the below src.rpm: [URL] how to install this much newer kernel onto my server from src.rpm?
View 10 Replies
View Related
Jan 5, 2011
first of all, please excuse my bad english. We rent a dedicatet server at Strato.de.I need to install VMWare Server. Actually this should be no Problem for me. I installed the server an patch.When I run the vmware-config.pl starts the problems:
Code:
Your kernel was built with "gcc" version "4.3.2", while you are trying to use "/usr/bin/gcc" version "4.3". This configuration is not recommended and VMware Server may crash if you'll continue. Please try to use exactly same compiler as one used for building your kernel. Do you want to go with compiler "/usr/bin/gcc" version "4.3" anyway? [no] I submit "y".
[Code]...
View 3 Replies
View Related
Jun 10, 2009
How to check kernel type before install whether it is 32 bit or 64 bit in Redhat Linux.
View 1 Replies
View Related
Feb 8, 2009
Ive also tried downloading RPMs to a usb stick and it said it was the wrong ones for my machine.
How do i find out if my machine is x32 x64 x86?
Anyway im trying to install kernel headers and devel from the fedora installation disk but i dont know how to get to the cdrom thru terminal as i cant copy the RPMs to desktop by drag n drop or using software installer.
I dont have an internet connection to the pc so i cant use yum (which would make things so much easier) so can anyone tell me how how to install these packages thru terminal?
View 5 Replies
View Related
Jun 4, 2010
I installed Ubutnu 9.10 Server on my Dell Server for LAMP & OpenSSH server. After the install was complete, I noticed the the kernel installed on the server was 2.26.31-14-generic instead of 2.26.31-14-server.I am wondering why would generic kernel be installed from ubuntu-server 9.10 cd? And how do go about chaning to server kernel? Or do I even need to do that? Would generic kernel work as server kernel ?
View 2 Replies
View Related
May 20, 2010
There is a package(Install Kernel 0.9.5) I'd like to install via deb.
View 4 Replies
View Related
Mar 9, 2010
this-Am getting tis error after installing ubuntu server 8.10 in sun virtual box and trying to boot for the first time.."This kernel requires following features not present on the cpu pae unable to boot please use the appropriate kernel for your cpu." currently am using ubuntu desktop edition 9.04. on d top of it i installed virtual ubuntu server8.10
View 2 Replies
View Related
Sep 21, 2010
The following is a subset of error messages I'm getting when trying to do "apt-get upgrade" or "apt-get dist-upgrade" on a machine running ubuntu server 9.10 amd64:
Code:
Preparing to replace linux-image-2.6.31-22-server 2.6.31-22.60 (using .../linux-image-2.6.31-22-server_2.6.31-22.65_amd64.deb) ...
[code]....
View 2 Replies
View Related