Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- IMGPATH="./mbootdisk.img"
- RDPATH="./ramdisk/"
- LDRKRNL="./ldrkrnl/ldrkrnl.img"
- RDNAME="ramdisk"
- RDMP="/mnt/ramzes"
- echo "Umount RAMDISK"
- umount $RDMP
- echo "Packing RAMDISK"
- cd $RDPATH
- gzip -9 $RDNAME
- cd ..
- echo "Make bootdisk"
- cat $LDRKRNL $RDPATH$RDNAME".gz" >$IMGPATH
- echo "Complete!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement