View previous topic :: View next topic |
Author |
Message |
itti n00b
Joined: 30 Jun 2004 Posts: 40
|
Posted: Sun Jul 04, 2004 7:09 pm Post subject: kernel boot problem... |
|
|
hi,
i´m writing this thread because nobody seems to look into my other thread about my problems. ok. i have an alpha xl 266 which cannot run SRM. so i´m using milo. i installed gentoo 2004.0 of the livecd from stage1 on. i had to use the stage1-tarballs for 1.4rc1 and 2004.0 together because 2004.0 doesn´t include /dev.
ok i ran through all the installation instructions and build a kernel from "alpha sources". was that right or should i use vanilla or something? it did NOT use genkernel. instead i configured the kernel via menconfig. ok. my root is reiserfs. now when i boot with milo
Code: | boot sda2:/boot/vmlinux root=/dev/sdb1 |
the kernel boots. but after a few seconds it throws me to a prompt saying "init-2.05b". looks like some kind of shell. i noticed that at this point my root is mountet read-only. nothing more happens. when i try to run /sbin/rc it only says that root is read-only and quits.
so my question is: why does this happen? what can i do? is there an kerneloption to state that root should be mountet rw? my fstab is correct from what i see. at least there´s no "ro". please help me with this. i think that´s not an alpha related problem.
[edit]ok to make it clearer. the kernel seems to get loaded but right after it says "freeing unused kernel memory" and "mountet devfs" the thing stops. throwing me at some sort of prompt. normally it has to say something like "init v.x booting"... but it doesn´t. what can be the reason for this?[/edit] |
|
Back to top |
|
|
mernisse n00b
Joined: 26 Jun 2004 Posts: 19
|
Posted: Wed Jul 07, 2004 8:39 pm Post subject: |
|
|
This sounds like what happens when you pass init=/bin/sh to the kernel. You might want to check to see if /bin/init is a valid binary and isn't a symlink to something else....
you can get into your root partition by typing mount -o remount,rw /
(edit)note: you WANT your root partition to be mounted readonly, the rc-scripts depend on that so they can run checks on the fs before it brings up multi-user modem...if you mount your root rw at boot, and the RC scripts execute it will complain very loudly. |
|
Back to top |
|
|
itti n00b
Joined: 30 Jun 2004 Posts: 40
|
Posted: Thu Jul 08, 2004 11:18 am Post subject: |
|
|
AH there we have it. no init present. neither in /bin nor in /sbin... where should init be created. does it come with the stage1 tarball or is it compiled somewhere?... i checked this by booting with the live cd. i will check again by booting from harddisk now... |
|
Back to top |
|
|
mernisse n00b
Joined: 26 Jun 2004 Posts: 19
|
Posted: Tue Jul 13, 2004 9:04 pm Post subject: |
|
|
itti wrote: | AH there we have it. no init present. neither in /bin nor in /sbin... where should init be created. does it come with the stage1 tarball or is it compiled somewhere?... i checked this by booting with the live cd. i will check again by booting from harddisk now... |
I believe it's usually in /bin, it should be in the stage1 tarball, the system isn't very useful w/o an init process.
check to see if there's a sysvinit package in portage and see if there is an ebuild for it, you might be able to get it on your system that way. |
|
Back to top |
|
|
|