udev in initrd

Greg KH greg at kroah.com
Fri May 28 23:29:50 UTC 2004


On Fri, May 28, 2004 at 06:05:13PM +0200, Thomas Woerner wrote:
> 
> There are test packages in http://people.redhat.com/twoerner/UDEV/ for 
> using udev in initrd with persistent devices.

Sweet, thanks for posting this, I really appreciate it.

One small question:

> udev initrd - using busybox and ramfs
> -------------------------------------
> 1) mount /proc and /sys
> 2) mount /dev as ramfs
> 3) create initial devices (eg: console, null, zero, loopX) and links for std
>    files
> 4) start udev, use udevsend as hotplug

What do you do to "start udev"?  Run udevstart?

> 5) load modules (eg. controller, filesystem)
> 6) umount /sys
> 7) locate root device
> 8) mount system root on /sysroot
> 9) bind /dev to /sysroot [UDEV_KEEP_DEV="yes"]
> 10) change root to /sysroot and initrd to /sysroot/initrd
> 11) umount /initrd/proc
> 12) umount /initrd/dev [UDEV_KEEP_DEV="yes"]

Are you looking into making a initramfs instead of a initrd for the next
FC3 release?

thanks,

greg k-h





More information about the fedora-devel-list mailing list