Displaying 1 result from an estimated 1 matches for "rootfsfold".
Did you mean:
rootfsfile
2011 Mar 11
1
run-init in tmpfs
...ollowing:
The PXE client boots the kernel (2.6.38-rc6) successfully and a shell
within the initrd is spawned in the "early user space".
After that I type the following:
ifconfig eth0 ip-address
mkdir /mnt
mkdir /newroot
mount -t tmpfs none /newroot
mount -t nfs ip-address_of_nfs_server:/rootfsfolder /mnt -o nolock -n
cd /newroot
cpio -i < /mnt/rootfs.cpio.archive
umount /mnt
Now the whole future rootfs lies under /newroot.
Now I prepare the root switch via run-init:
mount -n -o /sys /newroot/sys
mount -n -o /dev /newroot/dev
mount -n -o /proc /newroot/proc
After that
cat /newroot/pr...