Difference between revisions of "Cutom tinycore"
From RobotinoWiki
Line 12: | Line 12: | ||
sudo mount TinyCore-current.iso /media/cdrom | sudo mount TinyCore-current.iso /media/cdrom | ||
+ | sudo fdisk /dev/nbd0 | ||
+ | n | ||
+ | p | ||
+ | 1 | ||
+ | enter | ||
+ | enter | ||
+ | p | ||
+ | w | ||
+ | |||
+ | sudo mkfs.ext2 /dev/nbd0p1 | ||
</pre> | </pre> |
Revision as of 10:32, 21 September 2021
mkdir tinycore cd tinycore wget http://tinycorelinux.net/12.x/x86/release/TinyCore-current.iso qemu-img create -f qcow2 core-image.img 64M sudo modprobe nbd max_part=8 sudo qemu-nbd -c /dev/nbd0 core-image.img sudo mkdir /media/cdrom sudo mount TinyCore-current.iso /media/cdrom sudo fdisk /dev/nbd0 n p 1 enter enter p w sudo mkfs.ext2 /dev/nbd0p1