daily pastebin goal
92%
SHARE
TWEET

modificate Z.E.S. Image

tolikpunkoff Dec 15th, 2017 78 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2.  
  3. IMGPATH="./mbootdisk.img"
  4. RDPATH="./ramdisk/"
  5. LDRKRNL="./ldrkrnl/ldrkrnl.img"
  6. RDNAME="ramdisk"
  7. RDMP="/mnt/ramzes"
  8.  
  9. echo "Umount RAMDISK"
  10. umount $RDMP
  11.  
  12. echo "Packing RAMDISK"
  13. cd $RDPATH
  14. gzip -9 $RDNAME
  15. cd ..
  16.  
  17. echo "Make bootdisk"
  18. cat $LDRKRNL $RDPATH$RDNAME".gz" >$IMGPATH
  19. echo "Complete!"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top