#!/bin/sh
echo "Salut !"
mount -t proc proc /proc -o nosuid,noexec,nodev
mount -t sysfs sys /sys -o nosuid,noexec,nodev
mount -t devtmpfs dev /dev -o mode=0755,nosuid
mount -t tmpfs run /run -o nosuid,nodev,mode=0755
mkdir /tmp/mp
ntfs-3g /dev/sdb1 /tmp/mp
#kexec -l /bzImage --reuse-cmdline
kexec -d -l /vm  --command-line="console=ttymxc2,115200 init=/init root=/dev/sda1 rw rootfstype=ext2  reset_devices"
#kexec -e
#./app -l
sh
