Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


Sidebar

software:oowow:how-to:oowow-create-sd-dump-partition

OOWOW create dump partition

After writing oowow image to SD/USB disk, for example by next command gzip -dc BOARD-oowow-latest-sd.img.gz > /dev/sdX, the disk will have only 1st partition. After 1st bootup from this disk, 2nd partition will be created automatically by oowow. But in some cases if we need created it before 1st usage, we can create-2nd-dumps-partition-manually

Create 2nd dumps partition manually

For some cases we need create 2nd partition before start oowow, for example automation restore images etc …

create-2nd-part-example.sh
# copy original parts
sdfisk --dump /dev/sdX | tee /tmp/oowow.parts 
 
# add dump partition
echo start=131072, type=7 | sfdisk --force -a /dev/sdX
 
# format 2s part as exfat 
mkfs.exfat -n dumps /dev/sdX2
Last modified: 2023/08/26 23:11 by hyphop