+ Andrey Kartashov <[EMAIL PROTECTED]> [30/01/04 18:26]: > On Thu, Jan 29, 2004 at 11:49:52PM +0200, Moshe Kaminsky wrote: > > Hi, > > > > I still can't boot into my new gentoo system. I tried several kernels, > > and several configurations, but I still have the same problem: at the > > end of the execution of /linuxrc, the machine reboots. > > Though I get some error messages about /linuxrc not finding "test", I > > don't think that's the problem. It seems the machine reboots after doing > > "exec /sbin/init". I tried running /sbin/init from the shell (which I > > can enter if I don't specify the real_root argument), and it said it > > can't write channel /dev/initctl (or something similar). I don't know > > what else to try. > > Someone else on this list had boot problems because his /usr was on a different > partition. I also couldn't get 'initrd' stuff to work with gentoo, so I just compiled > the necessary modules into kernel and that fixed it.
That was precisely my situation. I wasn't aware that /usr is needed in these early stages of the boot. Compiling them into the kernel didn't help genkernel, but I then compiled manually and finally it worked. I later also managed to use genkernel - I changed the linuxrc script according to the documentation in the linux sources, and it worked (I did two things actually: removed the 'umount /dev' in the final stage, and uncommented the chroot line in the very end of the script. Strange this didn't happen to other people; unless someone can explain this, I'm going to submit a bug report). Anyway, thanks alot! Moshe PS: Is there any advantage to the initrd method (other than having this nice bootsplash)? > You may want to try to do the same thing. When you boot from the gentoo 'live' CD, > do lsmod to get the list of modules your system is using. You only need to compile > in the support for your filesystem and and SCSI if you have it. It's not hard and > IMHO simplifies this problem greatly. > > In my case I ran genkernel with 'menuconfig' option, changed reiserfs, SCSI and > driver for my SCSI card from 'module' to 'built-in' and it did the trick. > > > -- > - Andrey > > > ~ In theory, practice and theory are the same, > but in practice they are different (Larry McVoy) ~ > > > > -- > [EMAIL PROTECTED] mailing list >
pgp00000.pgp
Description: PGP signature
