nongiach / arm_now

arm_now is a qemu powered tool that allows instant setup of virtual machines on arm cpu, mips, powerpc, nios2, x86 and more, for reverse, exploit, fuzzing and programming purpose.
https://github.com/nongiach/arm_now/wiki
MIT License
867 stars 87 forks source link

Augmenter la taille du system #5

Closed Areizen closed 6 years ago

Areizen commented 6 years ago

pour info quand tu resize faut balancer ça dans la qemu pour resize le system : "opkg install resize2fs;resize2fs /dev/mmcblk0 &> /dev/null"

nongiach commented 6 years ago

Merci

nongiach commented 6 years ago

Salut Areizen,

j'ai fait quelques mises à jour et corrigé ce problème sur la branche dev. Teste un peu et dis moi si tu trouves des erreurs :)

$ sudo pip3 uninstall arm_now
$ sudo pip3 install https://github.com/nongiach/arm_now/archive/dev.zip --upgrade
$ arm_now
Usage:
  arm_now list [--all]
  arm_now start [<arch>] [--clean] [--sync] [--offline] [--redir=<port>]...
  arm_now clean
  arm_now resize <new_size> [--correct]
  arm_now install [<arch>] [--clean]
  arm_now -h | --help
  arm_now --version
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Commands:
  list          List all available images for all cpu.
  start         Start a vm with a <arch> cpu. (default: armv5-eabi)
  resize        Resize the current rootfs. (example: resize 1G)
  clean         Delete the current rootfs.
  install       Install and config a rootfs for the given <arch>. (default: armv5-eabi)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Options:
  --sync                        Synchronize the current directory with the vm home.
  --redir protocol:host::guest  Redirect the host port to the guest (example: --redir tcp:8000::80)
  --clean                       Clean the current image before starting.
  --offline                     Start with zero internet request.
  --correct                     Correct the filesystem.
  -h --help                     Show this screen.
  --version                     Show version.
nongiach commented 6 years ago

image

nongiach commented 6 years ago

Salut, j'ai poussé la chose sur la branche master, je ferme l'issue. Petite surprise ici => https://github.com/nongiach/arm_now/wiki/4.1-Q&A-and-incoming-features Merci