Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- IMAGE="winpe-test.img"
- echo "Open WinPE"
- losetup /dev/loop0 $IMAGE
- MSG=`kpartx -av /dev/loop0`
- DEV=`echo $MSG | awk '{print $3}'`
- echo $DEV
- sleep 5
- mount -t vfat /dev/mapper/$DEV /mnt/dos
- echo "Complete"
- sleep 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement