I just wanted to report, how far I got and what problems I run into.
After adding some default /dev/ entries (especially console!) I managed
to boot into my system, but something went wild. To make a long story
short, if you want to mount into initramfs, you have to set correct
values for rootfs in fstab! In my case it looks like this:
# <fs> <mountpoint> <type> <opts> <dump/pass>
/ / tmpfs noauto,noatime 0 0
Without noauto /etc/init.d/localmount will try to "remount" rootfs,
because it runs "mount -a". This results somehow in broken links, if
they point to a target, which has to be reached over "/", for example:
in /sbin is getty, which points to ../bin/busybox . To reach busybox,
you have to go over "/", which does not work with the broken remount of
rootfs! This breaks also the whole runlevel stuff, because files frim
/lib/.. try to use /etc/init.d/functions.sh .
After my first boot I realized that I had to create some dirs manually:
/proc, /sys and (of course) /root. Without /proc and /sys already in my
root file system, there were some error messages. I d'ont know, if it
would make sense to integrate these dirs (and perhaps /root) in
For device file creation I use the mdev script from Natanael's
alpine-baselayout (thanks for this!). I added the option, that it should
be started before every other script in boot to have all device files
ready. As far as I know, udev is done in sysinit of system. Perhaps rc
could look for mdev, if udev is not used?
Then there are some problems with certain boot scripts and busybox:
clock: There is the following message:
/sbin/hwclock: unrecognized option '--noadjfile'
-> busybox problem or other configuration of clock is required.
localmount: there is just thise message:
I don't know, where this comes from. Further investigation is required.
keymap and consolefont:
/lib/rcscripts/sh/runscript.sh: line 91:kbd_mode: not found
/bin/loadkeys not found
OK, missing kbd. Is it possible to set keymap in kernel? Or do I need
kbd? It brings in a lot of files (keymaps and consolefonts), which I do
not need! Can I just copy the required files from my uclibc-stage to the
net.eth0: I want to use udhcpc from busybox (set modules="udhcpc" in
net), but I get the following error:
/sbin/udhcpc: unrecognized option '--env'
-> busybox problem or other configuration of net is required.
If I set manually IP, I can use dropbear, but I have some problems with it:
1.) login: password of root is not recognized. Could be connected to
problem with keymap?
2.) Cannot use scp, because it is not there. How do I configure dropbear
to get scp? Or which would be even better support shfs? I looked into
the config file, but I'm not used to c config files. Can somebody give
me some advice?
OK, so far so good. System boots really fast! Only slow bios sucks.
Linux boots faster then bios needs to display grub.
When everything runs fine, I will add vdr stuff. The problem is, I will
not come around using X, because I need some hardware support for
watching mpeg2 stuff, which is only supported in X (at least at tv-out).
email@example.com mailing list