...
Panel |
---|
$ dd if=/dev/zero of=rpi-hd.img bs=1048576 count=64 <ENTER>
64+0 Datensätze ein
64+0 Datensätze aus
67108864 Bytes (67 MB) kopiert, 0,93694 s, 71,6 MB/s
$
|
Dann müssen wir eine Partition anlegen. Dies kann man z.B. via fdisk
erledigen:
...
Panel |
---|
$ sudo mkfs -t vfat /dev/loop0p1 <ENTER> mkfs.fat 3.0.26 (2014-03-07) unable to get drive geometry, using default 255/63 $ mkdir rpi <ENTER>
$ sudo mount /dev/loop0p1 rpi <ENTER>
$ sudo cp -a config/build/{rc.cfg,kernel,ro<ENTER>otfsrootfs.img,opt.img} rpi/ <ENTER>
$ sudo umount rpi <ENTER> $
|
...
Panel |
---|
$ qemu-system-arm -kernel kernel-qemu -cpu arm1176 -m 256 -M versatilepb -no-reboot -serial stdio -append "console=ttyAMA0,115200 console=tty1 panic=1 load_ramdisk=1" \ -initrd config/build/rootfs.img -hda rpi-hd.img -netdev bridge,id=net0,br=br0 -net nic,netdev=net0 <ENTER>
Uncompressing Linux... done, booting the kernel. Booting Linux on physical CPU 0x0 Linux version 3.10.26+ (shift@Shift-PC) (gcc version 4.7.3 (Gentoo 4.7.3-r1 p1.4, pie-0.5.5) ) #2 Fri Jan 17 22:13:59 EST 2014 CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d CPU: VIPT aliasing data cache, unknown instruction cache Machine: ARM-Versatile PB [...]
|
Fertig!
Screenshots
Image ModifiedImage Modified
Image Added
Image Added
Image Added
Anhang A: Gentoo-Netzwerk-Konfiguration
...