Created
September 10, 2017 05:29
-
-
Save zhuowei/7e7d447e7d43609c0b8f87659ec3a4e5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set -e | |
mkdir pmOS_boot pmOS_root || true | |
umount pmOS_boot || true | |
umount pmOS_root || true | |
kpartx -as /media/zhuowei/redhd/docs/pmbootstrap/chroot_native/home/user/rootfs/huawei-angler.img | |
mount `findfs LABEL="pmOS_boot"` pmOS_boot | |
mount `findfs LABEL="pmOS_root"` pmOS_root | |
service nfs-kernel-server restart |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/media/zhuowei/redhd/docs/nfspmroot/pmOS_boot 172.16.42.1(rw,sync,no_root_squash) | |
/media/zhuowei/redhd/docs/nfspmroot/pmOS_root 172.16.42.1(rw,sync,no_root_squash) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment