Ben's notes

Linux, Unix, network, radio...

User Tools

Site Tools


qemu_kvm_tinycore_image

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
qemu_kvm_tinycore_image [2018/01/07 16:43] adminqemu_kvm_tinycore_image [2021/10/09 15:14] (current) – external edit 127.0.0.1
Line 3: Line 3:
 {{::qemu-tc.png?nolink|}} {{::qemu-tc.png?nolink|}}
  
-  * Download TinyCore Linux ISO:<code>curl -O https://mirrors.dotsrc.org/tinycorelinux/8.x/x86/release/TinyCore-8.2.1.iso</code.+  * Download the TinyCore Linux ISO:<code>curl -O https://mirrors.dotsrc.org/tinycorelinux/8.x/x86/release/TinyCore-8.2.1.iso</code.
   * Create mount points<code>sudo mkdir -p /mnt/{image,iso}</code>   * Create mount points<code>sudo mkdir -p /mnt/{image,iso}</code>
   * Create disk image<code>qemu-img create -f raw tc.raw 64M</code>   * Create disk image<code>qemu-img create -f raw tc.raw 64M</code>
Line 16: Line 16:
 sudo mount /dev/mapper/loop0p1 /mnt/image sudo mount /dev/mapper/loop0p1 /mnt/image
 sudo mount -o loop TinyCore-8.2.1.iso /mnt/iso</code> sudo mount -o loop TinyCore-8.2.1.iso /mnt/iso</code>
-  * Create directories (grub2 on Fedora/RedHat)<code>sudo mkdir -p /mnt/image/{boot,tce,tce/optional}</code>+  * Create directories <code>sudo mkdir -p /mnt/image/{boot,tce,tce/optional}</code>
   * Copy TinyCore to disk image<code>   * Copy TinyCore to disk image<code>
 sudo cp /mnt/iso/boot/core.gz /mnt/image/boot/ sudo cp /mnt/iso/boot/core.gz /mnt/image/boot/
qemu_kvm_tinycore_image.1515343429.txt.gz · Last modified: 2018/01/07 16:43 by admin