On Fri, 2007-09-28 at 23:10 +0800, Siong-Ui Te wrote:
> I am trying to build a initramfs image which contains normal root
> filesystem,
> and successfully compile baselayout and related packages into the
> initamfs image.
> After kernel finishes initilizing and recognize the initramfs as root
> filesystem, 
> the initscripts, however, complain that root filesystem cannot be
> found while checking rootfs.
> This is true since I use initramfs as my root filesystem and no real
> root filesystem has been mounted.
> I don't want to use baselayout-lite since udev depends on baselayout,
> not the lite version. 
> 
> Does anybody know how to resolve this issue? Thanks in advance.

I am using my own baselayout, alpine-baselayout.

It will look for alpine_base variable on kernel cmdline and extract it
on a new_root tmpfs. Finally it executes switch_root to clean up the
initramfs.

alpine-buildroot also have a (more or less) gentoo compatible runscript
so almost all gentoo init.d scripts works out of the box, but uses
busybox for everything. No gawk, bash, gnu sed/grep needed.

rsync://rsync.alpinelinux.org/alpine-portage/sys-apps/alpine-baselayout

oh, i also use busybox mdev, not udev.


-nc

-- 
[EMAIL PROTECTED] mailing list

Reply via email to