embeded/raspberry pi2021. 11. 20. 23:18

mount offset 기능을 이용해서 계산해 적당히 붙이면 된다고..

# fdisk -l whatever.img
Device         Boot     Start       End  Blocks  Id System
whatever.img1            8192    122879   57344   c W95 FAT32 (LBA)
whatever.img2          122880   5785599 2831360  83 Linux

# mount -v -o offset=4194304 -t vfat whatever.img /mnt/img/one
# mount -v -o offset=62914560 -t ext4 whatever.img /mnt/img/two

[링크 : https://raspberrypi.stackexchange.com/questions/13137/how-can-i-mount-a-raspberry-pi-linux-distro-image]

'embeded > raspberry pi' 카테고리의 다른 글

wayland on rpi  (0) 2021.11.22
rpi 3b 2초 부팅 fs  (0) 2021.11.20
rpi 3b 2초 부팅 이미지 테스트  (0) 2021.11.17
라즈베리 피코 USB HID 키코드  (0) 2021.11.16
라즈베리 파이 피코 한글 키 입력?  (0) 2021.11.16
Posted by 구차니