[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: udev in initrd



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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]