码迷,mamicode.com
首页 > 其他好文 > 详细

dd 命令指定写入多分区镜像

时间:2018-03-29 02:11:13      阅读:181      评论:0      收藏:0      [点我收藏+]

标签:分区   raspbian   命令   写入   利用   asp   down   mnt   disk   

查看镜像分区情况:

my@host:/mnt/down $ fdisk -l 2018-03-13-raspbian-stretch-lite.img

2018-03-13-raspbian-stretch-lite.img1 8192 93802 85611 41.8M c W95 FAT32 (LBA)
2018-03-13-raspbian-stretch-lite.img2 98304 3629055 3530752 1.7G 83 Linux

利用 dd 命令 skip 跳过指定块写入到目标分区:

sudo dd if=2018-03-13-raspbian-stretch-lite.img of=/dev/sda2 bs=1M skip=48

 

dd 命令指定写入多分区镜像

标签:分区   raspbian   命令   写入   利用   asp   down   mnt   disk   

原文地址:https://www.cnblogs.com/neters/p/8667270.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!