Partition Layout Notes

From odroid US
Jump to: navigation, search

Random collected notes:

Low-level setup of SD Card, cribbed from Use your SD-Card device designator instead of sdX -- this can wreck your system if you get it wrong.

    parted /dev/sdX --script -- mklabel msdos
    parted /dev/sdX --script -- mkpart primary fat32 4096s 266239s
    parted /dev/sdX --script -- mkpart primary ext4 266240s 100%
    mkfs.vfat /dev/sdX1
    mkfs.ext4 -L sdroot /dev/sdX2