![]() sdcard.imgĭevice Boot Start End Sectors Size Id Type ![]() ![]() sdcard.img <<-_EOF_Įxample, output: sudo fdisk -l. I/O size (minimum/optimal): 512 bytes / 512 bytesĪt this point, if need to dd data directly to the sdcard.img, you can otherwise, use the disk tools to create the partition table:įor example, to create a ext file system with a 1MB offset: sudo sfdisk. Sector size (logical/physical): 512 bytes / 512 bytes In this case use 2G for a 2GB sdcard.img: fallocate -l 2G sdcard.imgĭouble check sdcard.img file with fdisk: sudo fdisk -l. ![]() To create an initial 2GB sdcard.img file, use fallocate, you can use the -l operator for lenghth.
0 Comments
Leave a Reply. |