This is a discussion on 2.6 -> 2.4 within the Gentoo Linux Support forums, part of the Unix Operating Systems category; --> Hi, I'm using Gentoo running a 2.6 Kernel and everything is running fine!! However I want to use an ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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. The funny thing is that it will still boot but can't load some of the modules, for sound for example. Ext2 is enabled (not module) in the kernel options and its reading the disc because I can see /dev/hda5 (reiserfs- root file system). Also, when the problem came up, the kernel gave me the option to debug, so I did, looked at the /boot directory, which doesn't have the /dev/hda1 mounted on it, has an entry pointing to itself, which is NOT '.'. Hmm.... Any thoughts.... I don't really know where to look!! Also, by the by, when i boot up Knoppix, the dhcp deamon is 'backgrounded' on bootup, how do i do this on Gentoo, cos its taking ages to start up my laptop when the network is not plugged in!! Regards Mike |
| |||
| 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 |
| |||
| 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. |
| |||
| 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). |
| ||||
| On Mon, 10 Oct 2005 20:57:39 -0400, ken wrote: > ken wrote: > OOPS, one more thing. Make sure you install hotplug and coldplug. It makes > udev work much better. (especially with usb). But the OP is going from 2.6 back down to 2.4 (because there is no open-mosix patched 2.6), not the other way around. |