User Tools

Site Tools


sparky_armhf_qemu

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
sparky_armhf_qemu [2017/10/23 21:54]
pavroo created
sparky_armhf_qemu [2021/05/04 15:24] (current)
Line 1: Line 1:
-===== Sparky ARMHF emulated in QEMU =====+===== Sparky ARMHF Emulated in QEMU =====
  
 Sparky ARM edition can be tested inside the QEMU emulator. Sparky ARM edition can be tested inside the QEMU emulator.
Line 21: Line 21:
 Unzip it: Unzip it:
  
-  unzip image_YYYY-MM-DD-sparkylinux-VER-armhf.zip+  unzip sparkylinux-VER-armhf.zip
  
-or+or (Lite version):
  
-  unzip image_YYYY-MM-DD-sparkylinux-VER-armhf-lite.zip+  unzip sparkylinux-VER-armhf-cli.zip
  
 == Kernel == == Kernel ==
Line 40: Line 40:
   -kernel ./kernel-qemu-4.4.34-jessie \   -kernel ./kernel-qemu-4.4.34-jessie \
   -append "root=/dev/sda2 panic=1 rootfstype=ext4 rw" \   -append "root=/dev/sda2 panic=1 rootfstype=ext4 rw" \
-  -hda YYYY-MM-DD-sparkylinux-VER-armhf.img \+  -hda sparkylinux-VER-armhf.img \
   -cpu arm1176 -m 256 \   -cpu arm1176 -m 256 \
   -M versatilepb \   -M versatilepb \
Line 53: Line 53:
   -kernel ./kernel-qemu-4.4.34-jessie \   -kernel ./kernel-qemu-4.4.34-jessie \
   -append "root=/dev/sda2 panic=1 rootfstype=ext4 rw" \   -append "root=/dev/sda2 panic=1 rootfstype=ext4 rw" \
-  -hda YYYY-MM-DD-sparkylinux-VER-armhf-lite.img \+  -hda sparkylinux-VER-armhf-cli.img \
   -cpu arm1176 -m 256 \   -cpu arm1176 -m 256 \
   -M versatilepb \   -M versatilepb \
Line 63: Line 63:
 A more efficient option is to convert this to a qcow2 image first. Use the qemu-img command to do this (optional): A more efficient option is to convert this to a qcow2 image first. Use the qemu-img command to do this (optional):
  
-  qemu-img convert -f raw -O qcow2 YYYY-MM-DD-sparkylinux-VER-armhf.img YYYY-MM-DD-sparkylinux-VER-armhf.qcow+  qemu-img convert -f raw -O qcow2 sparkylinux-VER-armhf.img sparkylinux-VER-armhf.qcow
  
 Now you can also easily expand the image (optional): Now you can also easily expand the image (optional):
  
-  qemu-img resize YYYY-MM-DD-sparkylinux-VER-armhf.qcow +6G+  qemu-img resize sparkylinux-VER-armhf.qcow +6G
  
 {{:sparky4-armhf-uxterm.png?400|Sparky ARMHF in QEMU with Openbox and UXterm}} {{:sparky4-armhf-uxterm.png?400|Sparky ARMHF in QEMU with Openbox and UXterm}}
  
 +<WRAP center box 100%>
 +|[[sparky_arm|<--- ARM Edition]]  |  [[start|^ WIKI Start Page ^]]  |  [[sparky_armhf_virtmanager|ARMHF Managed via Virt-Manager --->]]|
 +</WRAP>
sparky_armhf_qemu.1508788495.txt.gz ยท Last modified: 2021/05/04 15:25 (external edit)