qemu-system-arm: -redir: invalid option

 

 

 

https://azeria-labs.com/emulate-raspberry-pi-with-qemu/

 

 

$ qemu-system-arm -kernel ~/qemu_vms/<your-kernel-qemu> -cpu arm1176 -m 256 -M versatilepb
 -serial stdio -append "root=/dev/sda2 rootfstype=ext4 rw"
-hda ~/qemu_vms/<your-jessie-image.img> -redir tcp:5022::22 -no-reboot
 
Cambiar  -redir tcp:5022::22 por: -nic user,hostfwd=tcp::5022-:22
 
root@torre:/home/lolo/qemu_vms# qemu-system-arm -kernel kernel-qemu-4.4.34-jessie  -cpu arm1176 -m 256 -M versatilepb -serial stdio -append "root=/dev/sda2 rootfstype=ext4 rw" -hda 2017-04-10-raspbian-jessie.img -nic user,hostfwd=tcp::5022-:22  -no-reboot
WARNING: Image format was not specified for '2017-04-10-raspbian-jessie.img' and probing guessed raw.
Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted.
Specify the 'raw' format explicitly to remove the restrictions.
Uncompressing Linux... done, booting the kernel.
 
no realizar el umount. 

Entradas populares