$apt-get install qemu
URL : https://people.debian.org/~aurel32/qemu/mipsel/
해당 URL에서 kernel과 image를 다운 받는다.
$wget https://people.debian.org/~aurel32/qemu/mipsel/debian_squeeze_mipsel_standard.qcow2
$wget https://people.debian.org/~aurel32/qemu/mipsel/vmlinux-2.6.32-5-5kc-malta
$qemu-system-mipsel -M malta -kernel vmlinux-2.6.32-5-5kc-malta -hda debian_squeeze_mipsel_standard.qcow2 -append \"root=/dev/sda1 console=tty0\" -nographic -redir tcp:4444::22
실행 후, ssh 접속하고 apt-get 이 옳바르게 되지 않는다.
gcc gdb 설치해야.. 공부를 진행하느데.
$nano /etc/sources.list
# deb http://ftp.debian.org/debian squeeze main
#deb http://ftp.debian.org/debian squeeze main
#deb-src http://ftp.debian.org/debian squeeze main
#deb http://security.debian.org/ squeeze/updates main
#deb-src http://security.debian.org/ squeeze/updates main
# squeeze-updates, previously known as 'volatile'
#deb http://ftp.debian.org/debian squeeze-updates main
#deb-src http://ftp.debian.org/debian squeeze-updates main
deb http://archive.debian.org/debian/ squeeze main non-free contrib
apt-get install package로 설치가 가능하다.
root@debian-mipsel:/etc/apt# gdb -v
GNU gdb (GDB) 7.0.1-debian
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "mipsel-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
'기타[etc]' 카테고리의 다른 글
C언어 정규식 (0) | 2017.05.11 |
---|---|
python idle 컬러 수정 (0) | 2017.03.30 |
Makefile (0) | 2017.03.27 |
Daemon 만들기 (0) | 2017.03.27 |
Android Forensic [/Data 추출] (0) | 2017.03.24 |