OK, here is what I did and have in detail:
I followed the Instruction for gentoo amd64 in german (although they aren't explain the configuration of the baselayout 2 - for example there is mentioned to configure /etc/conf.d/clock not /etc/conf.d/hwclock). I configured my kernel by myself and installed syslog-ng, logrotate and mlocate. Afterwards I installed and configured grub. My grub gentoo entry is the following:
Code:
root (hd0,7)
/boot/kernel-2.6.38-gentoo-r6 root=/dev/sda8
Booting with this entry ends with the following message (I type in the last few lines):
Code:
kjournald starting. commit interval 5 seconds
EXT3-fs (sda8): mounted filesystem with writeback data mode
VFS: Mounted root (ext3 filesystem) readonly on device 8:8.
Freeing unused kernel memory: 624 k freed
Write protecting the kernel read-only data: 8192k
Freeing unused kernel memory: 600k freed
Freeing unused kernel memory: 112k freed
init-early.sh used greatest stack depth: 3648 bytes left
that's all - the system stops
If I append init=/bin/bash at the boot menu the following additional messages appear:
Code:
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell
bash: /dev/null: Read-only file system
Then I have a prompt. Since the rootfs is read-only I mounted it read-write, deleted /etc/mtab and mounted the proc filesystem. The file /proc/mounts shows me the following:
Code:
rootfs / rootfs rw 0 0
/dev/root / ext3 rw,noatime,erors=continue,barrier=0,data=writeback 0 0
proc / proc proc rw,relatime
So, the rootfs is mounted. At least I can see the files I created during the installation process (stage3-file and portage-file)
I checked :
baselayout 2.0.2 is installed
openrc-0.8.2-r1 is installed
sysvinit-2.88-r1 is installed
executing dispatch-conf (as mentioned in Baselayout and OpenRC Migration Guide) shows
Code:
PORTAGE_BZIP2_COMMAND setting is invalid: 'bzip2'
PORTAGE_BZIP2-COMMAND setting from make.globals is invalid: 'bzip2'
but: bzip2 exists in /bin/bzip2 and the PATH also points to /bin
If I invoke shutdown -h now the following message appears:
Code:
shutdown: /dev/initctl: No such file or directory
init: /dev/initctl: No such file or directory
So I did mkfifo /dev/initctl (taken from
http://www.linuxquestions.org/questi...h-file-219080/)
and rebooted somehow - nothing changed: the system stops after the kernel booted...
Any Ideas?