Skip to content
This repository has been archived by the owner on Dec 28, 2020. It is now read-only.

Commit

Permalink
add Notebook.
Browse files Browse the repository at this point in the history
  • Loading branch information
jjm2473 committed Mar 24, 2019
1 parent 4c067ab commit c955ee5
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Note
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@

decompress:
gunzip -k openwrt-sunxi-cortexa53-sun50i-a64-sopine-baseboard-squashfs-sdcard.img.gz

find the begining of root fs:
fdisk openwrt-sunxi-cortexa53-sun50i-a64-sopine-baseboard-squashfs-sdcard.img | grep Linux
2: 83 178 3 12 - 211 1 13 [ 45056 - 524288] Linux files*

dump root fs:
dd if=openwrt-sunxi-cortexa53-sun50i-a64-sopine-baseboard-squashfs-sdcard.img of=openwrt-sunxi-cortexa53-sun50i-a64-sopine-baseboard-root-squashfs.img ibs=1 skip=$((45056*512))

mount root fs:
mount -t squashfs openwrt-sunxi-cortexa53-sun50i-a64-sopine-baseboard-root-squashfs.img /mnt/sunxi

OR in Macos

squashfuse openwrt-sunxi-cortexa53-sun50i-a64-sopine-baseboard-root-squashfs.img /mnt/sunxi

0 comments on commit c955ee5

Please sign in to comment.