Arietta G25/Image erstellen

Aus FabLab Nürnberg Wiki
Wechseln zu: Navigation, Suche
root@workstation:~# dd if=/dev/zero of=arietta.img bs=1024 count=1900000

root@workstation:~# modprobe loop

root@workstation:~# losetup /dev/loop0 arietta.img

root@workstation:~# gparted /dev/loop0

root@workstation:~# mount /dev/loop0p1 /mnt

root@workstation:~# tar -xvjpSf kernel.tar.bz2 -C /mnt

root@workstation:~# umount /mnt

root@workstation:~# mount /dev/loop0p2 /mnt

root@workstation:~# tar -xvjpSf rootfs.tar.bz2 -C /mnt

root@workstation:~# umount /mnt