You are not logged in.

#1 2011-12-10 20:50:48

xyzzyman
Member
Registered: 2011-12-10
Posts: 3

Using custom compiled kernel from Ubuntu

I know I could always use my config file and recompile just for Arch, but I'm wondering what the downsides might be to using my bzImage file and doing a mkinitcpio to make the initrd file? They're both 64bit, all set up to use ext4 and ntfs. I am using kernel 3.2 sources with ubuntu's patches which add their debian/debian.master stuff, but I strip out everything I don't need for my system, set to core2 for cpu, turn off unneeded debugging options, and most importantly put in a DSDT.hex file I have from when I had to patch the DSDTAll of the drivers that my system uses are compiled in. I use Ubuntu 75% of the time, Arch 20% and Windows 7 5%. (I do use a seperate Arch in VirtualBox daily when in Ubuntu so please don't be mad at me for not being a full time Arch user yet!) . Figured I'd ask and see how friendly these forums are. I might just try later to see but I don't want to be in the middle of something important a week from now and then it's like oh f*ck.

Offline

#2 2011-12-10 21:22:04

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,700
Website

Re: Using custom compiled kernel from Ubuntu

Don't think you can... why would you want to...?


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#3 2011-12-10 21:31:41

xyzzyman
Member
Registered: 2011-12-10
Posts: 3

Re: Using custom compiled kernel from Ubuntu

I'm just going to have to try in a few minutes. I'm just trying to save the hassle of rebuilding the kernels in both distro's. I used some of the settings from the .config file in Arch to remove stuff from my kernel I run on Ubuntu (They have way too much debugging on by default, but the aim of that distro is different so I do understand.) I'll report back!

Offline

#4 2011-12-10 21:42:44

Gusar
Member
Registered: 2009-08-25
Posts: 3,606

Re: Using custom compiled kernel from Ubuntu

Copying over just the bzImage is not enough, you also need to copy the modules dir from /lib/modules. Hope you really know what you're doing though, and know exactly how to use mkinitcpio and how to configure grub. If you configure everything correctly, it'll work.

Offline

#5 2011-12-10 21:55:47

xyzzyman
Member
Registered: 2011-12-10
Posts: 3

Re: Using custom compiled kernel from Ubuntu

Actually that part I did know, because I rarely use bluetooth so those drivers are modules and not compiled in. I may just wind up recompiling whenever. I'm currently chrooted into arch still working on something else.

EDIT: It works, but it makes my arch boot time worse and it freaked out at first 'cuz I sometimes use virtualbox to boot the install on the HD install itself with a raw vmdk pointing that partition which uses a virtualbox video driver instead of nvidia's binary . I'll just have to compile my own kernel on the arch side.

Last edited by xyzzyman (2011-12-12 05:01:02)

Offline

Board footer

Powered by FluxBB