Hi there
I know that this is an OT, but there will be people who knows it ...

I have system with 2.4.21 kernel (specific patches from hardware developer) 
and i can not choose other kernel at the time.

at initrd disk is /dev directory with some statical node files, but kernel 
appends some nodes while booting.

After boot linuxrc script is executed

#!/bin/sh
echo "Mounting /proc"
mount -t proc none /proc
echo "Installing usb storage related modules"
insmod sh7760-usb
insmod scsi_mod
insmod usb-storage
insmod sd_mod
echo "mounting new root filesystem"
mount /dev/scsi/host0/bus0/target0/lun0/part1 /mnt
cd /mnt
echo "going into new root filesystem"
/sbin/pivot_root . mnt/old_root
exec /sbin/chroot . sh -c 'umount mnt/old_root; exec /sbin/init'

but in the new root filesystem is /dev directory too, but without the nodes 
appended by kernel.

How to do it as simple as possible to have former dev in new root filesystem?

Thank you very much.
Jakub Ladman
-- 
[email protected] mailing list

Reply via email to