Thread: 2.6 -> 2.4
View Single Post

   
  #4 (permalink)  
Old 02-21-2008, 11:35 AM
ken
 
Posts: n/a
Default Re: 2.6 -> 2.4

ken wrote:

> m.s.w wrote:
>
>> Michael wrote:
>>> Hi,
>>> I'm using Gentoo running a 2.6 Kernel and everything is running fine!!
>>> However I want to use an open-mosix patched kernel so i emerged it and
>>> tryed to build it. I compile my kernel, load it into lilo and it is
>>> unable to mount hda1 (/boot) which is ext2, it throws an error whilst
>>> booting about e2fsck being unable to see the super block.

>>
>> I am not sure, but I think that switching from 2.6.X to 2.4 must be done
>> by changing the profile from
>>
>> /etc/make.profile -> ../usr/portage/profiles/default-linux/x86/2005.0
>> or whatever it points to, to a 2.4 profile like
>>
>> /etc/make.profile ->
>> ../usr/portage/profiles/default-linux/x86/2005.0/2.4
>>
>> But what other steps (if any) it is necessery to perform I don't know.
>>
>> Good luck,
>> m.s.w

> You must upgrade your profile by switching the symlink, or you won't be
> able
> to emerge the 2.6 kernel sources. The profile switch is ONLY a portage
> thing, making the switch won't break your system by itself.
>
> Once you switch profiles you should emerge -uD system which hopefully will
> get you the needed udev utilites. Then emerge -uD gentoo-sources to get
> the
> 2.6 kernel source. Now configure your kernel, build and install it as you
> did for 2.4. Make sure you select the udev support and leave out the
> devfs
> support! Also make sure you build all the module drivers for all your hw
> (as you did for 2.4). That should do it. Actually installing Gentoo from
> scratch with a 2.6 kernel wasn't any different than with the 2.4 kernel,
> the
> only thing that was different was that udev-vs-devfs thing. And the
> default udev rules config file is just fine, no need to configure anything
> yourself for udev ... unless you want to do something fancy like make a
> custom mount auto mount point for your iPod.

OOPS, one more thing. Make sure you install hotplug and coldplug. It makes
udev work much better. (especially with usb).
Reply With Quote