[arch-general] arch with a specific kernel version
I would like to create multiple arch linux installations with a specific (a quite old 2.6 version) kernel version. Is that in theory possible/easy? I have a new one recently created but the downport doesn't seem so easy, so maybe it would just be easier to start with an older one, any suggestions??
Am 12.07.2012 16:11, schrieb andrea crotti:
I would like to create multiple arch linux installations with a specific (a quite old 2.6 version) kernel version. Is that in theory possible/easy?
I have a new one recently created but the downport doesn't seem so easy, so maybe it would just be easier to start with an older one, any suggestions??
In general, installing old kernels is a simple matter of compiling them and adding them to the bootloader. That said, Arch's C library will not work with anything older than 2.6.32. This is not fixed by merely recompiling glibc, virtually no package will work unless you recompile it. Other tools (like udev) might even require newer kernels for proper operation. We know that 3.0 works, every older release is untested.
I need 2.6.32 so it might still work.. The glibc for example though requires linux3 kernel apparently, if I just recompile the kernel will it still work fine?
Am 12.07.2012 16:38, schrieb andrea crotti:
I need 2.6.32 so it might still work.. The glibc for example though requires linux3 kernel apparently
No, the glibc requires 2.6.32 (didn't I just say that?): https://projects.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=p...
2012/7/12 Thomas Bächler <thomas@archlinux.org>:
Am 12.07.2012 16:38, schrieb andrea crotti:
I need 2.6.32 so it might still work.. The glibc for example though requires linux3 kernel apparently
No, the glibc requires 2.6.32 (didn't I just say that?):
https://projects.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=p...
Yes sorry you said that, but I meant this Depends On : linux-api-headers>=3.4 tzdata can the linux-api-headers be a different version of the running kernel?
Am 12.07.2012 17:09, schrieb andrea crotti:
Yes sorry you said that, but I meant this Depends On : linux-api-headers>=3.4 tzdata
can the linux-api-headers be a different version of the running kernel?
Of course. In fact, you must not change the headers unless you plan to bootstrap a new glibc and toolchain. The actual kernel requirement of the glibc is configured in the configure line I posted earlier.
Ok thanks, I'm trying now but the vanilla kernel doesn't compile. Looking around in the forum it appears to be the gcc version too new and I'm installing gcc 4.5, let's see if I get it working.. Otherwise another option might be to install from an old arch installer, but then I have the same problem because I suppose that all the old packages are not available, and I need new versions of Python and other libraries anyway..
Am 12.07.2012 17:34, schrieb andrea crotti:
Ok thanks, I'm trying now but the vanilla kernel doesn't compile. Looking around in the forum it appears to be the gcc version too new and I'm installing gcc 4.5, let's see if I get it working..
Did you use the latest version (as in: 2.6.32.59)?
2012/7/12 Thomas Bächler <thomas@archlinux.org>:
Am 12.07.2012 17:34, schrieb andrea crotti:
Ok thanks, I'm trying now but the vanilla kernel doesn't compile. Looking around in the forum it appears to be the gcc version too new and I'm installing gcc 4.5, let's see if I get it working..
Did you use the latest version (as in: 2.6.32.59)?
No because I should use 2.6.32.9.. Anyway I managed to compile it with gcc-4.5, but now I get a kernel panic when trying to boot, might be still something missing I just compiled with the default config and didn't create the initramfs, but I'm not using LVM or other fancy things and the root fs seems to mount correctly.. It seems to not store anywhere the log about the kernel panic though, which makes it harder to understand.. I might just give up and use something else, or otherwise is there a way to run another kernel in a running system (in a sort of chroot?)?
I get a kernel panic when trying to boot, might be still something missing I just compiled with the default config and didn't create the initramfs
The panic is likely because you haven't specified an initramfs. I'd try building with that enabled one time (you've done the harder part), you'll likely find it just boots and most things work. Have/can you mention why you want/need 2.6 anyway? -- ________________________________________________________ Why not do something good every day and install BOINC. ________________________________________________________
Am 13.07.2012 12:31, schrieb andrea crotti:
2012/7/12 Thomas Bächler <thomas@archlinux.org>:
Am 12.07.2012 17:34, schrieb andrea crotti:
Ok thanks, I'm trying now but the vanilla kernel doesn't compile. Looking around in the forum it appears to be the gcc version too new and I'm installing gcc 4.5, let's see if I get it working..
Did you use the latest version (as in: 2.6.32.59)?
No because I should use 2.6.32.9..
I don't think you should.
On Thu, Jul 12, 2012 at 03:11:51PM +0100, andrea crotti wrote:
I would like to create multiple arch linux installations with a specific (a quite old 2.6 version) kernel version. Is that in theory possible/easy?
I have a new one recently created but the downport doesn't seem so easy, so maybe it would just be easier to start with an older one, any suggestions??
You can theoretically do that, but you'll probably have to use older versions of all other software too (apart from the kernel). Take a look at http://arm.konnichi.com/ You can manually download all the older versions of the required software from this site, but it won't be an easy task.
participants (4)
-
andrea crotti
-
gt
-
Kevin Chadwick
-
Thomas Bächler